Closed JarbasAl closed 1 week ago
[!CAUTION]
Review failed
The pull request is closed.
The pull request introduces enhancements to the ovos_persona
module, specifically within the Persona
and PersonaService
classes in __init__.py
, and the QuestionSolversService
class in solvers.py
. A new stream
method is added to the Persona
class for streaming chat completions, while the chatbox_ask
method in PersonaService
is updated to handle streaming responses. Additionally, a new stream_completion
method replaces the spoken_answer
method in solvers.py
, allowing for streaming responses from chat modules. Error handling is also improved across the affected methods.
File | Change Summary |
---|---|
ovos_persona/init.py | - Added stream method to Persona class. - Updated chatbox_ask method to include stream parameter. - Modified error handling in handle_persona_query for streaming responses. - Adjusted match_low method for persona selection. |
ovos_persona/solvers.py | - Added stream_completion method, replacing spoken_answer . - Updated chat_completion method to include units parameter. - Added import for Iterable . |
chatbox_ask
method in the PersonaService
class, which is directly related to the modifications made in the main PR regarding the addition of the stream
parameter.In the land of chat and stream,
Our personas dance and gleam.
With every word, a tale unfolds,
New methods bring the magic bold.
So let us hop and cheer with glee,
For streaming chats are now set free! 🐇✨
[!WARNING]
Rate limit exceeded
@github-actions[bot] has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 1 minutes and 10 seconds before requesting another review.
⌛ How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.🚦 How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://docs.coderabbit.ai/faq) for further information.📥 Commits
Reviewing files that changed from the base of the PR and between 8751591128cbb16c1f768700e329534ab87addfb and 92c29efba17e077d414b27e846c4ede07afbd51c.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
stream utterances for speed
Summary by CodeRabbit
New Features
Improvements