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

enhancement: TTS skip code sections #2152

Open
pcapazzi opened this issue May 9, 2024 · 2 comments
Open

enhancement: TTS skip code sections #2152

pcapazzi opened this issue May 9, 2024 · 2 comments
Labels
good first issue Good for newcomers
Milestone

Comments

@pcapazzi
Copy link

pcapazzi commented May 9, 2024

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Text to Speech always reads aloud code snippets (python, sql, etc)

Describe the solution you'd like
A clear and concise description of what you want to happen.
It would be great if in settings there is an option to have TTS skip code sections.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I asked the LLM to not read aloud the code but it continued to do so.

Additional context
Add any other context or screenshots about the feature request here.
Nothing else to add. Lots to love about this app though... great work!

@lee-b
Copy link

lee-b commented May 10, 2024

Personally, I think this would help, but would be better as part of a more mode-based UX, where you tell the system that you're now in voice conversation mode, and it adds something to the prompt along the lines of "You are communicating with the user via voice, so try to interpret spelling errors (from the speech recognition engine), keep answers brief and conversational, and avoid code listings and other things which are best presented visually. The user cannot hear any code blocks." THEN, if the model still outputs code blocks, they could be ignored, and the LLM would understand why you ignore them in your responses.

@tjbck tjbck changed the title Have an option for TTS to skip code sections enhancement: TTS skip code sections May 10, 2024
@tjbck tjbck added the good first issue Good for newcomers label May 10, 2024
@silentoplayz
Copy link
Collaborator

Related comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants