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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file opensam-0.1a1.tar.gz.

File metadata

  • Download URL: opensam-0.1a1.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for opensam-0.1a1.tar.gz
Algorithm Hash digest
SHA256 118301a132096186a5f8f16c05aae2ea146000a25f1d47875e3bc0e192cc05b6
MD5 f5934851f8ffff5f763b43150f42cda8
BLAKE2b-256 b802357e1c9ddcfb607d33770063ec05234bed16c32766931eb96503bf19e79a

See more details on using hashes here.

File details

Details for the file opensam-0.1a1-py3-none-any.whl.

File metadata

  • Download URL: opensam-0.1a1-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for opensam-0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b5b2f493335e382c6c38f2496fa24da79993f849bd7c28c23dc46d68d71d94b
MD5 3153eae9373627bb970debe29a4edbf0
BLAKE2b-256 3c0063295e688a5487cd56912ca7f37d8084a0136c598351763c55d7bc06d747

See more details on using hashes here.

Supported by

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