inference ts snippets

This commit is contained in:
Ivan Pleshkov
2025-11-13 17:16:14 +01:00
parent 3f6b2694a9
commit fdef153f12
9 changed files with 174 additions and 0 deletions
@@ -0,0 +1,19 @@
```typescript
import { QdrantClient } from "@qdrant/js-client-rest";
const client = new QdrantClient({ host: "localhost", port: 6333 });
client.upsert("{collection_name}", {
points: [
{
id: 1,
vector: {
'my-bm25-vector': {
text: 'Recipe for baking chocolate chip cookies',
model: 'Qdrant/bm25',
},
},
},
],
});
```