v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.8
LangChain.js
langchain-core/prompts
ChatMessagePromptTemplateFields
Interface ChatMessagePromptTemplateFields<T>
Interface for the fields of a ChatMessagePromptTemplate.
interface
ChatMessagePromptTemplateFields
<
T
>
{
prompt
:
BaseStringPromptTemplate
<
T
,
string
>
;
role
:
string
;
}
Type Parameters
T
extends
InputValues
=
any
Hierarchy (
view full
)
MessageStringPromptTemplateFields
<
T
>
ChatMessagePromptTemplateFields
Index
Properties
prompt
role
Properties
prompt
prompt
:
BaseStringPromptTemplate
<
T
,
string
>
role
role
:
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
prompt
role
LangChain.js - v0.2.8
Loading...
Interface for the fields of a ChatMessagePromptTemplate.