v1.0.0
Initial version is a slack bot that sits in on 1/1 slack channels, records slack huddles, and categorizes the comments into performance related buckets. The intention is to showcase the ability to create structure out of unstructured data.
TODO [ ] Hello world slack bot [ ] Recall integration to sit in on slack huddles [ ] Return a transcript of the slack huddle [ ] Categorize slack huddles into performance related buckets [ ] Post back into the slack channel the performance related summary [ ] Store the summary, video recording, and the transcript in a database [ ] Admin page to see a video recording and the transcript, along with the performance related buckets [ ] Deploy with Tony Grillo, ForKeeps
To install Deno, run the following command in your terminal:
curl -fsSL https://deno.land/x/install/install.sh | shCreate a .env file in the root directory of your project copy the variables in the .env.example file into it. They include:
RECALL_API_KEY=your_recall_api_key
SLACK_BOT_TOKEN=your_slack_bot_token
PYTHON_BACKEND_API=your_python_backend_api_keyDeno manages dependencies through direct URL imports. Ensure that all necessary dependencies are correctly imported in your code. For example, to import the dotenv package, add the following import statement to your code:
import "https://deno.land/x/dotenv/load.ts";For more information on Deno packages, visit the Deno third-party modules page.
The database url is in the .env.example file. Copy this value to your .env file. Then run this command to generate Prisma client:
deno task prisma-generate- Run
deno task devin the terminal
There are two scripts in the application- one posts a conversation transcript to Slack while the other posts a summary gotten from OpenAI.
- Run
deno task transcribe $botIdto get a conversation transcript in the huddle's private Slack channel - Run
deno task summarize $botIdto get a summary of the conversation in buckets posted to the huddle's private channel
- The Deno server is deployed here