Interface BedrockEmbeddingsParams

Interface that extends EmbeddingsParams and defines additional parameters specific to the BedrockEmbeddings class.

interface BedrockEmbeddingsParams {
    client?: BedrockRuntimeClient;
    credentials?: CredentialType;
    model?: string;
    region?: string;
}

Hierarchy (view full)

Implemented by

Properties

client?: BedrockRuntimeClient

A client provided by the user that allows them to customze any SDK configuration options.

credentials?: CredentialType
model?: string

Model Name to use. Defaults to amazon.titan-embed-text-v1 if not provided

region?: string