gpt-code-ui  by ricklamers

Open source implementation of OpenAI's ChatGPT Code interpreter

created 2 years ago
3,590 stars

Top 13.7% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides an open-source implementation of OpenAI's ChatGPT Code Interpreter, enabling users to ask the model to perform tasks by generating and executing Python code. It is designed for users who want to leverage AI for code generation and execution, offering features like file handling and context awareness.

How It Works

The tool acts as an interface to OpenAI's models, allowing users to input requests. The system then generates Python code to fulfill the request, executes it in a sandboxed environment, and returns the results. This approach automates code generation and execution for tasks like data analysis and manipulation.

Quick Start & Requirements

  • Primary install: pip install gpt-code-ui
  • Recommended dependencies: pip install "numpy>=1.24,<1.25" "dateparser>=1.1,<1.2" "pandas>=1.5,<1.6" "geopandas>=0.13,<0.14" "tabulate>=0.9.0<1.0" "PyPDF2>=3.0,<3.1" "pdfminer>=20191125,<20191200" "pdfplumber>=0.9,<0.10" "matplotlib>=3.7,<3.8"
  • OpenAI API key required, configurable via .env file.
  • Docker image available at gpt-code-ui-docker.

Highlighted Details

  • Supports file uploads and downloads.
  • Maintains context awareness for conversational interactions.
  • Allows switching between GPT-3.5 and GPT-4 models.
  • Configurable API endpoints and ports via environment variables.

Maintenance & Community

  • Community Discord server available for support and discussion.
  • Project encourages community contributions.

Licensing & Compatibility

  • License: Not explicitly stated in the provided README.
  • Compatibility: Designed for use with OpenAI API. Azure OpenAI Services are supported with specific configurations.

Limitations & Caveats

Model selection is not currently supported for Azure OpenAI Services. The README does not specify the project's license, which could impact commercial use or closed-source integration.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
16 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.