mirror of
https://github.com/ollama/ollama.git
synced 2025-04-07 19:38:08 +02:00
update README.md
API reference
This commit is contained in:
parent
787d965331
commit
304f419429
@ -104,5 +104,5 @@ curl -X POST http://localhost:11343/api/pull -d '{"model": "orca"}'
|
||||
Complete a prompt
|
||||
|
||||
```
|
||||
curl -X POST http://localhost:11434/api/generate -d '{"model": "orca", "prompt": "hello!", "stream": true}'
|
||||
curl -X POST http://localhost:11434/api/generate -d '{"model": "orca", "prompt": "hello!"}'
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user