Skip to content

Is logprobs supported in chat()? If not, can it be added? #517

Description

@Rakshith2202

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions