yvdb 0.1.0

Small educational in-memory vector database with REST API, append-only durability, brute-force search, and adaptive heartbeat feat for RAG hallucination mitigation
1
2
3
4
5
6
7
8
{  
  "dimension": 3,
  "metric": "cosine",
  "records": [
    {"id": "a", "vector": [1.0, 0.0, 0.0]},
    {"id": "b", "vector": [0.0, 1.0, 0.0]}
  ]
}