medpromptjs
Preparing search index...
BaseAgent
Class BaseAgent
Index
Constructors
constructor
Properties
chat_
model
container
llm
prompt
runnable
Accessors
description
name
template
tools
Methods
camelize
initialize
resolve
run
snake_
case
Constructors
constructor
new
BaseAgent
(
container
:
any
)
:
BaseAgent
Parameters
container
:
any
Returns
BaseAgent
Properties
chat_
model
chat_model
:
boolean
container
container
:
any
llm
llm
:
LLM
prompt
prompt
:
any
runnable
runnable
:
any
Accessors
description
get
description
()
:
string
Returns
string
set
description
(
value
:
string
)
:
void
Parameters
value
:
string
Returns
void
name
get
name
()
:
string
Returns
string
set
name
(
value
:
string
)
:
void
Parameters
value
:
string
Returns
void
template
get
template
()
:
string
Returns
string
set
template
(
value
:
string
)
:
void
Parameters
value
:
string
Returns
void
tools
get
tools
()
:
ToolInterface
<
StringInputToolSchema
,
any
,
any
>
[]
Returns
ToolInterface
<
StringInputToolSchema
,
any
,
any
>
[]
set
tools
(
value
:
ToolInterface
<
StringInputToolSchema
,
any
,
any
>
[]
)
:
void
Parameters
value
:
ToolInterface
<
StringInputToolSchema
,
any
,
any
>
[]
Returns
void
Methods
camelize
camelize
(
str
:
string
)
:
string
Parameters
str
:
string
Returns
string
initialize
initialize
()
:
void
Returns
void
resolve
resolve
(
name
:
string
)
:
any
Parameters
name
:
string
Returns
any
run
run
(
input
:
any
)
:
Promise
<
ChainValues
>
Parameters
input
:
any
Returns
Promise
<
ChainValues
>
snake_
case
snake_case
(
str
:
string
)
:
string
Parameters
str
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
chat_
model
container
llm
prompt
runnable
Accessors
description
name
template
tools
Methods
camelize
initialize
resolve
run
snake_
case
medpromptjs
Loading...