Skip to main content

Description

An optional parameter that specifies how queries should be reformulated. Toggles the query expansion module on or off; when enabled, the user’s original query will be rewritten according to the instructions set out in the prompt, guided by any provided examples. If no prompt or examples are given, the default prompt is used.

Default Query Reformulation Prompt

The following illustrates a few shot examples of how queries should be reformulated based on the provided instructions.