Pinecone · Schema

TypedReferenceModel

Represents a reference for the information provided.

Vector DatabasesAIEmbeddingsRAG
View JSON Schema on GitHub

JSON Schema

pinecone-typedreferencemodel-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TypedReferenceModel",
  "title": "TypedReferenceModel",
  "description": "Represents a reference for the information provided.",
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "text": "#/components/schemas/TextReferenceModel",
      "json": "#/components/schemas/JsonReferenceModel",
      "markdown": "#/components/schemas/MarkdownReferenceModel",
      "pdf": "#/components/schemas/PdfReferenceModel",
      "doc_x": "#/components/schemas/DocxReferenceModel"
    }
  },
  "type": "object",
  "oneOf": [
    {
      "$ref": "#/components/schemas/TextReferenceModel"
    },
    {
      "$ref": "#/components/schemas/JsonReferenceModel"
    },
    {
      "$ref": "#/components/schemas/MarkdownReferenceModel"
    },
    {
      "$ref": "#/components/schemas/PdfReferenceModel"
    },
    {
      "$ref": "#/components/schemas/DocxReferenceModel"
    }
  ]
}