Ask a question to get started
Enter to sendā¢Shift+Enter new line
create_message( *, message: str, error_code: ErrorCode, ) -> str
message
str
The message to display.
error_code
ErrorCode
The error code to display.
Create a message with a link to the LangChain troubleshooting guide.
Example:
create_message( message="Failed to parse output", error_code=ErrorCode.OUTPUT_PARSING_FAILURE, ) "Failed to parse output. For troubleshooting, visit: ..."