v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.4
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
prompt
role
LangChain.js - v0.2.4
langchain-anthropic
langchain-azure-openai
langchain-cloudflare
langchain-cohere
langchain-community
agents/toolkits
aws_sfn
base
connery
caches
cloudflare_kv
ioredis
momento
upstash_redis
callbacks/handlers
llmonitor
lunary
upstash_ratelimit
chains/graph_qa/cypher
chat_models
alibaba_tongyi
Loading...
Generated using
TypeDoc
Interface for the fields of a ChatMessagePromptTemplate.