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

https://github.com/rhythrosalabs/proceed

An interactive Streamlit application that combines the power of OpenAI's GPT models with an extensive suite of data analysis and visualization libraries. This assistant is designed to help you with coding tasks, data visualization, audio processing, and much more, all within an intuitive and user-friendly interface
https://github.com/rhythrosalabs/proceed

Last synced: about 1 year ago
JSON representation

An interactive Streamlit application that combines the power of OpenAI's GPT models with an extensive suite of data analysis and visualization libraries. This assistant is designed to help you with coding tasks, data visualization, audio processing, and much more, all within an intuitive and user-friendly interface

Awesome Lists containing this project

README

          

# Supercharged Advanced Coding Assistant 🚀

Welcome to the **Supercharged Advanced Coding Assistant**, an interactive Streamlit application that combines the power of OpenAI's GPT models with an extensive suite of data analysis and visualization libraries. This assistant is designed to help you with coding tasks, data visualization, audio processing, and much more, all within an intuitive and user-friendly interface.

## Features

- **Chat Interface**: Interact with GPT-4 or GPT-3.5-turbo to get coding assistance, generate code snippets, and answer programming questions.
- **Code Execution Area**: Write, edit, and execute Python code directly within the app.
- **Error Handling & Code Fixing**: Automatically detect errors in your code and get suggestions to fix them using GPT.
- **File Management**: Upload, save, and view files within the app. Supports various file types including images, audio, and text files.
- **Extensive Library Support**: Access to popular Python libraries for data analysis, visualization, audio processing, image processing, and more.
- **Customizable Settings**: Adjust model selection and temperature settings to control the creativity and specificity of GPT's responses.

## Available Libraries and Features

- **Data Analysis**: `pandas`, `numpy`
- **Visualization**: `matplotlib`, `seaborn`, `plotly`, `altair`, `pydeck`
- **Audio Processing**: `librosa`, `pedalboard`, `mido`, `soundfile`, `sox`
- **Image Processing**: `PIL`, `OpenCV`
- **Game Development**: `pygame`
- **File System Utilities**: `save_file`, `load_file`, `list_files`
- **Others**: `io`, `base64`

## Installation

1. **Clone the Repository**

```bash
git clone https://github.com/your-repository.git
cd your-repository
```

2. **Create a Virtual Environment (Optional but Recommended)**

```bash
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```

3. **Install the Required Packages**

```bash
pip install -r requirements.txt
```

*If a `requirements.txt` file is not provided, install the necessary packages manually:*

```bash
pip install streamlit requests plotly pandas numpy streamlit-lottie streamlit-ace matplotlib seaborn altair pydeck librosa opencv-python Pillow pedalboard mido pygame soundfile sox
```

4. **Set Up OpenAI API Key**

- Obtain your API key from the [OpenAI Dashboard](https://platform.openai.com/account/api-keys).
- Your API key will be entered within the app's sidebar when you run it.

## Usage

1. **Run the Streamlit App**

```bash
streamlit run app.py
```

2. **Navigate the Interface**

- **Settings Sidebar**:
- Enter your OpenAI API key.
- Select the GPT model (`gpt-4` or `gpt-3.5-turbo`).
- Adjust the temperature for response creativity.
- Upload files to use within the app.
- **Chat Interface**:
- View the conversation history with the assistant.
- Interact by asking questions or requesting code.
- **Code Execution Area**:
- Write or edit code in the integrated code editor.
- Execute code and view outputs directly in the app.
- **Generated Files**:
- Access and manage files generated during the session.
- View images, play audio files, or read text files.
- **Bottom Action Bar**:
- Input field for queries and code requests.
- Action buttons for running code, fixing code, saving code, and clearing sessions.

3. **Interact with the Assistant**

- **Ask Questions**: Use the input field to ask coding questions or request help.
- **Get Code Snippets**: Request code examples, which can be edited and executed.
- **Fix Code**: If you encounter errors, use the "Fix Code" feature to get corrections.
- **Save and Manage Code**: Save your code for future reference or further development.

## File Management

- **Uploading Files**: Use the sidebar to upload files that can be accessed within the app.
- **Generated Files**: Saved code and generated files are stored in the `generated_files` directory.
- **Viewing Files**: Access and view files through the "Generated Files" section in the main interface.

## Customization

- **Themes and Styling**: The app includes custom CSS for a modern and user-friendly design.
- **Extensible Libraries**: Add more libraries or tools by modifying the `import` statements and environment setup.

## Contributing

Contributions are welcome! Please follow these steps:

1. Fork the repository.
2. Create a new branch: `git checkout -b feature/YourFeature`
3. Commit your changes: `git commit -m 'Add some feature'`
4. Push to the branch: `git push origin feature/YourFeature`
5. Open a pull request.

## License

This project is licensed under the MIT License.

## Acknowledgements

- **[Streamlit](https://streamlit.io/)** for providing an excellent framework for building interactive apps.
- **[OpenAI](https://openai.com/)** for the powerful GPT language models.
- **All the Python libraries** used in this project for enabling advanced data processing and visualization.

## Contact

For questions or support, please open an issue in the GitHub repository.

---