Index
All Classes and Interfaces|All Packages
A
- AbstractBedrockApi<I,
O, SO> - Class in org.springframework.ai.bedrock.api -
Abstract class for the Bedrock API.
- AbstractBedrockApi(String, String) - Constructor for class org.springframework.ai.bedrock.api.AbstractBedrockApi
-
Create a new AbstractBedrockApi instance using default credentials provider and object mapper.
- AbstractBedrockApi(String, String, Duration) - Constructor for class org.springframework.ai.bedrock.api.AbstractBedrockApi
-
Create a new AbstractBedrockApi instance using default credentials provider and object mapper.
- AbstractBedrockApi(String, AwsCredentialsProvider, String, ObjectMapper) - Constructor for class org.springframework.ai.bedrock.api.AbstractBedrockApi
-
Create a new AbstractBedrockApi instance using the provided credentials provider, region and object mapper.
- AbstractBedrockApi(String, AwsCredentialsProvider, String, ObjectMapper, Duration) - Constructor for class org.springframework.ai.bedrock.api.AbstractBedrockApi
-
Create a new AbstractBedrockApi instance using the provided credentials provider, region and object mapper.
- AbstractBedrockApi(String, AwsCredentialsProvider, Region, ObjectMapper, Duration) - Constructor for class org.springframework.ai.bedrock.api.AbstractBedrockApi
-
Create a new AbstractBedrockApi instance using the provided credentials provider, region and object mapper.
- AbstractBedrockApi.AmazonBedrockInvocationMetrics - Record Class in org.springframework.ai.bedrock.api
-
Encapsulates the metrics about the model invocation.
- amazonBedrockInvocationMetrics() - Method in record class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingResponse
-
Returns the value of the
amazonBedrockInvocationMetricsrecord component. - AmazonBedrockInvocationMetrics(Long, Long, Long, Long) - Constructor for record class org.springframework.ai.bedrock.api.AbstractBedrockApi.AmazonBedrockInvocationMetrics
-
Creates an instance of a
AmazonBedrockInvocationMetricsrecord class.
B
- BedrockCohereEmbeddingModel - Class in org.springframework.ai.bedrock.cohere
-
EmbeddingModelimplementation that uses the Bedrock Cohere Embedding API. - BedrockCohereEmbeddingModel(CohereEmbeddingBedrockApi) - Constructor for class org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingModel
- BedrockCohereEmbeddingModel(CohereEmbeddingBedrockApi, BedrockCohereEmbeddingOptions) - Constructor for class org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingModel
- BedrockCohereEmbeddingOptions - Class in org.springframework.ai.bedrock.cohere
-
Options for the Bedrock Cohere embedding API.
- BedrockCohereEmbeddingOptions() - Constructor for class org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions
- BedrockCohereEmbeddingOptions.Builder - Class in org.springframework.ai.bedrock.cohere
- BedrockRuntimeHints - Class in org.springframework.ai.bedrock.aot
-
The BedrockRuntimeHints class is responsible for registering runtime hints for Bedrock AI API classes.
- BedrockRuntimeHints() - Constructor for class org.springframework.ai.bedrock.aot.BedrockRuntimeHints
- BedrockTitanEmbeddingModel - Class in org.springframework.ai.bedrock.titan
-
EmbeddingModelimplementation that uses the Bedrock Titan Embedding API. - BedrockTitanEmbeddingModel(TitanEmbeddingBedrockApi, ObservationRegistry) - Constructor for class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingModel
- BedrockTitanEmbeddingModel.InputType - Enum Class in org.springframework.ai.bedrock.titan
- BedrockTitanEmbeddingOptions - Class in org.springframework.ai.bedrock.titan
-
Options for the Titan Embedding API.
- BedrockTitanEmbeddingOptions() - Constructor for class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingOptions
- BedrockTitanEmbeddingOptions.Builder - Class in org.springframework.ai.bedrock.titan
- build() - Method in class org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions.Builder
- build() - Method in class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingRequest.Builder
- build() - Method in class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingOptions.Builder
- builder() - Static method in class org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions
- builder() - Static method in record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingRequest
- builder() - Static method in class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingOptions
- Builder() - Constructor for class org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions.Builder
- Builder() - Constructor for class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingRequest.Builder
- Builder() - Constructor for class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingOptions.Builder
C
- call(EmbeddingRequest) - Method in class org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingModel
- call(EmbeddingRequest) - Method in class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingModel
- chatCompletion(I) - Method in class org.springframework.ai.bedrock.api.AbstractBedrockApi
-
Chat completion invocation.
- chatCompletionStream(I) - Method in class org.springframework.ai.bedrock.api.AbstractBedrockApi
-
Chat completion invocation with streaming response.
- CLASSIFICATION - Enum constant in enum class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest.InputType
-
Use classification when using embeddings as an input to a text classifier.
- CLUSTERING - Enum constant in enum class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest.InputType
-
Use clustering to cluster the embeddings.
- COHERE_EMBED_ENGLISH_V3 - Enum constant in enum class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingModel
-
cohere.embed-english-v3
- COHERE_EMBED_MULTILINGUAL_V3 - Enum constant in enum class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingModel
-
cohere.embed-multilingual-v3
- CohereEmbeddingBedrockApi - Class in org.springframework.ai.bedrock.cohere.api
-
Cohere Embedding API.
- CohereEmbeddingBedrockApi(String, String) - Constructor for class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi
-
Create a new CohereEmbeddingBedrockApi instance using the default credentials provider chain, the default object mapper, default temperature and topP values.
- CohereEmbeddingBedrockApi(String, String, Duration) - Constructor for class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi
-
Create a new CohereEmbeddingBedrockApi instance using the default credentials provider chain, the default object mapper, default temperature and topP values.
- CohereEmbeddingBedrockApi(String, AwsCredentialsProvider, String, ObjectMapper) - Constructor for class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi
-
Create a new CohereEmbeddingBedrockApi instance using the provided credentials provider, region and object mapper.
- CohereEmbeddingBedrockApi(String, AwsCredentialsProvider, String, ObjectMapper, Duration) - Constructor for class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi
-
Create a new CohereEmbeddingBedrockApi instance using the provided credentials provider, region and object mapper.
- CohereEmbeddingBedrockApi(String, AwsCredentialsProvider, Region, ObjectMapper, Duration) - Constructor for class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi
-
Create a new CohereEmbeddingBedrockApi instance using the provided credentials provider, region and object mapper.
- CohereEmbeddingBedrockApi.CohereEmbeddingModel - Enum Class in org.springframework.ai.bedrock.cohere.api
-
Cohere Embedding model ids.
- CohereEmbeddingBedrockApi.CohereEmbeddingRequest - Record Class in org.springframework.ai.bedrock.cohere.api
-
The Cohere Embed model request.
- CohereEmbeddingBedrockApi.CohereEmbeddingRequest.InputType - Enum Class in org.springframework.ai.bedrock.cohere.api
-
Cohere Embedding API input types.
- CohereEmbeddingBedrockApi.CohereEmbeddingRequest.Truncate - Enum Class in org.springframework.ai.bedrock.cohere.api
-
Specifies how the API handles inputs longer than the maximum token length.
- CohereEmbeddingBedrockApi.CohereEmbeddingResponse - Record Class in org.springframework.ai.bedrock.cohere.api
-
Cohere Embedding response.
- CohereEmbeddingRequest(List<String>, CohereEmbeddingBedrockApi.CohereEmbeddingRequest.InputType, CohereEmbeddingBedrockApi.CohereEmbeddingRequest.Truncate) - Constructor for record class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest
-
Creates an instance of a
CohereEmbeddingRequestrecord class. - CohereEmbeddingResponse(String, List<float[]>, List<String>, String, AbstractBedrockApi.AmazonBedrockInvocationMetrics) - Constructor for record class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingResponse
-
Creates an instance of a
CohereEmbeddingResponserecord class. - create() - Static method in class org.springframework.ai.bedrock.MessageToPromptConverter
- create(String) - Static method in class org.springframework.ai.bedrock.MessageToPromptConverter
D
- DEFAULT_EMIT_FAILURE_HANDLER - Static variable in class org.springframework.ai.bedrock.api.AbstractBedrockApi
-
Default emit failure handler.
- dimensions() - Method in class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingModel
E
- embed(Document) - Method in class org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingModel
- embed(Document) - Method in class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingModel
- embedding() - Method in record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingResponse
-
Returns the value of the
embeddingrecord component. - embedding(I) - Method in class org.springframework.ai.bedrock.api.AbstractBedrockApi
-
Compute the embedding for the given text.
- embedding(CohereEmbeddingBedrockApi.CohereEmbeddingRequest) - Method in class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi
- embedding(TitanEmbeddingBedrockApi.TitanEmbeddingRequest) - Method in class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi
- embeddings() - Method in record class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingResponse
-
Returns the value of the
embeddingsrecord component. - embeddingsByType() - Method in record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingResponse
-
Returns the value of the
embeddingsByTyperecord component. - END - Enum constant in enum class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest.Truncate
-
(default) Discards the end of the input.
- equals(Object) - Method in record class org.springframework.ai.bedrock.api.AbstractBedrockApi.AmazonBedrockInvocationMetrics
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingResponse
-
Indicates whether some other object is "equal to" this one.
F
- failureCount() - Method in record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingResponse
-
Returns the value of the
failureCountrecord component. - firstByteLatency() - Method in record class org.springframework.ai.bedrock.api.AbstractBedrockApi.AmazonBedrockInvocationMetrics
-
Returns the value of the
firstByteLatencyrecord component.
G
- getDimensions() - Method in class org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions
- getDimensions() - Method in class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingOptions
- getInputType() - Method in class org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions
- getInputType() - Method in class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingOptions
- getModel() - Method in class org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions
- getModel() - Method in class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingOptions
- getModelId() - Method in class org.springframework.ai.bedrock.api.AbstractBedrockApi
-
Get the model id.
- getRegion() - Method in class org.springframework.ai.bedrock.api.AbstractBedrockApi
-
Get the AWS region.
- getTruncate() - Method in class org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions
H
- hashCode() - Method in record class org.springframework.ai.bedrock.api.AbstractBedrockApi.AmazonBedrockInvocationMetrics
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingResponse
-
Returns a hash code value for this object.
I
- id() - Method in enum class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingModel
- id() - Method in record class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingResponse
-
Returns the value of the
idrecord component. - id() - Method in enum class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingModel
- IMAGE - Enum constant in enum class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingModel.InputType
- inputImage() - Method in record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingRequest
-
Returns the value of the
inputImagerecord component. - inputImage(String) - Method in class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingRequest.Builder
- inputText() - Method in record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingRequest
-
Returns the value of the
inputTextrecord component. - inputText(String) - Method in class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingRequest.Builder
- inputTextTokenCount() - Method in record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingResponse
-
Returns the value of the
inputTextTokenCountrecord component. - inputTokenCount() - Method in record class org.springframework.ai.bedrock.api.AbstractBedrockApi.AmazonBedrockInvocationMetrics
-
Returns the value of the
inputTokenCountrecord component. - inputType() - Method in record class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest
-
Returns the value of the
inputTyperecord component. - inputType(CohereEmbeddingBedrockApi.CohereEmbeddingRequest.InputType) - Method in class org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions.Builder
- inputType(BedrockTitanEmbeddingModel.InputType) - Method in class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingOptions.Builder
- internalInvocation(I, Class<O>) - Method in class org.springframework.ai.bedrock.api.AbstractBedrockApi
-
Internal method to invoke the model and return the response.
- internalInvocationStream(I, Class<SO>) - Method in class org.springframework.ai.bedrock.api.AbstractBedrockApi
-
Internal method to invoke the model and return the response stream.
- invocationLatency() - Method in record class org.springframework.ai.bedrock.api.AbstractBedrockApi.AmazonBedrockInvocationMetrics
-
Returns the value of the
invocationLatencyrecord component.
M
- message() - Method in record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingResponse
-
Returns the value of the
messagerecord component. - MessageToPromptConverter - Class in org.springframework.ai.bedrock
-
Converts a list of messages to a prompt for bedrock models.
- messageToString(Message) - Method in class org.springframework.ai.bedrock.MessageToPromptConverter
N
- NONE - Enum constant in enum class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest.Truncate
-
Returns an error when the input exceeds the maximum input token length.
O
- org.springframework.ai.bedrock - package org.springframework.ai.bedrock
- org.springframework.ai.bedrock.aot - package org.springframework.ai.bedrock.aot
- org.springframework.ai.bedrock.api - package org.springframework.ai.bedrock.api
- org.springframework.ai.bedrock.cohere - package org.springframework.ai.bedrock.cohere
- org.springframework.ai.bedrock.cohere.api - package org.springframework.ai.bedrock.cohere.api
- org.springframework.ai.bedrock.titan - package org.springframework.ai.bedrock.titan
- org.springframework.ai.bedrock.titan.api - package org.springframework.ai.bedrock.titan.api
- outputTokenCount() - Method in record class org.springframework.ai.bedrock.api.AbstractBedrockApi.AmazonBedrockInvocationMetrics
-
Returns the value of the
outputTokenCountrecord component.
R
- registerHints(RuntimeHints, ClassLoader) - Method in class org.springframework.ai.bedrock.aot.BedrockRuntimeHints
- responseType() - Method in record class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingResponse
-
Returns the value of the
responseTyperecord component. - results() - Method in record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingResponse
-
Returns the value of the
resultsrecord component.
S
- SEARCH_DOCUMENT - Enum constant in enum class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest.InputType
-
In search use-cases, use search_document when you encode documents for embeddings that you store in a vector database.
- SEARCH_QUERY - Enum constant in enum class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest.InputType
-
Use search_query when querying your vector DB to find relevant documents.
- setInputType(CohereEmbeddingBedrockApi.CohereEmbeddingRequest.InputType) - Method in class org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions
- setInputType(BedrockTitanEmbeddingModel.InputType) - Method in class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingOptions
- setTruncate(CohereEmbeddingBedrockApi.CohereEmbeddingRequest.Truncate) - Method in class org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions
- START - Enum constant in enum class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest.Truncate
-
Discards the start of the input.
- successCount() - Method in record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingResponse
-
Returns the value of the
successCountrecord component.
T
- TEXT - Enum constant in enum class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingModel.InputType
- texts() - Method in record class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest
-
Returns the value of the
textsrecord component. - texts() - Method in record class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingResponse
-
Returns the value of the
textsrecord component. - TITAN_EMBED_IMAGE_V1 - Enum constant in enum class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingModel
-
amazon.titan-embed-image-v1
- TITAN_EMBED_TEXT_V1 - Enum constant in enum class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingModel
-
amazon.titan-embed-text-v1
- TITAN_EMBED_TEXT_V2 - Enum constant in enum class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingModel
-
amazon.titan-embed-text-v2
- TitanEmbeddingBedrockApi - Class in org.springframework.ai.bedrock.titan.api
-
Java client for the Bedrock Titan Embedding model.
- TitanEmbeddingBedrockApi(String, String, Duration) - Constructor for class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi
-
Create a new TitanEmbeddingBedrockApi instance using the default credentials provider and default object mapper.
- TitanEmbeddingBedrockApi(String, AwsCredentialsProvider, String, ObjectMapper, Duration) - Constructor for class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi
-
Create a new TitanEmbeddingBedrockApi instance.
- TitanEmbeddingBedrockApi(String, AwsCredentialsProvider, Region, ObjectMapper, Duration) - Constructor for class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi
-
Create a new TitanEmbeddingBedrockApi instance.
- TitanEmbeddingBedrockApi.TitanEmbeddingModel - Enum Class in org.springframework.ai.bedrock.titan.api
-
Titan Embedding model ids.
- TitanEmbeddingBedrockApi.TitanEmbeddingRequest - Record Class in org.springframework.ai.bedrock.titan.api
-
Titan Embedding request parameters.
- TitanEmbeddingBedrockApi.TitanEmbeddingRequest.Builder - Class in org.springframework.ai.bedrock.titan.api
-
TitanEmbeddingRequest builder.
- TitanEmbeddingBedrockApi.TitanEmbeddingResponse - Record Class in org.springframework.ai.bedrock.titan.api
-
Titan Embedding response.
- TitanEmbeddingRequest(String, String) - Constructor for record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingRequest
-
Creates an instance of a
TitanEmbeddingRequestrecord class. - TitanEmbeddingResponse(float[], Integer, Integer, Integer, Map<String, Object>, Object, Object) - Constructor for record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingResponse
-
Creates an instance of a
TitanEmbeddingResponserecord class. - toPrompt(List<Message>) - Method in class org.springframework.ai.bedrock.MessageToPromptConverter
- toString() - Method in record class org.springframework.ai.bedrock.api.AbstractBedrockApi.AmazonBedrockInvocationMetrics
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingRequest
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingResponse
-
Returns a string representation of this record class.
- truncate() - Method in record class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest
-
Returns the value of the
truncaterecord component. - truncate(CohereEmbeddingBedrockApi.CohereEmbeddingRequest.Truncate) - Method in class org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions.Builder
V
- valueOf(String) - Static method in enum class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingModel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest.InputType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest.Truncate
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingModel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingModel.InputType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingModel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest.InputType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingRequest.Truncate
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingModel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingModel.InputType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withAssistantPrompt(String) - Method in class org.springframework.ai.bedrock.MessageToPromptConverter
- withHumanPrompt(String) - Method in class org.springframework.ai.bedrock.MessageToPromptConverter
- withInputType(BedrockTitanEmbeddingModel.InputType) - Method in class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingModel
-
Titan Embedding API input types.
- withInputType(BedrockTitanEmbeddingModel.InputType) - Method in class org.springframework.ai.bedrock.titan.BedrockTitanEmbeddingOptions.Builder
-
Deprecated.
All Classes and Interfaces|All Packages