Skip to main content

A GPT based slack bot trained to specific personalities and use cases.

Project description

PyPi Version Test Coverage GitHub License

Sam – cuz your company is nothing without Sam

meme

Sam is a Slack bot that uses OpenAI's ChatGPT model to provide a work-colleague like experience, right in your Slack workspace.

Everyone in your company has instant access to the most powerful AI companion.

Sam uses OpenAI's assistant API to fine-tune ChatGPT to:

  • a specific personality traits,
  • provide domain specific knowledge
  • and company specific context

to provide a work-colleague like experience.

Sneak peek of Sam in action

screenshot.png

Installation

  1. Create a new Slack app, as described below.
  2. You will also need an OpenAI API key, which you can get from here.
  3. You need to create a OpenAI Assistant here and copy the assistant ID.
  4. With those tokens at the ready, just hit the button below and follow the instructions.

Deploy

Create a Slack App

  1. Create a new Slack App here.
  2. Select From an app manifest and enter the URL to the slack-manifest.yml file in this repo.
  3. Click Create App and then Install to Workspace.
  4. Copy the Bot User OAuth Access Token and paste it into the SLACK_BOT_TOKEN field in the Heroku app settings.
  5. Create a new App-Level Tokens under Basic Infomation and copy the token into the SLACK_APP_TOKEN field in the Heroku app settings.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opensam-0.1a1.tar.gz (15.5 kB view hashes)

Uploaded Source

Built Distribution

opensam-0.1a1-py3-none-any.whl (18.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page