Pedal-Intelligence / saypi-userscript

An independent voice interface for Inflection AI's conversational assistant, Pi
https://www.saypi.ai/
Other
15 stars 3 forks source link

Say, Pi v1.4.8 - Conversational Tempo Adjustment #47

Closed rosscado closed 7 months ago

rosscado commented 7 months ago

Summary

This PR implements the client-side adjustments needed to utilise the new conversational tempo feature from the Say, Pi API. It incorporates the tempo into the delay calculation before submitting user prompts to the chatbot, providing a more natural conversational pace.

Changes

Rationale

The client-side update complements the API's conversational tempo feature by ensuring that the timing of the chatbot's responses feels natural for the user. It creates a more dynamic and responsive user experience, tailored to the speech patterns of each individual user.

Testing

rosscado commented 7 months ago

The unit test written for this feature is disabled in this commit, pending merge with Jest changes from the merge feature branch (coming soon).