[FR] Should capture the error message after the error occurs in reply() in core.conversation.py #216
Labels
enhancement
New feature or request
Error Handling
fr
Feature Request
sessions
Relating to DFCX Sessions Class
Is your proposal related to a problem?
Problem:
Whenever we are running the end to end test using reply function or running the nlu test using intent_detection function, it would be good if it captures the error message and indicate it to the user.
Solution:
when either 4xx (Client error) or 5xx (internal error) error occurs, instead of passing an empty dictionary, we should pass the error data that specifies the error message to quality check the agent behavior.
` try:
response = session_client.detect_intent(request=request)
`
The text was updated successfully, but these errors were encountered: