Vapi · Schema

KnowledgeBaseResponseDocument

AIVoiceAgentsRealtimeCPaaS

Properties

Name Type Description
content string This is the content of the document.
similarity number This is the similarity score of the document.
uuid string This is the uuid of the document.
View JSON Schema on GitHub

JSON Schema

vapi-knowledgebaseresponsedocument-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/KnowledgeBaseResponseDocument",
  "title": "KnowledgeBaseResponseDocument",
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "description": "This is the content of the document."
    },
    "similarity": {
      "type": "number",
      "description": "This is the similarity score of the document."
    },
    "uuid": {
      "type": "string",
      "description": "This is the uuid of the document."
    }
  },
  "required": [
    "content",
    "similarity"
  ]
}