Skip to content

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