Preparing search index...
The search index is not available
LangChain.js - v0.1.37
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
Theme
OS
Light
Dark
LangChain.js - v0.1.37
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
chat_models
alibaba_tongyi
baiduwenxin
bedrock
Loading...
Generated using
TypeDoc