OptionalclientA client provided by the user that allows them to customze any SDK configuration options.
OptionalclientOverrideable configuration options for the BedrockRuntimeClient. Allows customization of client configuration such as requestHandler, etc. Will be ignored if 'client' is provided.
OptionalcredentialsOptionaldimensionsThe number of dimensions for the output embeddings. Only supported by certain models (e.g., Amazon Titan Embed Text v2, Cohere Embed). If not specified, uses the model's default.
OptionalmodelModel Name to use. Defaults to amazon.titan-embed-text-v1 if not provided
OptionalmodelAdditional parameters to pass to the model as part of the InvokeModel request body.
These are merged into the request payload, allowing model-specific options
like normalize, embeddingTypes, etc.
If dimensions is also provided as a top-level parameter, it will take
precedence over a dimensions key set in modelParameters.
Optionalregion
Interface that extends EmbeddingsParams and defines additional parameters specific to the BedrockEmbeddings class.