for GdPicture.NET
XTractFlow.API.LLM.Providers Namespace / AzureOpenAIProvider Class / AzureOpenAIProvider Constructor
Specifies the Azure OpenAI API key.
Specifies the name of the Azure OpenAI Resource.
Specifies the deployment name selected during the model deployment process.



In This Topic
    AzureOpenAIProvider Constructor
    In This Topic
    Creates an Azure OpenAI LLM provider.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal azureApiKey As String, _
       ByVal resourceName As String, _
       ByVal deploymentId As String _
    )
    'Usage
     
    
    Dim azureApiKey As String
    Dim resourceName As String
    Dim deploymentId As String
     
    Dim instance As New AzureOpenAIProvider(azureApiKey, resourceName, deploymentId)
    public AzureOpenAIProvider( 
       string azureApiKey,
       string resourceName,
       string deploymentId
    )
    public:
    AzureOpenAIProvider( 
       String^ azureApiKey,
       String^ resourceName,
       String^ deploymentId
    )

    Parameters

    azureApiKey
    Specifies the Azure OpenAI API key.
    resourceName
    Specifies the name of the Azure OpenAI Resource.
    deploymentId
    Specifies the deployment name selected during the model deployment process.
    See Also