Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 414 Bytes

README.md

File metadata and controls

23 lines (21 loc) · 414 Bytes

ChatGPT For SlackBot

ChatGPT기능을 가진 슬랙봇 개발 사용법 정리

1. 필수 라이브러리 설치

pip install -r requirements.txt

2. OpenAI API Key 기입

chatgpt.py

YOUR_API_KEY = '<your-openai-api-key>'

3. Slack Bot user token 기입

main.py

bot_token = "<your-slack-bot-token>"

4. 코드 실행

python main.py