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

indication if AI mode is properly configured #2192

Open
fwild opened this issue Nov 21, 2024 · 3 comments
Open

indication if AI mode is properly configured #2192

fwild opened this issue Nov 21, 2024 · 3 comments

Comments

@fwild
Copy link
Collaborator

fwild commented Nov 21, 2024

provide some feedback on all the pitfalls - like credit running low, microphone off, etc.

@AKissMail
Copy link
Collaborator

I would take out the credit aspect since that is nothing that we want to expose to the User and a lack of design is also blocking. I can add that to the existing UI but would be nice to have a design and make it more final.

@AKissMail
Copy link
Collaborator

We could take the low credit in to that ticket:

https://github.com/WEKIT-ECS/lxr/issues/66

@AKissMail
Copy link
Collaborator

Hi @fominykh, I have worked through the code and believe we need UI elements to communicate the following five events:

  1. An audio clip is empty or null: This typically indicates an issue with microphone permissions. The AiServicesAudioClipIsEmpty event is triggered in such cases.
  2. Message to an LLM/RAG or a TTS model is empty: The AiServicesMessageIsNull event is triggered in this scenario. Currently, this happens only if the recording fails. However, if we add a mode to chat via a keyboard, this could occur independently as well.
  3. Bad configuration of a VI or other model: The AiServicesConfigurationIsBad event is triggered in such cases, indicating that something is wrong with the lesson or configuration.
  4. User session issues: The AiServicesLoginFailed event is triggered if the user session has expired or the user has not logged in.
  5. Generic HTTP request failures: The AiServicesHttpRequestFailed event covers all issues not addressed above. These may include no internet connection, internal server errors, or unavailable servers. This event should prompt the user to verify their internet connection. If the issue persists, a support ticket should be opened.

The events are already implemented and pushed to this branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants