Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://api.sharc.sh/v1/rerank \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "query": "<string>", "documents": [ "<string>" ] } '
{ "results": [ { "index": 123, "relevance_score": 123 } ] }
Reranks candidate snippets for a query.
Pass your key in Authorization: Bearer .
1000
Rerank results
Show child attributes