Skip to content

Commit

Permalink
VoyageAI Reranker optional API Key (#17310)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adversarian authored Dec 18, 2024
1 parent a909a65 commit 8ecc02a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class VoyageAIRerank(BaseNodePostprocessor):

def __init__(
self,
api_key: str,
model: str,
api_key: Optional[str] = None,
top_n: Optional[int] = None,
truncation: Optional[bool] = None,
# deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ license = "MIT"
name = "llama-index-postprocessor-voyageai-rerank"
packages = [{include = "llama_index/"}]
readme = "README.md"
version = "0.3.0"
version = "0.3.1"

[tool.poetry.dependencies]
python = ">=3.9,<4.0"
voyageai = "^0.2.1"
voyageai = {python = ">=3.9,<3.13", version = ">=0.3.2,<0.4.0"}
llama-index-core = "^0.12.0"

[tool.poetry.group.dev.dependencies]
Expand Down

0 comments on commit 8ecc02a

Please sign in to comment.