Hello, I try to run promptimize with an Azure OpenAI service. I define 4 env variables :
$env:OPENAI_API_TYPE = 'azure'
$env:OPENAI_API_BASE = 'https://.openai.azure.com/'
$env:OPENAI_API_VERSION = '2023-07-01-preview'
$env:OPENAI_API_KEY = ''
but when I launched this command promptimize run examples/ --output ./report.yaml, I reach an issue
Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.completion.Completion'>
I tried to add the --engine parameter but without success (text-davinci-003, gpt-35-turbo-16k...). How can we adapt promtimize to Azure ?
Hello, I try to run promptimize with an Azure OpenAI service. I define 4 env variables : $env:OPENAI_API_TYPE = 'azure' $env:OPENAI_API_BASE = 'https://.openai.azure.com/'
$env:OPENAI_API_VERSION = '2023-07-01-preview'
$env:OPENAI_API_KEY = ''
but when I launched this command promptimize run examples/ --output ./report.yaml, I reach an issue Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.completion.Completion'>
I tried to add the --engine parameter but without success (text-davinci-003, gpt-35-turbo-16k...). How can we adapt promtimize to Azure ?