Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```