Skip to content

Commit c9f549e

Browse files
committed
Update the readme doc
1 parent 51a611e commit c9f549e

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

shell/agents/AIShell.Ollama.Agent/README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,21 @@ To configure the agent, run `/agent config ollama` to open up the setting file i
2020
// 2. Start Ollama API server: `ollama serve`
2121
// 3. Install Ollama model: `ollama pull phi3`
2222

23-
// Declare Ollama model
24-
"Model": "phi3",
23+
// Declare predefined model configurations
24+
"Presets": [
25+
{
26+
"Name": "PowerShell Expert",
27+
"Description": "A ollama agent with expertise in PowerShell scripting and command line utilities.",
28+
"ModelName": "phi3",
29+
"SystemPrompt": "You are a helpful and friendly assistant with expertise in PowerShell scripting and command line."
30+
}
31+
],
32+
2533
// Declare Ollama endpoint
2634
"Endpoint": "http://localhost:11434",
2735
// Enable Ollama streaming
28-
"Stream": false
36+
"Stream": false,
37+
// Specify the default preset to use
38+
"DefaultPreset": "PowerShell Expert"
2939
}
3040
```

0 commit comments

Comments
 (0)