Fix code snippets

This commit is contained in:
Abdon Pijpelink
2026-01-22 11:46:54 +01:00
parent b582b11491
commit 1d103f657a
4 changed files with 4 additions and 4 deletions
@@ -33,4 +33,4 @@ public class Snippet {
.build()) .build())
.get(); .get();
} }
} }
@@ -21,7 +21,7 @@ client.Upsert(context.Background(), &qdrant.UpsertPoints{
Model: "openrouter/mistralai/mistral-embed-2312", Model: "openrouter/mistralai/mistral-embed-2312",
Text: "Recipe for baking chocolate chip cookies", Text: "Recipe for baking chocolate chip cookies",
Options: qdrant.NewValueMap(map[string]any{ Options: qdrant.NewValueMap(map[string]any{
"openrouter-api-key": "<YOUR_OPENROUTER_API_KEY>" "openrouter-api-key": "<YOUR_OPENROUTER_API_KEY>",
}), }),
}), }),
}, },
@@ -25,7 +25,7 @@ func Main() {
Model: "openrouter/mistralai/mistral-embed-2312", Model: "openrouter/mistralai/mistral-embed-2312",
Text: "Recipe for baking chocolate chip cookies", Text: "Recipe for baking chocolate chip cookies",
Options: qdrant.NewValueMap(map[string]any{ Options: qdrant.NewValueMap(map[string]any{
"openrouter-api-key": "<YOUR_OPENROUTER_API_KEY>" "openrouter-api-key": "<YOUR_OPENROUTER_API_KEY>",
}), }),
}), }),
}, },
@@ -38,4 +38,4 @@ public class Snippet {
.build())) .build()))
.get(); .get();
} }
} }