mirror of
https://github.com/docker/labs-ai-tools-vscode
synced 2026-04-05 19:43:29 +00:00
No description
- TypeScript 100%
| .github/workflows | ||
| .vscode | ||
| examples | ||
| prompts/docker | ||
| screenshots | ||
| src | ||
| .eslintrc.json | ||
| .gitignore | ||
| .nvmrc | ||
| .vscode-test.mjs | ||
| .vscodeignore | ||
| .yarnrc | ||
| CHANGELOG.md | ||
| labs-make-runbook.code-workspace | ||
| LICENSE.md | ||
| package.json | ||
| README.md | ||
| runbook.mp4 | ||
| tsconfig.json | ||
| yarn.lock | ||
AI Prompt Runner for VSCode
Docker Labs
What is this?
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.
Getting started
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 Secret Key...to enter the api key for your model provider. This stop is optional if your pompt specifies a local model viaurl:andmodel:attributes. - Run a prompt
Local 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
Docs
https://vonwig.github.io/prompts.docs
Development
Local developement
# docker:command=build-and-install
yarn run compile
yarn run package
# Outputs vsix file
code --install-extension your-file.vsix