From 24b1e6832e423e813444757be3f267a72a69837c Mon Sep 17 00:00:00 2001 From: Kevin Cogan Date: Thu, 13 Mar 2025 10:00:28 +0000 Subject: [PATCH] fix: pre-commit error. --- rfcs/RFC-0003-rerank-api.md | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/rfcs/RFC-0003-rerank-api.md b/rfcs/RFC-0003-rerank-api.md index 9af3c9957..01ccb060e 100644 --- a/rfcs/RFC-0003-rerank-api.md +++ b/rfcs/RFC-0003-rerank-api.md @@ -21,7 +21,7 @@ 5. [API Design Overview](#api-design-overview) 6. [Considerations and Tradeoffs](#6-considerations-and-tradeoffs) 7. [Conclusion](#7-conclusion) -8. [Approvals](#8-approvals) +8. [Approval](#8-approval) ## Abstract @@ -626,30 +626,19 @@ And an example API call using cURL: ```bash curl -X POST "http://localhost:8000/tool-runtime/rag-tool/rerank" \ - -H "Content-Type: application/json" \ - -d '{ - "query": "Find relevant documents for query text.", - "retrieved_docs": [/* List of RAGDocument objects */], - "top_k": 5, - "rerank_strategy": "DEFAULT", - "reranker_model_id": "LlamaRank", - - "rerank_config: { - - "api_url": "https://api.together.xyz/v1", - - "api_key": "API_KEY", - - } - + "rerank_config": { + "api_url": "https://api.together.xyz/v1", + "api_key": "API_KEY" + } }' + ``` ## API Design Overview