Created at 1pm, Jan 5
farukyasarSoftware Development
0
How to enumerate an enum?
72Mk99kITE0YD2Z1MiNyYOrErGmROr5GUwxI-P--rWw
File Type
PDF
Entry Count
1
Embed. Model
jina_embeddings_v2_base_en
Index Type
hnsw

A simple way to enumerate an enum

1 foreach (Suit suit in (Suit[]) Enum.GetValues(typeof(Suit))) 2 { 3 }
id: c613b20a948c540f8113e85baa56d5a0 - page: 1
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": "72Mk99kITE0YD2Z1MiNyYOrErGmROr5GUwxI-P--rWw", "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": "72Mk99kITE0YD2Z1MiNyYOrErGmROr5GUwxI-P--rWw", "level": 2}'