coronasafe / ayushma

Empowering Nurses with Multilingual ICU Protocols. Leveraging the rapid advancements in AI technology, created multilingual interfaces that assist nurses in rapidly upgrading their knowledge about ICU protocols.
https://ayushma-api.ohc.network
MIT License
7 stars 8 forks source link

Enhance Error Messaging by Specifying Failure in STT, TTS, or LLM Components #430

Closed Ashesh3 closed 1 month ago

Ashesh3 commented 4 months ago

Our current error messages are verbose and lack clarity in pinpointing the exact component failure, whether it's Speech-to-Text (STT), Text-to-Speech (TTS), or Language Learning Models (LLM). We need to improve our error handling to provide more user-friendly and specific error messages.

Problem Statement:

Proposed Solution:

  1. Implement Component-Specific Error Messages: Revise our error handling mechanism to include component-specific tags or identifiers (STT, TTS, LLM) in the error messages.
  2. Simplify Error Language: Make the error messages less technical and more understandable to a general audience.

Goals:

Additional Notes:

MAVRICK-1 commented 2 months ago

is this issue still open can you assign me this ?

Ashesh3 commented 2 months ago

@MAVRICK-1 Hey, yes the issue is still open. The frontend changes are done and its ready to accept the error along with the point of failure, all you have to do is return the error along with the component which failed from the backend side.

Example: STT: Failed to transcribe voice LLM: Failed to connect to openai

etc.

Ashesh3 commented 2 months ago

@MAVRICK-1 any updates on this issue?

MAVRICK-1 commented 2 months ago

@MAVRICK-1 any updates on this issue?

Sorry, My exams are going on , I wasn't able to look at it . You can assign this to anyone else.

Ashesh3 commented 2 months ago

No worries, I'll keep you assigned till someone else wants to take this up. Feel free to unassign yourself if you are no longer interested to work on this.

aeswibon commented 1 month ago

@Ashesh3 I would like to work if Mavrick is not working on it.