Snowflake · Schema

ColumnQuery

Query specification of a given column. Exactly one of 'text' or 'vector' must be specified.

Data LakesData SharingData WarehousingDatabaseSQL

Properties

Name Type Description
text string Unstructured text query for querying a text index.
vector array Query embedding vector. Must be computed using the same model as used for embedding the column being queried.
View JSON Schema on GitHub

JSON Schema

snowflake-columnquery-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ColumnQuery",
  "title": "ColumnQuery",
  "description": "Query specification of a given column. Exactly one of 'text' or 'vector' must be specified.",
  "type": "object",
  "properties": {
    "text": {
      "description": "Unstructured text query for querying a text index.",
      "type": "string",
      "example": "example_value"
    },
    "vector": {
      "description": "Query embedding vector. Must be computed using the same model as used for embedding the column being queried.",
      "type": "array",
      "items": {
        "type": "number",
        "format": "float"
      },
      "example": []
    }
  }
}