Open
Description
I'm trying to use this library with an Azure OpenIA resource.
I'm using the example in the readme: OpenAIAPI api = OpenAIAPI.ForAzure("YourResourceName", "deploymentId", "api-key");
, but Url created seems to be wrong.
OpenAIAPI api object initialization:
OpenAIAPI api = OpenAIAPI.ForAzure("opeanai-resource", "deployedEngine", "apikey");
CreatedUrl:
https://opeanai-resource.openai.azure.com/openai/deployments/deployedEngine)/{1}?api-version={0}
It adds a clos parenthesis to the resource engine, so I get this error: The API deployment for the resource does not exist.
I guess the ApiVersion {0}
and the completion {1}
are added when doing the requests, but are not showed in the Url
Metadata
Assignees
Labels
No labels