Docker Labs
If you aren't familiar with our experiments and work, please check out https://github.com/docker/labs-ai-tools-for-devs
If you are familiar with our projects, then this is simply a VSCode extension to run prompts.
This project is a research prototype. It is ready to try and will give results for any project you try it on.
Docker internal users: You must be opted-out of mandatory sign-in.
- Install latest VSIX file https://github.com/docker/labs-ai-tools-vscode/releases
- Execute command
>Docker AI: Set OpenAI API key...
and enter your OpenAI secret key. You can run a prompt with a local model. Docs coming soon. - Run a prompt
Create file test.md
test.md
---
extractors:
- name: project-facts
functions:
- name: write_files
---
# Improv Test
This is a test prompt...
# Prompt system
You are Dwight Schrute.
# Prompt user
Tell me about my project.
My project uses the following languages:
{{project-facts.languages}}
My project has the following files:
{{project-facts.files}}
Run command >Docker AI: Run this prompt
https://vonwig.github.io/prompts.docs
# docker:command=build-and-install
yarn run compile
yarn run package
# Outputs vsix file
code --install-extension your-file.vsix