Package com.sap.ai.sdk.orchestration
Class OrchestrationClient.EmbeddingsBuilder
java.lang.Object
com.sap.ai.sdk.orchestration.OrchestrationClient.EmbeddingsBuilder
- Enclosing class:
OrchestrationClient
Builder to select a high-level or low-level embedding request.
-
Method Summary
Modifier and TypeMethodDescriptionlowLevel()Select the low-level API for a custom embedding request.request(OrchestrationEmbeddingRequest request) Set the embedding request.
-
Method Details
-
request
@Nonnull public OrchestrationClient.EmbeddingsExecutor request(@Nonnull OrchestrationEmbeddingRequest request) Set the embedding request.- Parameters:
request- the input text, model and optional masking configuration.- Returns:
- a client to execute the embedding request.
-
lowLevel
Select the low-level API for a custom embedding request.- Returns:
- a builder to supply the low-level request.
-