fix install on 3.8
This commit is contained in:
parent
b3892b871d
commit
37ed201c50
@ -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…
Reference in New Issue
Block a user