https://github.com/rokstrnisa/RoboGPT
A simple and extensible program that helps you run GPT-4 model autonomously.
https://github.com/rokstrnisa/RoboGPT
Last synced: 5 months ago
JSON representation
A simple and extensible program that helps you run GPT-4 model autonomously.
- Host: GitHub
- URL: https://github.com/rokstrnisa/RoboGPT
- Owner: rokstrnisa
- License: mit
- Created: 2023-04-03T22:51:01.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-29T13:52:03.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T11:04:46.817Z (5 months ago)
- Language: Python
- Size: 123 KB
- Stars: 293
- Watchers: 11
- Forks: 46
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ChatGPT-repositories - Robo-GPT - A simple and extensible program that helps you run GPT-4 model autonomously. (Others)
README
# RoboGPT: A simple autonomous GPT-4 runner
[](https://discord.gg/98KeRysd)
[](https://twitter.com/intent/follow?screen_name=rokstrnisa)RoboGPT is a simple and extensible program that helps you run GPT-4 model autonomously. It is designed to be easy to understand, so that anyone can use it and extend it.
The program was inspired by [some of my earlier work](https://blog.rok.strnisa.com/2023/04/how-i-got-chatgpt-to-write-complete.html) and Auto-GPT.
**License**: This project is released under the [MIT License](LICENSE).
## Simple Demo
[](https://www.youtube.com/watch?v=mi0D4l7JRtQ)
## Features
- :robot: Simple and easy to understand codebase.
- :wrench: Extensible design for easy contributions.
- :arrows_counterclockwise: Continuous mode for ongoing interaction.
- :speaker: Speech support (optional) for a more engaging user experience.Planned:
- :dizzy: Generic parsing and encapsulated action definitions.
- :gear: Plug-in system for easy extensibility.## Requirements
- Python 3.10 or later.
- OpenAI API key with access to [gpt-4 model](https://platform.openai.com/docs/models/gpt-4).
At the time of writing, you need to join a waitlist, and OpenAI will give you access when capacity is available.
- ElevenLabs key (optional for speech).## Setup
- Install [`pipenv`](https://pypi.org/project/pipenv/).
- Clone this repo and change directory to it.
- Run `pipenv shell` to enter the Python virtual environment and `pipenv install` to install the dependencies.
- Rename `.env.template` to `.env` and fill in your [`OPENAI_API_KEY`](https://platform.openai.com/account/api-keys),
and optionally [`ELEVEN_LABS_API_KEY`](https://elevenlabs.io) (for speech).## Usage
Run `python robogpt/main.py` to start the program.
## Continuous Mode
The program does not run in continuous mode by default. To run it in continuous mode, simply use the command-line flag `--continuous`.
## Speech
On macOS, run `pip install PyObjC` to install the required dependency for speech.
To enable speech, use the command-line flag `--speech`.
## Sponsor
If you like this project, consider supporting its further development - [become a supporter](https://github.com/sponsors/rokstrnisa)!
Current Sponsors:
- 🥉 [Martin Köppelmann](https://github.com/koeppelmann)
## Contributing
Contributions to RoboGPT are very welcome! If you'd like to contribute, please follow these guidelines:
- Submit issues for bugs or feature requests.
- Create pull requests for proposed changes or new features. Make sure your changes are well-documented and follow the project's code style.
- Join the community (see below) and participate in discussions to help shape the project's future.## Community
Join [RoboGPT Discord server](https://discord.gg/98KeRysd) to get help, discuss ideas and collaborate.
To stay up-to-date, follow [@RokStrnisa](https://twitter.com/intent/follow?screen_name=rokstrnisa).