mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-08 04:18:32 +02:00
Add example for multiple inference operations in a single request
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
```http
|
||||
PUT /collections/<your-collection_name>/points?wait=true
|
||||
{
|
||||
"points": [
|
||||
{
|
||||
"id": 1,
|
||||
"vector": {
|
||||
"image": {
|
||||
"image": "https://qdrant.tech/example.png",
|
||||
"model": "jinaai/jina-clip-v2",
|
||||
"options": {
|
||||
"jina-api-key": "<YOUR_JINAAI_API_KEY>",
|
||||
"dimensions": 512
|
||||
}
|
||||
},
|
||||
"text": {
|
||||
"text": "Mars, the red planet",
|
||||
"model": "sentence-transformers/all-minilm-l6-v2"
|
||||
},
|
||||
"bm25": {
|
||||
"text": "Mars, the red planet",
|
||||
"model": "qdrant/bm25"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user