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

interface BedrockEmbeddingsParams {
    client?: BedrockRuntimeClient;
    credentials?: AwsCredentialIdentity | Provider<AwsCredentialIdentity>;
    model?: string;
    region?: string;
}

Hierarchy

  • EmbeddingsParams
    • BedrockEmbeddingsParams

Implemented by

Properties

client?: BedrockRuntimeClient

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

credentials?: AwsCredentialIdentity | Provider<AwsCredentialIdentity>
model?: string

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

region?: string

Generated using TypeDoc