这是indexloc提供的服务,不要输入任何密码
Skip to content

feat: add support for voyage-3-large and voyage-code-3 embedding models #2955

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 9, 2025
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
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ export default function VoyageAiOptions({ settings }) {
"voyage-2",
"voyage-3",
"voyage-3-lite",
"voyage-3-large",
"voyage-code-3",
].map((model) => {
return (
<option key={model} value={model}>
Expand Down
2 changes: 2 additions & 0 deletions server/utils/EmbeddingEngines/voyageAi/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class VoyageAiEmbedder {
case "voyage-multilingual-2":
case "voyage-3":
case "voyage-3-lite":
case "voyage-3-large":
case "voyage-code-3":
return 32_000;
case "voyage-large-2-instruct":
case "voyage-law-2":
Expand Down