Pinecone · Schema

ContextModel

The response format containing the context from an assistant.

Vector DatabasesAIEmbeddingsRAG

Properties

Name Type Description
id string
snippets array
usage object
View JSON Schema on GitHub

JSON Schema

pinecone-contextmodel-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ContextModel",
  "title": "ContextModel",
  "description": "The response format containing the context from an assistant.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "snippets": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/SnippetModel"
      }
    },
    "usage": {
      "$ref": "#/components/schemas/UsageModel"
    }
  },
  "required": [
    "snippets",
    "usage"
  ]
}