AIsa 用一个 API Key 接入 Jina 的 Embedding 和重排序模型。Embedding 模型使用 OpenAI 兼容的 POST /v1/embeddings 端点,重排序模型使用 POST /v1/rerank。常见的检索流程是先用 Embedding 召回候选,再用重排序确定最终顺序。
curl https://api.aisa.one/v1/rerank \ -H "Authorization: Bearer $AISA_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "jina-reranker-v3", "query": "What is the capital of France?", "documents": ["Paris is the capital of France.", "Berlin is the capital of Germany."] }'