Interface: IKbRetrievalOptions
Defined in: types.ts:390
The per-call overrides of the knowledge-base retrieval: how many chunks, and from which similarity on.
IGatewayAskInput.kbRetrieval; prepareCall hands the values to KbRetriever.retrieve, whose config holds the defaults.
Properties
k?
optionalk?:number
Defined in: types.ts:392
How many chunks at most, best first; the retriever's k (default 5) when omitted.
minScore?
optionalminScore?:number
Defined in: types.ts:394
The similarity below which a hit is dropped; the retriever's minScore (default 0.6) when omitted.