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

cortex-search-service-column-query-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ColumnQuery",
  "type": "object",
  "description": "Query specification of a given column. Exactly one of 'text' or 'vector' must be specified.",
  "properties": {
    "text": {
      "type": "string",
      "description": "Unstructured text query for querying a text index."
    },
    "vector": {
      "type": "array",
      "description": "Query embedding vector. Must be computed using the same model as used for embedding the column being queried."
    }
  }
}