No project description provided
Project description
🧵 AI-powered Jupyter Notebook built using React 🧵
Thread is a Jupyter Notebook that combines the experience of OpenAI's code interpreter with the familiar development environment of a Python notebook. With Thread, you can use natural language to generate cells, edit code, ask questions or fix errors all while being able to edit or re-run code as you would in a regular Jupyter Notebook.
Best of all, Thread runs locally, and can be used for free with your own API key. To start:
pip install thread-dev
To start thread-dev, run the following
thread
or
jupyter thread
Demo
https://github.com/squaredtechnologies/thread/assets/18422723/b0ef0d7d-bae5-48ad-b293-217b940385fb
Key features
1. Familiar Jupyter Notebook editing experience
2. Natural language code edits
3. Generate cells to answer natural language questions
4. Ask questions in a context aware chat sidebar
5. Automatically explain or fix errors
6. React frontend
- Thread is built from the ground up using React, hopefully making it more accessible to build on top of for a wider range of developers.
Feature Roadmap
These are some of the features we are hoping to launch in the next few month. If you have any suggestions or would like to see a feature added, please don't hesitate to open an issue or reach out to us via email or discord.
- Add co-pilot style inline code suggestions
- Data warehouse + SQL support
- No code data exploration
- UI based chart creation
- Ability to collaborate on notebooks
- Publish notebooks as shareable webapps
- Add support for Jupyter Widgets
- Add file preview for all file types
Thread.dev Cloud
Eventually we hope to integrate Thread into a cloud platform that can support collaboration features as well hosting of notebooks as web application. If this sounds interesting to you, we are looking for enterprise design partners to partner with and customize the solution for. If you're interested, please reach out to us via email or join our waitlist.
Development instructions
To run the repo in development mode, you need to run two terminal commands. One will run Jupyter Server, the other will run the NextJS front end.
To begin, run:
yarn install
Then in one terminal, run:
sh ./run_dev.sh
And in another, run:
yarn dev
Navigate to localhost:3000/thread
and you should see your local version of Thread running.
If you would like to develop with the AI features, navigate to the proxy
folder and run:
yarn install
Then:
yarn dev --port 5001
Why we built Thread
We initially got the idea when building Vizly a tool that lets non-technical users ask questions from their data. While Vizly is powerful at performing data transformations, as engineers, we often felt that natural language didn't give us enough freedom to edit the code that was generated or to explore the data further for ourselves. That is what gave us the inspiration to start Thread.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for thread_dev-0.1.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df9ef6d62e51dfb62b1e4f38722edb2f5b9c570ebc920ec470cf5ebd73e3e7e0 |
|
MD5 | 2817101a076e6d5cd782a46e43850133 |
|
BLAKE2b-256 | bf7461b8e800ab66ac08102dc325a5172ad79146e676d92d28079cde38b11b4a |