curl --request POST \
--url https://api-inference.huggingface.co/pipeline/sentence-similarity/BAAI/bge-reranker-base \
--header 'Authorization: Bearer xxxx' \
--header 'Content-Type: application/json' \
--data '{"inputs":{"source_sentence": "What is the capital of France?",
"sentences": ["Bonn is the capital of Germany","Paris is the capital of France."]}}'
curl --request POST \ --url https://api-inference.huggingface.co/pipeline/sentence-similarity/BAAI/bge-reranker-base \ --header 'Authorization: Bearer xxxx' \ --header 'Content-Type: application/json' \ --data '{"inputs":{"source_sentence": "What is the capital of France?", "sentences": ["Bonn is the capital of Germany","Paris is the capital of France."]}}'