Skip to content

Commit

Permalink
Merge pull request #1318 from voyage-ai/main
Browse files Browse the repository at this point in the history
Introducing VoyageAI's new embedding and rerank models
  • Loading branch information
dirkkul committed Sep 25, 2024
2 parents de26e2d + 28b7a3b commit e75cb29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion weaviate/collections/classes/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ class _RerankerJinaAIConfig(_RerankerConfigCreate):
model: Optional[Union[RerankerJinaAIModel, str]] = Field(default=None)


RerankerVoyageAIModel = Literal["rerank-lite-1", "rerank-1"]
RerankerVoyageAIModel = Literal["rerank-2", "rerank-2-lite", "rerank-lite-1", "rerank-1"]


class _RerankerVoyageAIConfig(_RerankerConfigCreate):
Expand Down
2 changes: 2 additions & 0 deletions weaviate/collections/classes/config_vectorizers.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
"jina-embeddings-v3",
]
VoyageModel: TypeAlias = Literal[
"voyage-3",
"voyage-3-lite",
"voyage-large-2",
"voyage-code-2",
"voyage-2",
Expand Down

0 comments on commit e75cb29

Please sign in to comment.