Interface: QueryEngine
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
Name | Type |
---|---|
params | QueryEngineParamsStreaming |
Returns
Promise
<AsyncIterable
<Response
>>
Defined in
▸ query(params
): Promise
<Response
>
Parameters
Name | Type |
---|---|
params | QueryEngineParamsNonStreaming |
Returns
Promise
<Response
>