mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-10 21:38:30 +02:00
fix: fix rust snippets
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ client
|
||||
]),
|
||||
}))
|
||||
.using("small")
|
||||
.limit(10_u64),
|
||||
.limit(1000_u64),
|
||||
)
|
||||
.query(Query::new_nearest(Document {
|
||||
text: "How to bake cookies?".into(),
|
||||
|
||||
@@ -29,8 +29,8 @@ client
|
||||
.add_vector(
|
||||
"small",
|
||||
Document {
|
||||
text: "Mars, the red planet".into(),
|
||||
model: "sentence-transformers/all-minilm-l6-v2".into(),
|
||||
text: "Recipe for baking chocolate chip cookies".into(),
|
||||
model: "openai/text-embedding-3-small".into(),
|
||||
options: HashMap::<String, Value>::from_iter(vec![
|
||||
(
|
||||
"openai-api-key".into(),
|
||||
|
||||
Reference in New Issue
Block a user