Is logprobs supported in chat()? If not, can it be added?
Is there currently any support for retrieving logprobs in the chat() API or other Ollama endpoints? I have tried passing a parameter like "logprobs": 1 in my request, but it does not seem to return token-level probabilities, nor is it documented.
If this is not supported yet, I would like to request it as a feature.
We don't have logprobs supported yet but are looking into getting that ball rolling again!
I've been trying to run the example code "chat-logprobs.py" but it fails on line 8 ('NoneType' object is not iterable) due to the variable named 'logprobs' being null. 8 [for entry in logprobs:]
From this thread, I'm guessing the example is not yet ready for use, but I'd love to know if there is something I should be doing differently.