Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/test_async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ async def test_rerank(self) -> None:
'Capital punishment (the death penalty) has existed in the United States since beforethe United States was a country. As of 2017, capital punishment is legal in 30 of the 50 states.']

response = await self.co.rerank(
model='rerank-english-v2.0',
model='rerank-v3.5',
query='What is the capital of the United States?',
documents=docs,
top_n=3,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def test_rerank(self) -> None:
'Capital punishment (the death penalty) has existed in the United States since beforethe United States was a country. As of 2017, capital punishment is legal in 30 of the 50 states.']

response = co.rerank(
model='rerank-english-v2.0',
model='rerank-v3.5',
query='What is the capital of the United States?',
documents=docs,
top_n=3,
Expand Down