Ga naar hoofdinhoud

Interface: QueryEngine

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

Methods

query()

query(params)

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

Query the query engine and get a response.

Parameters

params: QueryEngineParamsStreaming

Returns

Promise<AsyncIterable <EngineResponse>>

Source

packages/llamaindex/src/types.ts:30

query(params)

query(params): Promise <EngineResponse>

Parameters

params: QueryEngineParamsNonStreaming

Returns

Promise <EngineResponse>

Source

packages/llamaindex/src/types.ts:33