Campfire allows users to interact with OpenAI's API from a command-line interface. Users can send queries to OpenAI, view the responses, and save these responses as sub-applications for future execution. The program also provides a menu system to manage and run these sub-applications.
This project is no longer maintained and does not reflect current best practices for integrating OpenAI's API.
- Query OpenAI: Send a prompt to OpenAI and receive a response.
- Save Sub-Applications: Save the OpenAI responses as sub-applications for later use.
- Load Sub-Applications: Load and execute saved sub-applications.
- Main Menu: Navigate through the different options using a simple menu system.
- Python 3.x
- OpenAI Python library (
openai) - A valid OpenAI API key
- Clone the repository or download the program files.
- Install the required dependencies using pip.
- Set your OpenAI API key in the
openai.api_keyvariable in the script.
- Run the script.
- Follow the on-screen instructions to query OpenAI, save sub-applications, or execute saved sub-applications.
This project is licensed under the MIT License. See the LICENSE file for details.