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 support for text to speech in chat responses #821

Merged
merged 14 commits into from
Jun 21, 2024

Conversation

sabaimran
Copy link
Collaborator

  • Integrate Eleven Labs for streaming speech responses for chat messages
  • It currently only works once the entire audio message has been streamed to the client, which can make the wait time pretty long. Compensate for this by adding a loading symbol while waiting for the stream.

@sabaimran sabaimran added the upgrade New feature or request label Jun 18, 2024
Copy link
Member

@debanjum debanjum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! This will make it easier to interact with Khoj when mobile and share Khoj's responses with folks in physical proximity

src/khoj/processor/speech/text_to_speech.py Outdated Show resolved Hide resolved
src/khoj/processor/speech/text_to_speech.py Outdated Show resolved Hide resolved
src/khoj/interface/web/chat.html Outdated Show resolved Hide resolved
@sabaimran sabaimran merged commit b9966eb into master Jun 21, 2024
11 of 13 checks passed
@sabaimran sabaimran deleted the features/text_to_speech branch June 21, 2024 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upgrade New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants