yacineMTB / talk

Let's make sand talk
587 stars 43 forks source link

better transcription and conversation console logs #41

Closed gd3kr closed 1 year ago

gd3kr commented 1 year ago

Reduces noise in the transcript and conversation console logs

The problem this solves

The current logging system pollutes the console by printing entire event objects making it hard to follow the conversation (see before and after images).

Before Screenshot from 2023-07-07 01-27-32

After Screenshot from 2023-07-07 01-33-41

Quick Fix:

Maintains a buffer that stores the conversation and the latest transcription and logs it to console every 100 milliseconds.

Concerns:

Since raw events are no longer logged to the console, it might make it harder to debug. Although it wouldn't be too hard to add a debug flag in the future.

PS: Awesome work Yacine and team! Love this project and will keep pushing PRs :)

yacineMTB commented 1 year ago

Thank you for this! But this is actually on purpose :)