This is a Discord bot that uses AI to generate summaries of chat conversations in both text and audio format.
- Summarize chat conversations with the
/tldrcommand. - Test the bot with the
/testcommand.
- Clone the repository.
- Install dependencies with
npm install. - Create a
.envfile in the root directory and add your environment variables specified in.env.examplefile. - Build the project with
npm run build. - Start the bot with
npm start.
/tldr: Generates a summary of the chat conversation in both text as well as audio format./test: For testing purpose only.
getAIResponseV2: Generates a summary of a chat conversation.getAudioUrlFromText: Converts text to speech and returns the audio URL.fileUpload: Uploads a file to Supabase.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
ISC