Skip to content
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

Fix OpenAI API discrepancies #1969

Closed
wants to merge 3 commits into from

Conversation

chimezie
Copy link

@chimezie chimezie commented Jun 14, 2024

Fix for #1967 and #1903

Adds num_logprobs model argument, which is the logprobs value that is sent (defaults to 5, which is within the range expected by Open AI API) and fixes the retrieval of the token from the logprobs response datastructure.

@chimezie chimezie closed this Aug 15, 2024
@chimezie chimezie deleted the server_completion branch August 15, 2024 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant