Qdrant · Schema

RecommendInput

AIArtificial IntelligenceVector Databases

Properties

Name Type Description
positive array Look for vectors closest to the vectors from these points
negative array Try to avoid vectors like the vector from these points
strategy object How to use the provided vectors to find the results
View JSON Schema on GitHub

JSON Schema

qdrant-recommendinput-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RecommendInput",
  "title": "RecommendInput",
  "type": "object",
  "properties": {
    "positive": {
      "description": "Look for vectors closest to the vectors from these points",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/VectorInput"
      },
      "nullable": true
    },
    "negative": {
      "description": "Try to avoid vectors like the vector from these points",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/VectorInput"
      },
      "nullable": true
    },
    "strategy": {
      "description": "How to use the provided vectors to find the results",
      "anyOf": [
        {
          "$ref": "#/components/schemas/RecommendStrategy"
        },
        {
          "nullable": true
        }
      ]
    }
  }
}