Class: OllamaEmbedding
OllamaEmbedding is an alias for Ollama that implements the BaseEmbedding interface.
Extends
Implements
Constructors
new OllamaEmbedding()
new OllamaEmbedding(
params
):OllamaEmbedding
Parameters
• params: OllamaParams
Returns
Inherited from
Source
packages/core/src/llm/ollama.ts:75
Properties
embedBatchSize
embedBatchSize:
number
=DEFAULT_EMBED_BATCH_SIZE
Implementation of
BaseEmbedding
. embedBatchSize
Inherited from
Source
packages/core/src/embeddings/types.ts:21
embedInfo?
optional
embedInfo:EmbeddingInfo
Implementation of
Inherited from
Source
packages/core/src/embeddings/types.ts:22
hasStreaming
readonly
hasStreaming:true
=true
Inherited from
Source
packages/core/src/llm/ollama.ts:61