mirror of
https://github.com/ollama/ollama-python.git
synced 2026-05-01 11:48:17 +08:00
Merge fcfdb820d0 into dbccf192ac
This commit is contained in:
commit
d868141410
11
README.md
11
README.md
@ -33,6 +33,17 @@ print(response.message.content)
|
||||
|
||||
See [_types.py](ollama/_types.py) for more information on the response types.
|
||||
|
||||
## Examples
|
||||
|
||||
See the examples in [`examples/`](examples/) for additional usage patterns, including:
|
||||
|
||||
- chat (with and without streaming)
|
||||
- chat with history
|
||||
- tools / function calling
|
||||
- structured outputs
|
||||
- multimodal and image generation
|
||||
- embeddings and model management
|
||||
|
||||
## Streaming responses
|
||||
|
||||
Response streaming can be enabled by setting `stream=True`.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user