mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
Add rerank models to the dynamic model list; Fix integration tests
This commit is contained in:
parent
3538477070
commit
816b68fdc7
8 changed files with 247 additions and 25 deletions
|
@ -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}]")
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue