Class BedrockCohereEmbeddingOptions
java.lang.Object
org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions
- All Implemented Interfaces:
EmbeddingOptions,ModelOptions
Options for the Bedrock Cohere embedding API.
- Author:
- Christian Tzolov, Thomas Vitale, Ilayaperumal Gopinathan
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()@Nullable Integer@Nullable StringgetModel()voidsetInputType(@Nullable CohereEmbeddingBedrockApi.CohereEmbeddingRequest.InputType inputType) voidsetTruncate(@Nullable CohereEmbeddingBedrockApi.CohereEmbeddingRequest.Truncate truncate)
-
Constructor Details
-
BedrockCohereEmbeddingOptions
public BedrockCohereEmbeddingOptions()
-
-
Method Details
-
builder
-
getInputType
-
setInputType
public void setInputType(@Nullable CohereEmbeddingBedrockApi.CohereEmbeddingRequest.InputType inputType) -
getTruncate
-
setTruncate
public void setTruncate(@Nullable CohereEmbeddingBedrockApi.CohereEmbeddingRequest.Truncate truncate) -
getModel
- Specified by:
getModelin interfaceEmbeddingOptions
-
getDimensions
- Specified by:
getDimensionsin interfaceEmbeddingOptions
-