Open agilebean opened 8 months ago
Hi, @agilebean,
I'm helping the LangChain team manage their backlog and am marking this issue as stale. The issue you opened requests the integration of the 'voice' parameter into the Elevenlabs-langchain API to address the random switching of voices with each execution of the 'play()' function. There hasn't been any further activity or comments on the issue.
Could you please confirm if this issue is still relevant to the latest version of the LangChain repository? If it is, please let the LangChain team know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days. Thank you!
It's still valid and relevant as ever to fix this issue. Without it, the API from ElevenLabs is not usable!
π€
@baskaryan, could you please assist @agilebean with the integration of the 'voice' parameter into the Elevenlabs-langchain API? The issue is still relevant and crucial for the usability of the API. Thank you!
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a π if this is helpful and π if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
I'm also needing this feature
please reopen, otherwise the Elevenlabs API is unusable!
Feature request
The langchain API integration Elevenlabs should accomodate the very important parameter
voice
.Motivation
Without the voice parameter, the Elevenlabs langchain integration is unusable because
play()
switches the voice randomly with every execution.Your contribution
I tracked down the releveant code in the Elevenlabs-langchain integration API down to this section:
The calls to
elevenlabs.generate
andelevenlabs.play
must be extended with thevoice
parameter.After this change, the langchain calls
run
,play
, and importantly,stream_speech
, could be made analogue the calls from the ElevenLabs API, e.g. seen in this repo: