JupyterLab extension for natural language code generation
Top 43.7% on sourcepulse
Chapyter is a JupyterLab extension that bridges GPT-4 with your coding environment, enabling natural language programming by translating descriptions into executable Python code. It's designed for developers and researchers seeking to boost productivity and explore new ideas within their familiar Jupyter workflow.
How It Works
Chapyter leverages an IPython magic command (%%chat
) to interpret natural language prompts within a Jupyter cell. It then calls OpenAI's GPT models to generate Python code, which is automatically executed. The extension supports using coding history and execution output for context-aware code generation, facilitating tasks like data visualization. It also offers in-situ debugging and customization of prompts and AI configurations.
Quick Start & Requirements
pip install chapyter
examples/01-quick-start.ipynb
.Highlighted Details
Maintenance & Community
pip install -e "."
), and linking the extension (jupyter labextension develop . --overwrite
).jlpm watch
command is available for continuous rebuilding during development.Licensing & Compatibility
Limitations & Caveats
1 year ago
1 day