Class: OllamaEmbedding
OllamaEmbedding is an alias for Ollama that implements the BaseEmbedding interface.
Hierarchy
-
↳
OllamaEmbedding
Implements
Constructors
constructor
• new OllamaEmbedding(init
): OllamaEmbedding
Parameters
Name | Type |
---|---|
init | Partial <Ollama > & { model : string } |
Returns
Inherited from
Defined in
packages/core/src/llm/ollama.ts:40