Skip to content

fix logprob description #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1576,8 +1576,8 @@ components:
logprobs:
type: integer
minimum: 0
maximum: 1
description: Integer (0 or 1) that controls whether log probabilities of generated tokens are returned. Log probabilities help assess model confidence in token predictions.
maximum: 20
description: An integer between 0 and 20 of the top k tokens to return log probabilities for at each generation step, instead of just the sampled token. Log probabilities help assess model confidence in token predictions.
echo:
type: boolean
description: If true, the response will contain the prompt. Can be used with `logprobs` to return prompt logprobs.
Expand Down Expand Up @@ -1860,8 +1860,8 @@ components:
logprobs:
type: integer
minimum: 0
maximum: 1
description: Integer (0 or 1) that controls whether log probabilities of generated tokens are returned. Log probabilities help assess model confidence in token predictions.
maximum: 20
description: An integer between 0 and 20 of the top k tokens to return log probabilities for at each generation step, instead of just the sampled token. Log probabilities help assess model confidence in token predictions.
echo:
type: boolean
description: If true, the response will contain the prompt. Can be used with `logprobs` to return prompt logprobs.
Expand Down