Skip to content

mwdchang/uncharted-hack2023

Repository files navigation

LLM Slackbot

This ia a hackathon submission for Uncharted summer hackathon 2023. The goal is to create an LLM-powered Slackbot that is able to synthesize human conversations and to provide summarization and additinal context.

Example scenarios:

  • If you take a short vacation, rather than reading thorugh potentially hundreds of messages, you can just ask the bot to provide an executive summary
  • If there is a conversation that is either too technical or theoretical, you can ask the bot to provide additional resources

This is a one-day hack, however due to other obligations most of the code was written within a time span of 4 hours. The code "works" but does not represent how things should be done, nor good engineering practices.

Prerequisite

  • Copy env.sample.json to env.json and fill out the credentials.
  • NodeJS 18

Run LLM usecases by themselves

  • Copy openAI key into env.json
  • Run npm install
  • Run node ./llm-tests.js

Run Slackbot

Informal result

Using GTP-3.5 turbo model. We found that summarizations were decent and potentially useful. The "expand" command to expand current knowledge scope yielded convincing, but often incorrect results - the LLM model here is hallucinating and provided external links that goes nowhere.

About

2023 Hackathon submission

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published