-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Role Field missing error in ChatMessagePromptTemplate #1351
Comments
🤖 Hello @udit050500! 👋 I'm Dosu, a friendly bot here to assist you with your Langflow issues. While you're waiting for a human maintainer, consider me your bug-busting buddy. Let's tackle this head-on together, shall we? 🤖 🐛 Based on the information provided, it seems like the The error message suggests that the Unfortunately, I couldn't find explicit definitions or requirements for Also, please ensure that the I hope this helps! If you have any more questions or need further clarification, feel free to ask. SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
…essagePromptTemplate init had role properties,but the params not passing through issue:langflow-ai#1351
Hello @chenhongsheng, I trust all is going smoothly. |
@Cristhianzl yes, it had been merged |
Was the issue you were experiencing resolved, @chenhongsheng? |
Unable to validate the ChatMessagePromptTemplate. Getting role field missing error. Looking forward for help or any pointer to resolve the issue.
Describe the bug
Getting following error while using ChatMessagePromptTemplate:
ValueError: Error building node ChatMessagePromptTemplate: 1 validation error for ChatMessagePromptTemplate
role field required (type=value_error.missing)
Browser and Version
To Reproduce
Steps to reproduce the behavior:
role
field required (type=value_error.missing)
Screenshots
![1](https://private-user-images.githubusercontent.com/57041421/297374612-93defc0e-75f3-4a6e-8566-3ae27b328da6.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMwNzUxODYsIm5iZiI6MTcyMzA3NDg4NiwicGF0aCI6Ii81NzA0MTQyMS8yOTczNzQ2MTItOTNkZWZjMGUtNzVmMy00Y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dkNzAwYjliZDcyYTE3YjBlYmJkOWRiZDBiMzUwN2UyZmFjZTk3ZjI0NTE0OTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.3uCV9LddvYU73XY1qiaJfrEk5PBpf8mMUykWDAEleMw)
The text was updated successfully, but these errors were encountered: