Break out snippets into their own files

This commit is contained in:
Abdon Pijpelink
2025-12-16 11:02:14 +01:00
parent 456a683493
commit fa168d0532
55 changed files with 556 additions and 502 deletions
@@ -0,0 +1 @@
Ingests a book point using server-side inference to embed the description text with the `sentence-transformers/all-minilm-l6-v2` model and stores title, author, and ISBN payload.
@@ -0,0 +1,21 @@
```http
PUT /collections/books/points?wait=true
{
"points": [
{
"id": 1,
"vector": {
"description-dense": {
"text": "A Victorian scientist builds a device to travel far into the future and observes the dim trajectories of humanity. He discovers evolutionary divergence and the consequences of class division. Wells's novella established time travel as a vehicle for social commentary.",
"model": "sentence-transformers/all-minilm-l6-v2"
}
},
"payload": {
"title": "The Time Machine",
"author": "H.G. Wells",
"isbn": "9780553213515"
}
}
]
}
```