v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.8
LangChain.js
langchain-ollama/experimental
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
(
)
:
Omit
<
ChatRequest
,
"messages"
>
Returns
Omit
<
ChatRequest
,
"messages"
>
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...