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

feat: add direct speech handling endpoint with ElevenLabs integration #1526

Closed
wants to merge 1 commit into from

Conversation

HowieDuhzit
Copy link
Contributor

  • Implemented a new POST endpoint /:agentId/speak for processing user messages and generating speech responses.
  • Integrated ElevenLabs API for text-to-speech conversion, including error handling for API responses.
  • Enhanced message processing and memory management for agent interactions.
  • Added necessary imports for node-fetch and formdata-node to support new functionality.

Relates to:

Risks

Background

What does this PR do?

What kind of change is this?

Documentation changes needed?

Testing

Where should a reviewer start?

Detailed testing steps

- Implemented a new POST endpoint `/:agentId/speak` for processing user messages and generating speech responses.
- Integrated ElevenLabs API for text-to-speech conversion, including error handling for API responses.
- Enhanced message processing and memory management for agent interactions.
- Added necessary imports for `node-fetch` and `formdata-node` to support new functionality.
@HowieDuhzit HowieDuhzit deleted the howie/speak branch December 28, 2024 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant