v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.7
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.7
langchain-anthropic
langchain-aws
langchain-azure-dynamic-sessions
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
Loading...
Generated using
TypeDoc
Interface for the fields of a ChatMessagePromptTemplate.