medpromptjs
Preparing search index...
BaseChain
Class BaseChain
Hierarchy (
View Summary
)
BaseChain
BaseAgent
LLMLoop
Index
Constructors
constructor
Properties
chat_
model
container
fake
LLM
llm
prompt
runnable
Accessors
description
name
template
Methods
camelize
chain
initialize
Prompt
invoke
resolve
snake_
case
Constructors
constructor
new
BaseChain
(
container
:
any
)
:
BaseChain
Parameters
container
:
any
Returns
BaseChain
Properties
chat_
model
chat_model
:
boolean
container
container
:
any
fake
LLM
fakeLLM
:
FakeListChatModel
= ...
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
Methods
camelize
camelize
(
str
:
string
)
:
string
Parameters
str
:
string
Returns
string
chain
chain
(
input
:
any
)
:
Promise
<
any
>
Parameters
input
:
any
Returns
Promise
<
any
>
initialize
Prompt
initializePrompt
()
:
void
Returns
void
invoke
invoke
(
input
:
any
)
:
Promise
<
any
>
Parameters
input
:
any
Returns
Promise
<
any
>
resolve
resolve
(
name
:
string
,
defaultValue
?:
any
)
:
any
Parameters
name
:
string
defaultValue
:
any
= null
Returns
any
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
fake
LLM
llm
prompt
runnable
Accessors
description
name
template
Methods
camelize
chain
initialize
Prompt
invoke
resolve
snake_
case
medpromptjs
Loading...