Error
Prompt Canvas
POST
Error
Documentation Index
Fetch the complete documentation index at: https://langchain-5e9cc07a-preview-mdrxyd-1779813393-7298843.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Body
application/json
messages
(AIMessage · object | HumanMessage · object | ChatMessage · object | SystemMessage · object | FunctionMessage · object | ToolMessage · object | AIMessageChunk · object | HumanMessageChunk · object | ChatMessageChunk · object | SystemMessageChunk · object | FunctionMessageChunk · object | ToolMessageChunk · object)[]
required
Message from an AI.
An AIMessage is returned from a chat model as a response to a prompt.
This message represents the output of the model and consists of both the raw output as returned by the model and standardized fields (e.g., tool calls, usage metadata) added by the LangChain framework.
- AIMessage
- HumanMessage
- ChatMessage
- SystemMessage
- FunctionMessage
- ToolMessage
- AIMessageChunk
- HumanMessageChunk
- ChatMessageChunk
- SystemMessageChunk
- FunctionMessageChunk
- ToolMessageChunk
Available options:
f-string, mustache Available options:
shortest, short, long, longest Available options:
child, teenager, college, phd Response
Successful Response

