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:
Gopal Bagaswar 2026-04-30 07:37:48 +05:30
parent dbccf192ac
commit 9bdca6d974

View File

@ -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