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

Add missing logprob mapping for Azure OpenAI provider #618

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

rootAvish
Copy link
Contributor

@rootAvish rootAvish commented Sep 17, 2024

Title: Add missing logprob mapping for Azure OpenAI provider

Description: The Portkey gateway doesn't return any logprobs when these are set to True and 5 respectively, calling Azure directly works. I guess the reason is this mapping was missing. Kindly merge this so we can get logprobs when calling Azure via Portkey.

Motivation: We use the SaaS version of your gateway @ Haptik, and I need these scores.

The Portkey gateway doesn't return any logprobs when these are set to True, calling Azure directly works.

Kindly merge this so we can get logprobs when calling Azure via Portkey.
@rootAvish
Copy link
Contributor Author

Thanks for the quick turnaround on the review @VisargD. Do I need to do anything else here? If not, can we please merge this?

@VisargD VisargD merged commit 132d6ad into Portkey-AI:main Sep 18, 2024
1 check passed
@rootAvish rootAvish deleted the patch-1 branch September 18, 2024 19:58
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.

2 participants