Class: Ollama
Unified language model interface
Hierarchy
-
↳
Ollama
Implements
Constructors
constructor
• new Ollama(init
): Ollama
Parameters
Name | Type |
---|---|
init | Partial <Ollama > & { model : string ; modelMetadata? : Partial <LLMMetadata > } |
Returns
Overrides
Defined in
packages/core/src/llm/ollama.ts:39
Properties
additionalChatOptions
• Optional
additionalChatOptions: Record
<string
, unknown
>
Defined in
packages/core/src/llm/ollama.ts:35
baseURL
• baseURL: string
= "http://127.0.0.1:11434"
Defined in
packages/core/src/llm/ollama.ts:30
contextWindow
• contextWindow: number
= 4096
Defined in
packages/core/src/llm/ollama.ts:33
embedBatchSize
• embedBatchSize: number
= DEFAULT_EMBED_BATCH_SIZE
Inherited from
Defined in
packages/core/src/embeddings/types.ts:9
hasStreaming
• Readonly
hasStreaming: true
Defined in
packages/core/src/llm/ollama.ts:26
model
• model: string
Defined in
packages/core/src/llm/ollama.ts:29