Skip to main content

Interface: IQueryRewriterConfig

Defined in: internal/query-rewriter/types.ts:8

Configuration of the QueryRewriter. Lands in IAIGatewayConfig.queryRewriter.

Properties​

enabled​

enabled: boolean

Defined in: internal/query-rewriter/types.ts:10

The switch of the rewriting. Off: the prompt is searched as it is, the model is never called for it. No default: it is decided where the gateway is configured.