Type Alias OllamaFunctionsInput
OllamaFunctionsInput: { baseUrl?: undefined | string; cache?: undefined | boolean | BaseCache<Generation[]>; callbackManager?: undefined | CallbackManager; callbacks?: undefined | Callbacks; embeddingOnly?: undefined | boolean; f16KV?: undefined | boolean; format?: undefined | StringWithAutocomplete<"json">; frequencyPenalty?: undefined | number; headers?: undefined | Record<string, string>; keepAlive?: undefined | string; llm?: undefined | ChatOllama; logitsAll?: undefined | boolean; lowVram?: undefined | boolean; mainGpu?: undefined | number; maxConcurrency?: undefined | number; maxRetries?: undefined | number; metadata?: undefined | Record<string, unknown>; mirostat?: undefined | number; mirostatEta?: undefined | number; mirostatTau?: undefined | number; model?: undefined | string; numBatch?: undefined | number; numCtx?: undefined | number; numGpu?: undefined | number; numGqa?: undefined | number; numKeep?: undefined | number; numPredict?: undefined | number; numThread?: undefined | number; onFailedAttempt?: undefined | FailedAttemptHandler; penalizeNewline?: undefined | boolean; presencePenalty?: undefined | number; repeatLastN?: undefined | number; repeatPenalty?: undefined | number; ropeFrequencyBase?: undefined | number; ropeFrequencyScale?: undefined | number; stop?: undefined | string[]; tags?: undefined | string[]; temperature?: undefined | number; tfsZ?: undefined | number; toolSystemPromptTemplate?: undefined | string; topK?: undefined | number; topP?: undefined | number; typicalP?: undefined | number; useMLock?: undefined | boolean; useMMap?: undefined | boolean; verbose?: undefined | boolean; vocabOnly?: undefined | boolean; } Type declaration
Optional
baseUrl?: undefined | string
Optional
cache?: undefined | boolean | BaseCache<Generation[]>
Optional
callbackManager?: undefined | CallbackManager
Optional
callbacks?: undefined | Callbacks
Optional
embeddingOnly?: undefined | boolean
Optional
f16KV?: undefined | boolean
Optional
format?: undefined | StringWithAutocomplete<"json">
Optional
frequencyPenalty?: undefined | number
Optional
headers?: undefined | Record<string, string>
Optional
keepAlive?: undefined | string
Optional
llm?: undefined | ChatOllama
Optional
logitsAll?: undefined | boolean
Optional
lowVram?: undefined | boolean
Optional
mainGpu?: undefined | number
Optional
maxConcurrency?: undefined | number
Optional
maxRetries?: undefined | number
Optional
metadata?: undefined | Record<string, unknown>
Optional
mirostat?: undefined | number
Optional
mirostatEta?: undefined | number
Optional
mirostatTau?: undefined | number
Optional
model?: undefined | string
Optional
numBatch?: undefined | number
Optional
numCtx?: undefined | number
Optional
numGpu?: undefined | number
Optional
numGqa?: undefined | number
Optional
numKeep?: undefined | number
Optional
numPredict?: undefined | number
Optional
numThread?: undefined | number
Optional
onFailedAttempt?: undefined | FailedAttemptHandler
Optional
penalizeNewline?: undefined | boolean
Optional
presencePenalty?: undefined | number
Optional
repeatLastN?: undefined | number
Optional
repeatPenalty?: undefined | number
Optional
ropeFrequencyBase?: undefined | number
Optional
ropeFrequencyScale?: undefined | number
Optional
stop?: undefined | string[]
Optional
tags?: undefined | string[]
Optional
temperature?: undefined | number
Optional
tfsZ?: undefined | number
Optional
toolSystemPromptTemplate?: undefined | string
Optional
topK?: undefined | number
Optional
topP?: undefined | number
Optional
typicalP?: undefined | number
Optional
useMLock?: undefined | boolean
Optional
useMMap?: undefined | boolean
Optional
verbose?: undefined | boolean
Optional
vocabOnly?: undefined | boolean
Deprecated
Use
callbacks
instead