Constructor for the FireworksEmbeddings class.
Optional
fields: Partial<FireworksEmbeddingsParams> & { An optional object with properties to configure the instance.
Optional
baseThe maximum number of documents to embed in a single request. This is limited by the Fireworks AI API to a maximum of 8.
The async caller should be used by subclasses to make any async calls, which will thus benefit from the concurrency and retry logic.
Optional
headersModel name to use.
A class for generating embeddings using the Fireworks AI API.