docs: update examples to use llama3.1 (#6718)

This commit is contained in:
Jeffrey Morgan
2024-09-09 22:47:16 -07:00
committed by GitHub
parent 4a8069f9c4
commit 83a9b5271a
6 changed files with 45 additions and 45 deletions

View File

@@ -29,7 +29,7 @@ Ollama uses unicode characters for progress indication, which may render as unkn
Here's a quick example showing API access from `powershell`
```powershell
(Invoke-WebRequest -method POST -Body '{"model":"llama3", "prompt":"Why is the sky blue?", "stream": false}' -uri http://localhost:11434/api/generate ).Content | ConvertFrom-json
(Invoke-WebRequest -method POST -Body '{"model":"llama3.1", "prompt":"Why is the sky blue?", "stream": false}' -uri http://localhost:11434/api/generate ).Content | ConvertFrom-json
```
## Troubleshooting