mirror of
https://github.com/ollama/ollama-python.git
synced 2026-05-01 11:48:17 +08:00
docs(examples): add logprobs section to examples README
The chat-logprobs.py and generate-logprobs.py examples exist in examples/ but were not referenced in examples/README.md, leaving users unable to discover them through the index. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
dbccf192ac
commit
9bdca6d974
@ -26,6 +26,11 @@ See [ollama/docs/api.md](https://github.com/ollama/ollama/blob/main/docs/api.md)
|
||||
- [generate-stream.py](generate-stream.py) - Streamed outputs
|
||||
- [fill-in-middle.py](fill-in-middle.py) - Given a prefix and suffix, fill in the middle
|
||||
|
||||
### Logprobs - Inspect token probabilities
|
||||
|
||||
- [chat-logprobs.py](chat-logprobs.py) - Chat with logprobs and top alternatives
|
||||
- [generate-logprobs.py](generate-logprobs.py) - Generate with logprobs and top alternatives
|
||||
|
||||
### Tools/Function Calling - Call a function with a model
|
||||
|
||||
- [tools.py](tools.py) - Simple example of Tools/Function Calling
|
||||
|
||||
Loading…
Reference in New Issue
Block a user