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

Is it possible to do benchmark testing on APIM which has couple of Azure Open AI resources in backend? #22

Open
deeepakmhaskar opened this issue Jan 23, 2024 · 1 comment

Comments

@deeepakmhaskar
Copy link

I am trying to do benchmark test on APIM which has couple of Azure Open AI resources in backend. I am getting failures while running the load test.

Can you please suggest? Any suggestions / Feedback welcome.

@DavidLiCIG
Copy link

Hi, you might need to override the authentication header to make it work with your APIM instance:

"api-key": self.api_key,

That is assuming that the path is still the same. For example, https://{customdomain}.openai.azure.com/openai/deployments/{deploymentName}/chat/completions -> https://{your-apim-domain}/openai/deployments/{deploymentName}/chat/completions.

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

No branches or pull requests

2 participants