class OllamaEmbeddingsThe async caller should be used by subclasses to make any async calls, which will thus benefit from the concurrency and retry logic.
convert camelCased Ollama request options like "useMMap" to the snake_cased equivalent which the ollama API actually uses. Used only for consistency with the llms/Ollama and chatModels/Ollama classes
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 abstract method that takes a single document as input and returns a promise that resolves to a vector for the query document.