mirror of
https://github.com/ollama/ollama.git
synced 2026-04-18 23:54:12 +02:00
add examples of streaming in python and node
Signed-off-by: Matt Williams <m@technovangelist.com>
This commit is contained in:
@@ -20,6 +20,10 @@ Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` a
|
||||
|
||||
All durations are returned in nanoseconds.
|
||||
|
||||
### Streams
|
||||
|
||||
Many API responses are streams of JSON objects showing the current status. For examples of working with streams in various languages, see [streaming.md](./streaming.md)
|
||||
|
||||
## Generate a completion
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user