GPT Flow is an open-source web-based tool that helps users who are not familiar with coding to create, validate, and debug sequences of calls to the ChatGPT API. It's built using React, Chakra UI, and Axios.
This is a project that is currently under development.
- No coding skills required
- Add, remove, and reorder steps in the sequence
- Automatically inserts previous step results into the current step's prompt
- Displays output of each step in the sequence
- User-friendly interface
- Clone the repository:
git clone https://github.com/deadblue22/gpt-flow.git
- Change to the project directory:
cd gpt-flow
- Install the dependencies:
npm install
- Run the development server:
npm run dev
- Open your browser and navigate to
http://localhost:3000
.
- Input your initial text in the "Input" box.
- Add a new step to the sequence by clicking the "Add Step" button.
- Choose the type of API call (
chat
orcompletion
) for each step. - Enter the prompt for each step. You can use the
{result}
placeholder to insert the result of the previous step. - Remove a step by clicking the "Remove" button next to the step's title.
- Click the "RUN" button to execute the sequence of API calls. The results will be displayed below each step.
Contributions are welcome! Feel free to submit issues or pull requests.
This project is licensed under the Apache License.