Skip to content
Open
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 @@ -10,10 +10,17 @@
public record VoyageAiReranker(
@SerializedName("model") String model) implements Reranker {

public static final String RERANK_1 = "rerank-1";
public static final String RERANK_LITE_1 = "rerank-lite-1";
// Current-generation models. See https://docs.voyageai.com/docs/reranker
public static final String RERANK_3 = "rerank-3";
public static final String RERANK_3_LITE = "rerank-3-lite";
public static final String RERANK_2_5 = "rerank-2.5";
public static final String RERANK_2_5_LITE = "rerank-2.5-lite";

// Legacy models (still accessible, superseded by the models above).
public static final String RERANK_2 = "rerank-2";
public static final String RERANK_LITE_2 = "rerank-2-lite";
public static final String RERANK_1 = "rerank-1";
public static final String RERANK_LITE_1 = "rerank-lite-1";

@Override
public Kind _kind() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ public Object _self() {
return this;
}

// Multimodal embedding models. See https://docs.voyageai.com/docs/multimodal-embeddings
public static String VOYAGE_MULTIMODAL_3_5 = "voyage-multimodal-3.5";
public static String VOYAGE_MULTIMODAL_3 = "voyage-multimodal-3";

public static Multi2VecVoyageAiVectorizer of() {
return of(ObjectBuilder.identity());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ public Object _self() {
return this;
}

// Current-generation models. See https://docs.voyageai.com/docs/embeddings
public static String VOYAGE_4_LARGE = "voyage-4-large";
public static String VOYAGE_4 = "voyage-4";
public static String VOYAGE_4_LITE = "voyage-4-lite";
public static String VOYAGE_CODE_4 = "voyage-code-4";
public static String VOYAGE_FINANCE_2 = "voyage-finance-2";
public static String VOYAGE_LAW_2 = "voyage-law-2";
// Contextualized-chunk embeddings.
// See https://docs.voyageai.com/docs/contextualized-chunk-embeddings
public static String VOYAGE_CONTEXT_4 = "voyage-context-4";

// Legacy models (still accessible, superseded by the models above).
public static String VOYAGE_3_LARGE = "voyage-3-large";
public static String VOYAGE_3_5 = "voyage-3.5";
public static String VOYAGE_3_5_lite = "voyage-3.5-lite";
Expand Down
Loading