Skip to content
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

Commit 1a21f56

Browse files
author
colinmcneil
committed
Add VSCode quickstart docs
1 parent fc89ea4 commit 1a21f56

File tree

1 file changed

+40
-3
lines changed

1 file changed

+40
-3
lines changed

docs/content/tools/quickstart.md

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,49 @@
11
---
2-
title: Quick Start
2+
title: Quick Start w/ VSCode
33
weight: 1
44
---
55

66
{{% steps %}}
77

8-
### Step 1
8+
### Download `.vsix` extension
99

10-
### second
10+
Download the `.vsix` extension from the [releases page](https://github.com/docker/labs-ai-tools-vscode/releases).
11+
12+
### Install extension from `.vsix` file
13+
14+
```sh
15+
code --install-extension <path-to-vsix-file>
16+
```
17+
18+
or use the VSCode command palette `Extensions: Install from VSIX...`
19+
20+
### Open a prompt
21+
With the extension installed, open a prompt in VSCode. Examples can be found in the [examples](https://github.com/docker/labs-ai-tools-for-devs/tree/main/prompts/examples) directory.
22+
23+
### Configure OpenAI API Key, or use a different model.
24+
Default model is `gpt-4` provided by OpenAI. Use an the VSCode command palette `Docker AI: Set secret key` to set your API key.
25+
26+
**Changing the model:**
27+
Use the following keys in the prompt front-matter to change the model:
28+
29+
Anthropic:
30+
```yml
31+
---
32+
url: https://api.anthropic.com
33+
model: claude-3-5-sonnet-20240620
34+
---
35+
```
36+
37+
38+
Ollama:
39+
```yml
40+
---
41+
model: llama3.2
42+
url: https://docker.host.internal:11434/v1
43+
---
44+
```
45+
46+
### Run the prompt
47+
Use the VSCode command palette `Docker AI: Run this prompt` to run the prompt.
1148

1249
{{% /steps %}}

0 commit comments

Comments
 (0)