Synthetic data: save money, time and carbon with open source
# Search
curl -X POST "https://search.dria.co/hnsw/search" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"rerank": true, "top_n": 10, "contract_id": "GlH8u8FD-o2d4XObJXhftdGSvFD1QhBakFUT2JTCHKw", "query": "What is alexanDRIA library?"}'
# Query
curl -X POST "https://search.dria.co/hnsw/query" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"vector": [0.123, 0.5236], "top_n": 10, "contract_id": "GlH8u8FD-o2d4XObJXhftdGSvFD1QhBakFUT2JTCHKw", "level": 2}'