Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/eidolon-resource/_shared/latest--MultiQuestionTransformer.json
Parent schema eidolon-resource
Type: object

Properties

implementation const: "MultiQuestionTransformer" required
Constant: "MultiQuestionTransformer"
keep_original boolean

Whether to keep the original question in the output

Default: true
number_to_generate integer

The number of questions to generate

Default: 3
prompt string

The prompt to be used for the question transformer. This should be a template where the user question is the field {{question}}

Default: "You are an AI language model assistant. Your task is to generate {{number_to_generate}} different versions of the given user question to retrieve relevant documents from a vector database. By generating multiple perspectives on the user question, your goal is to help the user overcome some of the limitations of distance-based similarity search. Provide these alternative questions separated by newlines. Original question: {{question}}"