Snowflake · Schema

Weights

Weights to apply to each scoring component.

Data LakesData SharingData WarehousingDatabaseSQL

Properties

Name Type Description
texts number Weight to apply to all text-specific columns.
vectors number Weight to apply to all vector-specific columns.
reranker number Weight to apply to reranker-specific scoring component.
View JSON Schema on GitHub

JSON Schema

cortex-search-service-weights-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Weights",
  "type": "object",
  "description": "Weights to apply to each scoring component.",
  "properties": {
    "texts": {
      "type": "number",
      "description": "Weight to apply to all text-specific columns."
    },
    "vectors": {
      "type": "number",
      "description": "Weight to apply to all vector-specific columns."
    },
    "reranker": {
      "type": "number",
      "description": "Weight to apply to reranker-specific scoring component."
    }
  }
}