Passa al contenuto principale

Interface: QueryEngine

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

Methods

query()

query(params)

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

Query the query engine and get a response.

Parameters

params: QueryEngineParamsStreaming

Returns

Promise<AsyncIterable <Response>>

Source

packages/core/src/types.ts:30

query(params)

query(params): Promise <Response>

Parameters

params: QueryEngineParamsNonStreaming

Returns

Promise <Response>

Source

packages/core/src/types.ts:31