Class BedrockCohereEmbeddingOptions.Builder
java.lang.Object
org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions.Builder
- Enclosing class:
- BedrockCohereEmbeddingOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.usetruncate(Truncate)
instead.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputType
public BedrockCohereEmbeddingOptions.Builder inputType(CohereEmbeddingBedrockApi.CohereEmbeddingRequest.InputType inputType) -
truncate
public BedrockCohereEmbeddingOptions.Builder truncate(CohereEmbeddingBedrockApi.CohereEmbeddingRequest.Truncate truncate) -
withInputType
@Deprecated(forRemoval=true, since="1.0.0-M5") public BedrockCohereEmbeddingOptions.Builder withInputType(CohereEmbeddingBedrockApi.CohereEmbeddingRequest.InputType inputType) Deprecated, for removal: This API element is subject to removal in a future version.useinputType(InputType)
instead. -
withTruncate
@Deprecated(forRemoval=true, since="1.0.0-M5") public BedrockCohereEmbeddingOptions.Builder withTruncate(CohereEmbeddingBedrockApi.CohereEmbeddingRequest.Truncate truncate) Deprecated, for removal: This API element is subject to removal in a future version.usetruncate(Truncate)
instead. -
build
-
inputType(InputType)
instead.