{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/eidolon-resource/_shared/latest--MultiQuestionTransformer.json",
  "title": "MultiQuestionTransformer",
  "x-lintel": {
    "source": "https://www.eidolonai.com/json_schema/v1/schemas/QuestionTransformer/MultiQuestionTransformer.json",
    "sourceSha256": "14f789c318507e405a24793d533e31087057520babb4280c915d467dc5117d4c"
  },
  "type": "object",
  "properties": {
    "implementation": {
      "const": "MultiQuestionTransformer",
      "title": "Implementation"
    },
    "keep_original": {
      "default": true,
      "description": "Whether to keep the original question in the output",
      "title": "Keep Original",
      "type": "boolean"
    },
    "number_to_generate": {
      "default": 3,
      "description": "The number of questions to generate",
      "title": "Number To Generate",
      "type": "integer"
    },
    "prompt": {
      "default": "You are an AI language model assistant. Your task is to generate {{number_to_generate}} different versions of the given user \n    question to retrieve relevant documents from a vector  database. By generating multiple perspectives on the user question, \n    your goal is to help the user overcome some of the limitations of distance-based similarity search. Provide these alternative \n    questions separated by newlines. Original question: {{question}}",
      "description": "The prompt to be used for the question transformer. This should be a template where the user question is the field {{question}}",
      "title": "Prompt",
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": [
    "implementation"
  ],
  "reference_details": {
    "clz": "eidolon_ai_sdk.agent.retriever_agent.multi_question_transformer.MultiQuestionTransformer",
    "groups": [
      "QuestionTransformer"
    ],
    "name": "MultiQuestionTransformer",
    "overrides": {}
  }
}
