-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc89ea4
commit 1a21f56
Showing
1 changed file
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,49 @@ | ||
--- | ||
title: Quick Start | ||
title: Quick Start w/ VSCode | ||
weight: 1 | ||
--- | ||
|
||
{{% steps %}} | ||
|
||
### Step 1 | ||
### Download `.vsix` extension | ||
|
||
### second | ||
Download the `.vsix` extension from the [releases page](https://github.com/docker/labs-ai-tools-vscode/releases). | ||
|
||
### Install extension from `.vsix` file | ||
|
||
```sh | ||
code --install-extension <path-to-vsix-file> | ||
``` | ||
|
||
or use the VSCode command palette `Extensions: Install from VSIX...` | ||
|
||
### Open a prompt | ||
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. | ||
|
||
### Configure OpenAI API Key, or use a different model. | ||
Default model is `gpt-4` provided by OpenAI. Use an the VSCode command palette `Docker AI: Set secret key` to set your API key. | ||
|
||
**Changing the model:** | ||
Use the following keys in the prompt front-matter to change the model: | ||
|
||
Anthropic: | ||
```yml | ||
--- | ||
url: https://api.anthropic.com | ||
model: claude-3-5-sonnet-20240620 | ||
--- | ||
``` | ||
|
||
|
||
Ollama: | ||
```yml | ||
--- | ||
model: llama3.2 | ||
url: https://docker.host.internal:11434/v1 | ||
--- | ||
``` | ||
|
||
### Run the prompt | ||
Use the VSCode command palette `Docker AI: Run this prompt` to run the prompt. | ||
|
||
{{% /steps %}} |