Constructor for the JinaEmbeddings class.
Optional
fields: Partial<JinaEmbeddingsParams> & { An optional object with properties to configure the instance.
The API key to use for authentication.
If not provided, it will be read from the JINA_API_KEY
environment variable.
The model ID to use for generating embeddings.
Default: jina-embeddings-v2-base-en
Generated using TypeDoc
A class for generating embeddings using the Jina API.
Example