Add rerank models to the dynamic model list; Fix integration tests

This commit is contained in:
Jiayi 2025-09-28 14:45:16 -07:00
parent 3538477070
commit 816b68fdc7
8 changed files with 247 additions and 25 deletions

View file

@ -204,6 +204,6 @@ rerank_response = client.inference.rerank(
],
)
for i, result in enumerate(rerank_response.data):
print(f"{i+1}. [Index: {result.index}, Score: {result.relevance_score:.3f}]")
for i, result in enumerate(rerank_response):
print(f"{i+1}. [Index: {result.index}, " f"Score: {(result.relevance_score):.3f}]")
```