chore: simplify snippets

This commit is contained in:
Daniel Boros
2025-11-13 12:38:15 +01:00
parent 5d5ec2985d
commit 8c67b4376d
3 changed files with 4 additions and 6 deletions
@@ -3,7 +3,6 @@ use qdrant_client::{
Payload, Qdrant, QdrantError,
qdrant::{Document, PointStruct, UpsertPointsBuilder},
};
use std::collections::HashMap;
let client = Qdrant::from_url("http://localhost:6333").build()?;
@@ -15,7 +14,7 @@ client
Document {
text: "Recipe for baking chocolate chip cookies".into(),
model: "qdrant/bm25".into(),
options: HashMap::new(),
..Default::default()
}.into())]),
Payload::default())
]))