Qdrant · Schema

NearestQuery

AIArtificial IntelligenceVector Databases

Properties

Name Type Description
nearest object
mmr object Perform MMR (Maximal Marginal Relevance) reranking after search, using the same vector in this query to calculate relevance.
View JSON Schema on GitHub

JSON Schema

qdrant-nearestquery-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/NearestQuery",
  "title": "NearestQuery",
  "type": "object",
  "required": [
    "nearest"
  ],
  "properties": {
    "nearest": {
      "$ref": "#/components/schemas/VectorInput"
    },
    "mmr": {
      "description": "Perform MMR (Maximal Marginal Relevance) reranking after search, using the same vector in this query to calculate relevance.",
      "anyOf": [
        {
          "$ref": "#/components/schemas/Mmr"
        },
        {
          "nullable": true
        }
      ]
    }
  }
}