Skip to content
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

Add meaningful errors in the chat interface #238

Open
3coins opened this issue Jun 23, 2023 · 1 comment
Open

Add meaningful errors in the chat interface #238

3coins opened this issue Jun 23, 2023 · 1 comment
Assignees
Labels
bug Something isn't working @jupyter-ai/chatui

Comments

@3coins
Copy link
Collaborator

3coins commented Jun 23, 2023

Summary

If an error occurs during a chat session for any reason, an error related to the indexing is always returned to the user, along with the exception stack trace. This not useful for the user to identify and correct the problem.

Sorry, something went wrong and I wasn't able to index that path.

Solution

Identify common issues, for example incorrect api key, timeout etc. and return a meaningful error to the user. In case where errors are not known, a generic error should be returned without the full stacktrace.

@JasonWeill
Copy link
Collaborator

#398 rewrites "index that path" to "process that message"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working @jupyter-ai/chatui
Projects
None yet
Development

No branches or pull requests

2 participants