Deprecated

Use BaseEmbeddings instead - will be removed in a future release

Hierarchy (view full)

Constructors

Properties

_additionalSettings: Record<string, any> = {}

Protected property to store additional provider-specific settings

Accessors

  • get AdditionalSettings(): Record<string, any>
  • Get the current additional settings

    Returns Record<string, any>

  • get apiKey(): string
  • Only sub-classes can access the API key

    Returns string

Methods

  • Set additional provider-specific settings Subclasses should override this method to validate required settings

    Parameters

    • settings: Record<string, any>

      Provider-specific settings

    Returns void