Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erikboesen/generalgptbot
A GroupMe bot for chatting with various GPT-based agents.
https://github.com/erikboesen/generalgptbot
Last synced: about 1 month ago
JSON representation
A GroupMe bot for chatting with various GPT-based agents.
- Host: GitHub
- URL: https://github.com/erikboesen/generalgptbot
- Owner: ErikBoesen
- Created: 2024-01-29T04:40:02.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-01-29T06:52:21.000Z (9 months ago)
- Last Synced: 2024-01-29T08:39:36.278Z (9 months ago)
- Language: Python
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# General GPT Bot
> A fun GroupMe chat bot using GPT 3.5 Turbo and various agents.
## Prerequisites
This bot is meant to run on AWS Lambda using the Serverless framework.To install serverless on your local machine:
```sh
npm install -g serverless
```## Deployment
Install `pip` dependencies locally in the `vendor` directory:
```sh
pip install -r requirements.txt -t vendor
```Deploy using serverless:
```sh
serverless deploy
```Configure your OpenAI key as an environment variable:
```sh
aws lambda update-function-configuration --function-name papaya-dev-receive --environment "Variables={OPENAI_API_KEY=abcdef1234567890}"
```The bot should now be ready to receive messages!
## Logs
To view the logs:
```sh
serverless logs -f receive
```