Package com.sap.ai.sdk.orchestration
Class OrchestrationEmbeddingModel
java.lang.Object
com.sap.ai.sdk.orchestration.OrchestrationEmbeddingModel
- All Implemented Interfaces:
AiModel
Configuration for embedding models in the Orchestration service.
- Since:
- 1.12.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OrchestrationEmbeddingModelAmazon Titan Embed Text modelstatic final OrchestrationEmbeddingModelGoogle Cloud Platform Gemini Embedding modelstatic final OrchestrationEmbeddingModelNVIDIA LLaMA 3.2 7B NV EmbedQA modelstatic final OrchestrationEmbeddingModelAzure OpenAI Text Embedding 3 Large modelstatic final OrchestrationEmbeddingModelAzure OpenAI Text Embedding 3 Small model -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new embedding model configuration with the specified name. -
Method Summary
Modifier and TypeMethodDescriptionThe number of dimensions for the output embeddings.booleaninthashCode()name()The name of the embedding model.Whether to normalize the embedding vectors.toString()version()The version of the model, defaults to latest if not specified.withDimensions(Integer dimensions) The number of dimensions for the output embeddings.The name of the embedding model.withNormalize(Boolean normalize) Whether to normalize the embedding vectors.withVersion(String version) The version of the model, defaults to latest if not specified.
-
Field Details
-
TEXT_EMBEDDING_3_SMALL
Azure OpenAI Text Embedding 3 Small model -
TEXT_EMBEDDING_3_LARGE
Azure OpenAI Text Embedding 3 Large model -
AMAZON_TITAN_EMBED_TEXT
Amazon Titan Embed Text model -
NVIDIA_LLAMA_32_NV_EMBEDQA_1B
NVIDIA LLaMA 3.2 7B NV EmbedQA model -
GEMINI_EMBEDDING
Google Cloud Platform Gemini Embedding model
-
-
Constructor Details
-
OrchestrationEmbeddingModel
Creates a new embedding model configuration with the specified name.- Parameters:
name- the model name
-
-
Method Details
-
name
The name of the embedding model. -
version
The version of the model, defaults to latest if not specified. -
dimensions
The number of dimensions for the output embeddings. -
normalize
Whether to normalize the embedding vectors. -
equals
-
hashCode
public int hashCode() -
toString
-
withName
The name of the embedding model.- Returns:
this.
-
withVersion
The version of the model, defaults to latest if not specified.- Returns:
this.
-
withDimensions
The number of dimensions for the output embeddings.- Returns:
this.
-
withNormalize
Whether to normalize the embedding vectors.- Returns:
this.
-