Interface: IQueryRewriterDeps
Defined in: internal/query-rewriter/types.ts:14
Shared instances QueryRewriter needs; created once by AIGateway and passed as the second constructor argument.
Properties
llmClient
llmClient:
ILLMClient
Defined in: internal/query-rewriter/types.ts:16
The cheap-model call.
promptTemplateStore
promptTemplateStore:
IPromptTemplateStore
Defined in: internal/query-rewriter/types.ts:18
Renders the KB_QUERY_REWRITE template.