{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/eidolon-resource/_shared/latest--VectaraSearch.json",
  "title": "VectaraSearch",
  "description": "A logic unit for searching in Vectara. Requires the VECTARA_API_KEY environment variable to be set for authentication.",
  "x-lintel": {
    "source": "https://www.eidolonai.com/json_schema/v1/schemas/LogicUnit/VectaraSearch.json",
    "sourceSha256": "556de2eb981ea41c076530f82b38942d375663eb3fab968154b764947d9f51f0"
  },
  "type": "object",
  "properties": {
    "implementation": {
      "const": "VectaraSearch",
      "title": "Implementation"
    },
    "corpus_key": {
      "description": "The corpus key to search in.",
      "title": "Corpus Key",
      "type": "string"
    },
    "description": {
      "default": "Search documents related to {corpus_key}.",
      "description": "Description of the tool presented to LLM. Will be formatted with corpus_key.",
      "title": "Description",
      "type": "string"
    },
    "vectara_url": {
      "default": "https://api.vectara.io/",
      "title": "Vectara Url",
      "type": "string"
    },
    "read_document_enabled": {
      "default": false,
      "description": "Enable read_document tool.",
      "title": "Read Document Enabled",
      "type": "boolean"
    },
    "read_document_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": "Read a document from {corpus_key}.",
      "description": "Description of the tool presented to LLM. Will be formatted with corpus_key.",
      "title": "Read Document Description"
    }
  },
  "additionalProperties": false,
  "required": [
    "corpus_key",
    "implementation"
  ],
  "reference_details": {
    "clz": "eidolon_ai_sdk.builtins.logic_units.vectara.VectaraSearch",
    "groups": [
      "LogicUnit"
    ],
    "name": "VectaraSearch",
    "overrides": {}
  }
}
