v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/community
chat_models/bedrock/web
convertMessagesToPromptAnthropic
Function convertMessagesToPromptAnthropic
convert
Messages
To
Prompt
Anthropic
(
messages
,
humanPrompt
?
,
aiPrompt
?
)
:
string
Parameters
messages
:
BaseMessage
[]
humanPrompt
:
string
= "\n\nHuman:"
aiPrompt
:
string
= "\n\nAssistant:"
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LangChain.js
Loading...