Hey all, sorry for all the beginner questions. Still trying to wrap my brain around the dagger system. Day 2 so bear with me 🙂
Was trying to follow along with @mild lily 's talk here: https://www.youtube.com/watch?v=1HA9h1MnUy0
He runs the command:
llm | with-container $(container | from alpine |
with-new-file yay.txt 'my favorite language is php') | with-prompt "you have access to a container. read the file at path yay.txt !!!! it mentions a programming language. install on the container what is needed to develop in that language" | history
However, I'm not seeing the with-container function available when I try to chain from the llm. He mentioned that his demo was using a dev version, but that was 3 months ago.
✔ version 0.0s
v0.18.9
I've been trying to translate that command to what's in the docs here:
base=$(container | from alpine)
env=$(env | with-container-input 'base' $base 'a base container' | with-container-output 'python-dev' 'a container with python dev tools')
llm | with-env $env | with-prompt "You have an alpine container. Install tools to develop with Python." | env | output python-dev | as-container | terminal
Thanks to Sourcegraph for hosting AI DevTools Meetup! Watch the recording to see the following demos:
- Pushing the boundary of what's possible with code AI by YK Sugi, Senior Developer Advocate @ Sourcegraph
- Preswald: Build data apps in Python by Amrutha Gujjar @ CEO & Co-Founder, Structured
- Agent Contracts: a new approach to building t...