Optional params: OllamaEmbeddingsParamsThe async caller should be used by subclasses to make any async calls, which will thus benefit from the concurrency and retry logic.
Optional requestOptional embedding_Optional f16_Optional frequency_Optional logits_Optional low_Optional main_Optional mirostat?: numberOptional mirostat_Optional mirostat_Optional num_Optional num_Optional num_Optional num_Optional num_Optional num_Optional penalize_Optional presence_Optional repeat_Optional repeat_Optional rope_Optional rope_Optional stop?: string[]Optional temperature?: numberOptional tfs_Optional top_Optional top_Optional typical_Optional use_Optional use_Optional vocab_An abstract method that takes an array of documents as input and returns a promise that resolves to an array of vectors for each document.
An array of documents to be embedded.
A promise that resolves to an array of vectors for each document.
An abstract method that takes a single document as input and returns a promise that resolves to a vector for the query document.
A single document to be embedded.
A promise that resolves to a vector for the query document.
Generated using TypeDoc
An abstract class that provides methods for embedding documents and queries using LangChain.