AI Workbooks – A notebook interface for LLMs, image and audio models
lastmileai.dev
lastmileai.dev
I think AI really needs a de-pythoning in general.
That's said - As LLMs move "AI" field from self-hosted to managed, the surrounding API ecosystem seems to move away from Python, even though slowly. For example LangChain has both Python and JS implementations. So De-pythoning is kind of happening.
As a long time (16+ years) user of python and Vim, I personally find the notebook format extremely unergonomical. Maybe it would be a good option for those who haven't spent 10000 hours mastering a text editor and relating tooling, but there exist old school python devs that very much prefer a good old text editor like everyone else.
Yes, absolutely. The state of the Python ecosystem is what remains after a nuclear apocalypse.
We need more native stuff, ggml.cpp for one is a super important project.
Please, not C++
If the main code is in a notebook, ignore it completely.
If the code is in python but no ipynb, it may be useful.
If it's a well structured code base, and there are some ipynb files, check it out and determine if it's good software. Then the ipynb files are like only a few lines, but show decent plots and the package may end up being useful. Python can be good, it's just unfortunately less and less likely due to far too many idiots using it.
At least it's not R though.
Example Workbook from the video: https://lastmileai.dev/workbooks/clj530sqs000znztcmd5qr7v6
We are working on updating the SDK for more advanced scenarios (e.g. running bulk evaluations, comparing different workbooks programmatically, etc.). Are there any specific workflows you'd like to see enabled in self-hosted Jupyter notebooks?
Ads/marketing is definitely one vertical, but even for prompt engineering in other verticals we can see this be valuable.
We're especially excited about the multi-modal usecases where you chain multiple models together, but would like the community feedback direct our product direction.
We're working on more complex scenarios with vector stores, including API integrations.
Genuinely excited to see these types of tools take off.
Especially for debugging LM programs. Usually I make logs and have to manually set breakpoints in a program to see where the language algorithm or agent is going wrong, but it would be much simpler to break the algorithm down into cells where I can see where a tangent is arising, and iterate over some different prompts or control flow to get a feel for what can happen at a specific juncture.
I'd love to see any workbooks you create for your debugging scenario. Please share them to see if we can improve that scenario further.
In our open source chatcraft.org we focused on retrying with different openai(for now) models. https://github.com/tarasglek/chatcraft.org/pull/99#issuecomm...
What's the use case you're envisioning people using AI notebooks for?
https://writings.stephenwolfram.com/2023/06/introducing-chat...
For something like Stable Diffusion it doesn't make much sense where the prompt is going to be isolated.
This was something that we took into account while building and designing workbooks - how will normal users expect a notebook interface to work with chat style models.
For AI Workbooks, we thought that the interface is natural language & standard files (images, audio) that people interact with everyday. This makes it much easier for non-developers to get started.
For developers, we also support a python SDK so that you can make a workbook from python or a Jupyter notebook using some simple API endpoints. We're going to keep improving the SDK to improve the integrations too.
The I realized they would likely hate the idea of working with python, and do everything in C first. So likely not lastmiles, unfortunately.