メインコンテンツまでスキップ

Interface: BaseQueryEngine

A query engine is a question answerer that can use one or more steps.

Implemented by

Methods

query

query(params): Promise<AsyncIterable<Response>>

Query the query engine and get a response.

Parameters

NameType
paramsQueryEngineParamsStreaming

Returns

Promise<AsyncIterable<Response>>

Defined in

packages/core/src/types.ts:60

query(params): Promise<Response>

Parameters

NameType
paramsQueryEngineParamsNonStreaming

Returns

Promise<Response>

Defined in

packages/core/src/types.ts:61