Skip to content

Azure OpenAI Support #500

@piggy0713

Description

@piggy0713

Describe the bug
I attempted to follow the setup guide provided on the Betalgo GitHub wiki for integrating with Azure OpenAI, available at https://github.com/betalgo/openai/wiki/Azure-OpenAI. The guide does not mention how to specify or use the Azure OpenAI endpoint, and after setting up my configuration as instructed, the integration does not work as expected.

Your code piece
I set up my configuration following the guide, which lacks details on specifying the Azure OpenAI endpoint. Despite using the provided options, the service is not functioning correctly.

{
 "OpenAIServiceOptions": {
    "ApiKey": "35...3a", //How can I get an app key? https://azure.microsoft.com/en-us/products/cognitive-services/openai-service
    "DeploymentId": "test1", // marked as 2 in the above screenshot
    "ResourceName": "betalgotest", // marked as 1 in the above screenshot
    "ProviderType": "Azure", //Important, don't forget to add this if you want to use Azure OpenAI
    //"ApiVersion": "2022-12-01" //optional
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions