fix: add back user.py docstring

This commit is contained in:
Shiven Mian 2024-02-03 19:29:03 -08:00
parent 9e5fe73fba
commit 5f1be31562
1 changed files with 13 additions and 0 deletions

13
OS/01/user/user.py Normal file
View File

@ -0,0 +1,13 @@
"""
Handles everything the user interacts through.
Connects to a websocket at /user. Sends shit to it, and displays/plays the shit it sends back.
For now, just handles a spacebar being pressed for the duration it's pressed,
it should record audio.
SIMPLEST POSSIBLE: Sends that audio to OpenAI whisper, gets the transcript,
sends it to /user in LMC format (role: user, etc)
MOST FUTUREPROOF: Streams chunks of audio to /user, which will then handle stt in stt.py.
"""