Pinecone · Schema

TextSnippetModel

Represents a text context snippet.

Vector DatabasesAIEmbeddingsRAG

Properties

Name Type Description
type string The type of context snippet.
content string
score number
reference object
View JSON Schema on GitHub

JSON Schema

pinecone-textsnippetmodel-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TextSnippetModel",
  "title": "TextSnippetModel",
  "description": "Represents a text context snippet.",
  "type": "object",
  "properties": {
    "type": {
      "description": "The type of context snippet.",
      "type": "string"
    },
    "content": {
      "type": "string"
    },
    "score": {
      "type": "number",
      "format": "float"
    },
    "reference": {
      "$ref": "#/components/schemas/TypedReferenceModel"
    }
  },
  "required": [
    "type",
    "content",
    "score",
    "reference"
  ]
}