Created at 6pm, Jan 4
MelihaBusiness
2
how to calculate percentage
yfAujOzP9C94hfxteRM_cacKv8hAVduzF5JdLnh2cSg
File Type
DOCX
Entry Count
1
Embed. Model
jina_embeddings_v2_base_en
Index Type
hnsw
Percentage = Given Value x 100 Total Value Example: Given Value = 60 Total Value = 43 Percentage = 42 x 100 = 70% 60
id: f8964c7cef93fd388a0275803ca264c6 - page: None
How to Retrieve?
# 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": "yfAujOzP9C94hfxteRM_cacKv8hAVduzF5JdLnh2cSg", "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": "yfAujOzP9C94hfxteRM_cacKv8hAVduzF5JdLnh2cSg", "level": 2}'