Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yyyasin19/gpt-slack
A slack bot that interacts with GPTChat's interface per Selenium
https://github.com/yyyasin19/gpt-slack
Last synced: 17 days ago
JSON representation
A slack bot that interacts with GPTChat's interface per Selenium
- Host: GitHub
- URL: https://github.com/yyyasin19/gpt-slack
- Owner: YYYasin19
- Created: 2022-12-03T13:55:32.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-11T23:35:47.000Z (about 2 years ago)
- Last Synced: 2024-12-06T01:41:57.701Z (2 months ago)
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ChatGPT Slack Integration
This very simple bot allows one to use Slack as an interface for ChatGPT.
The only requirements are some Slack Authentication credentials you can get from Slack's Developer page.The bot is designed to only answer on messages that are posted in a specific channel and have a 'robot_face' reaction.
The channel is determined by the CHANNEL_ID environment variable. You can the ID of a channel by visiting the channel in our browser and extracting it from the URL.Most of the bot was written by ChatGPT itself (ironic).
Beware that this was created on a train ride and seemed to work for the simple use cases I tested and with some elavated rate limitations. Some of the timings etc. might need to be adjusted for you.
The first time, the bot might need to login. After that, it should reuse the session parameters.I'll try and improve this further in the future! (e.g. add scheduling for faster response, multiple workers, other browsers per config file)