BazaarLinkBazaarLink
로그인
문서API 레퍼런스SDK 레퍼런스에이전트 사용법AI 스킬
목차

문서 재정렬

문서 재정렬

query와 documents로 관련성 순의 index와 relevance_score를 받습니다. 청구 단위는 search이며 모델 페이지 가격에 usage.search_units를 곱하고 문서 수로 청구하지 않습니다. 스트리밍(stream)은 지원하지 않습니다.

POST/v1/rerank
curl https://api.bazaarlink.ai/v1/rerank \
  -H "$BAZAARLINK_AUTH_HEADER" \
  -H "Content-Type: application/json" \
  -d '{"model":"your-rerank-model-id","query":"capital of France","documents":["Paris is the capital of France.","Berlin is in Germany."],"top_n":1}'

전체 매개변수 참조: 문서 재정렬

Support
Hi! How can we help you?
Send a message and we'll get back to you soon.
문서 재정렬 | BazaarLink