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
,any
,any
>>
Query the query engine and get a response.
Parameters
• params: QueryEngineParamsStreaming
Returns
Promise
<AsyncIterable
<EngineResponse
, any
, any
>>
Defined in
packages/llamaindex/src/types.ts:30
query(params)
query(
params
):Promise
<EngineResponse
>
Parameters
• params: QueryEngineParamsNonStreaming
Returns
Promise
<EngineResponse
>