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

How can I use azure-openai-api-key with auto-playwright? #22

Open
suraj007118 opened this issue Jan 9, 2024 · 3 comments
Open

How can I use azure-openai-api-key with auto-playwright? #22

suraj007118 opened this issue Jan 9, 2024 · 3 comments

Comments

@suraj007118
Copy link

Hi we have financial data displayed on our web portal, we want to automate.
Due to sensitive on UI, we have azure openai api keys.

I wanted to know, if we can use azure openai api key with auto-playwrifght, if yes, how?

@tanmay1313
Copy link

Same question i also had, if this works with Azure Open AI or not ?

@roberto-mardeni
Copy link
Contributor

Instructions are provided in https://github.com/lucgagan/auto-playwright?tab=readme-ov-file#setup-with-azure-openai

The Azure OpenAI key is passed is passed on both openaiApiKey and openaiDefaultHeaders options as per the documentation, but you must also ensure to provide the openaiBaseUrl

@roberto-mardeni
Copy link
Contributor

@lucgagan you can close this

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

3 participants