v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.8
LangChain.js
langchain-community/experimental/chat_models/ollama_functions
OllamaFunctions
Class OllamaFunctions
Hierarchy (
view full
)
Toolkit
<
ChatOllamaFunctionsCallOptions
>
OllamaFunctions
Index
Constructors
constructor
Properties
llm
tool
System
Prompt
Template
default
Response
Function
Methods
invocation
Params
Constructors
constructor
new
Ollama
Functions
(
fields
?
)
:
OllamaFunctions
Parameters
Optional
fields
:
any
Returns
OllamaFunctions
Properties
llm
llm
:
ChatOllama
tool
System
Prompt
Template
tool
System
Prompt
Template
:
string
= DEFAULT_TOOL_SYSTEM_TEMPLATE
Protected
default
Response
Function
default
Response
Function
:
{
description
:
string
;
name
:
string
;
parameters
:
{
properties
:
{
response
:
{
description
:
string
;
type
:
string
;
}
;
}
;
required
:
string
[]
;
type
:
string
;
}
;
}
= ...
Methods
invocation
Params
invocation
Params
(
)
:
{
format
:
any
;
keep_alive
:
string
;
model
:
string
;
options
:
{
embedding_only
:
undefined
|
boolean
;
f16_kv
:
undefined
|
boolean
;
frequency_penalty
:
undefined
|
number
;
logits_all
:
undefined
|
boolean
;
low_vram
:
undefined
|
boolean
;
main_gpu
:
undefined
|
number
;
mirostat
:
undefined
|
number
;
mirostat_eta
:
undefined
|
number
;
mirostat_tau
:
undefined
|
number
;
num_batch
:
undefined
|
number
;
num_ctx
:
undefined
|
number
;
num_gpu
:
undefined
|
number
;
num_gqa
:
undefined
|
number
;
num_keep
:
undefined
|
number
;
num_predict
:
undefined
|
number
;
num_thread
:
undefined
|
number
;
penalize_newline
:
undefined
|
boolean
;
presence_penalty
:
undefined
|
number
;
repeat_last_n
:
undefined
|
number
;
repeat_penalty
:
undefined
|
number
;
rope_frequency_base
:
undefined
|
number
;
rope_frequency_scale
:
undefined
|
number
;
stop
:
any
;
temperature
:
undefined
|
number
;
tfs_z
:
undefined
|
number
;
top_k
:
undefined
|
number
;
top_p
:
undefined
|
number
;
typical_p
:
undefined
|
number
;
use_mlock
:
undefined
|
boolean
;
use_mmap
:
undefined
|
boolean
;
vocab_only
:
undefined
|
boolean
;
}
;
}
Returns
{
format
:
any
;
keep_alive
:
string
;
model
:
string
;
options
:
{
embedding_only
:
undefined
|
boolean
;
f16_kv
:
undefined
|
boolean
;
frequency_penalty
:
undefined
|
number
;
logits_all
:
undefined
|
boolean
;
low_vram
:
undefined
|
boolean
;
main_gpu
:
undefined
|
number
;
mirostat
:
undefined
|
number
;
mirostat_eta
:
undefined
|
number
;
mirostat_tau
:
undefined
|
number
;
num_batch
:
undefined
|
number
;
num_ctx
:
undefined
|
number
;
num_gpu
:
undefined
|
number
;
num_gqa
:
undefined
|
number
;
num_keep
:
undefined
|
number
;
num_predict
:
undefined
|
number
;
num_thread
:
undefined
|
number
;
penalize_newline
:
undefined
|
boolean
;
presence_penalty
:
undefined
|
number
;
repeat_last_n
:
undefined
|
number
;
repeat_penalty
:
undefined
|
number
;
rope_frequency_base
:
undefined
|
number
;
rope_frequency_scale
:
undefined
|
number
;
stop
:
any
;
temperature
:
undefined
|
number
;
tfs_z
:
undefined
|
number
;
top_k
:
undefined
|
number
;
top_p
:
undefined
|
number
;
typical_p
:
undefined
|
number
;
use_mlock
:
undefined
|
boolean
;
use_mmap
:
undefined
|
boolean
;
vocab_only
:
undefined
|
boolean
;
}
;
}
format
:
any
keep_
alive
:
string
model
:
string
options
:
{
embedding_only
:
undefined
|
boolean
;
f16_kv
:
undefined
|
boolean
;
frequency_penalty
:
undefined
|
number
;
logits_all
:
undefined
|
boolean
;
low_vram
:
undefined
|
boolean
;
main_gpu
:
undefined
|
number
;
mirostat
:
undefined
|
number
;
mirostat_eta
:
undefined
|
number
;
mirostat_tau
:
undefined
|
number
;
num_batch
:
undefined
|
number
;
num_ctx
:
undefined
|
number
;
num_gpu
:
undefined
|
number
;
num_gqa
:
undefined
|
number
;
num_keep
:
undefined
|
number
;
num_predict
:
undefined
|
number
;
num_thread
:
undefined
|
number
;
penalize_newline
:
undefined
|
boolean
;
presence_penalty
:
undefined
|
number
;
repeat_last_n
:
undefined
|
number
;
repeat_penalty
:
undefined
|
number
;
rope_frequency_base
:
undefined
|
number
;
rope_frequency_scale
:
undefined
|
number
;
stop
:
any
;
temperature
:
undefined
|
number
;
tfs_z
:
undefined
|
number
;
top_k
:
undefined
|
number
;
top_p
:
undefined
|
number
;
typical_p
:
undefined
|
number
;
use_mlock
:
undefined
|
boolean
;
use_mmap
:
undefined
|
boolean
;
vocab_only
:
undefined
|
boolean
;
}
embedding_
only
:
undefined
|
boolean
f16_
kv
:
undefined
|
boolean
frequency_
penalty
:
undefined
|
number
logits_
all
:
undefined
|
boolean
low_
vram
:
undefined
|
boolean
main_
gpu
:
undefined
|
number
mirostat
:
undefined
|
number
mirostat_
eta
:
undefined
|
number
mirostat_
tau
:
undefined
|
number
num_
batch
:
undefined
|
number
num_
ctx
:
undefined
|
number
num_
gpu
:
undefined
|
number
num_
gqa
:
undefined
|
number
num_
keep
:
undefined
|
number
num_
predict
:
undefined
|
number
num_
thread
:
undefined
|
number
penalize_
newline
:
undefined
|
boolean
presence_
penalty
:
undefined
|
number
repeat_
last_
n
:
undefined
|
number
repeat_
penalty
:
undefined
|
number
rope_
frequency_
base
:
undefined
|
number
rope_
frequency_
scale
:
undefined
|
number
stop
:
any
temperature
:
undefined
|
number
tfs_
z
:
undefined
|
number
top_
k
:
undefined
|
number
top_
p
:
undefined
|
number
typical_
p
:
undefined
|
number
use_
mlock
:
undefined
|
boolean
use_
mmap
:
undefined
|
boolean
vocab_
only
:
undefined
|
boolean
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
llm
tool
System
Prompt
Template
default
Response
Function
Methods
invocation
Params
LangChain.js - v0.2.8
Loading...