A javascript based speech recog llm discord bot.
Project is currently being built...
Changelog 1.2
old methods
!join used to join the channel you want it to listen in.
!disc used to make it leave voicechannel.
!savegpt -- saves the prompt locally
!runVoice -- plays the prompt via discord
Cleaned up a lot of messy code and comments.
Changed gpt to automatically output the question directly however there does seem to be some sorta problem with the audio player just deciding to stop randomly. I am still not sure what causes this
connection to discord lost, some sorta bug in the audioplayer, hmm. sometimes it works fine.
So frey now sends a response back which in turn activates her to speak.
!gpt -- generates the prompt sent to gpt takes a user input after the command. example : !gpt what is a dog
To run this, you need to have a .env file setup with the right values
an api key from your prefered llm, and if not openai you need to change the api calls
if you prefer a different voice to read, you can look into the pay voices, the big ones, azure,google,whisper. or train your own neural voice.
todo
Fix the speech recog to work so methods aren't needed
change the vc to be dynamically set.