Welcome to Portkey Forum

Updated 6 months ago

@Vrushank | Portkey

@Vrushank | Portkey
If I'm not passing any value to the api_key argument, and instead pass my azure api key to the authorization argument, then I get the following error:
Plain Text
ValueError: No API key found for Portkey.
Please set either the PORTKEY_API_KEY environment variable or pass the api_key prior to initialization of Portkey.
API keys can be found or created at Portkey Dashboard 
Here's how you get it:
1. Visit https://app.portkey.ai/
1. Click on your profile icon on the top left
2. From the dropdown menu, click on "Copy API Key"
V
1 comment
Sorry! Just pass any dummy value in the api_key param
Add a reply
Sign up and join the conversation on Discord