mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-19 00:01:29 +00:00
fix install on 3.8
This commit is contained in:
parent
b3892b871d
commit
37ed201c50
2 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ class CohereRerank(BaseLLM):
|
|||
model: str,
|
||||
api_key: str,
|
||||
query: str,
|
||||
documents: list[Union[str, Dict[str, Any]]],
|
||||
documents: List[Union[str, Dict[str, Any]]],
|
||||
top_n: Optional[int] = None,
|
||||
rank_fields: Optional[List[str]] = None,
|
||||
return_documents: Optional[bool] = True,
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class TogetherAIRerank(BaseLLM):
|
|||
model: str,
|
||||
api_key: str,
|
||||
query: str,
|
||||
documents: list[Union[str, Dict[str, Any]]],
|
||||
documents: List[Union[str, Dict[str, Any]]],
|
||||
top_n: Optional[int] = None,
|
||||
rank_fields: Optional[List[str]] = None,
|
||||
return_documents: Optional[bool] = True,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue