Skip to content

A programming framework for agentic AI

578 B
Raw Blame
// Copyright (c) Microsoft Corporation. All rights reserved.
// AzureOpenAIConfig.cs

namespace AutoGen.OpenAI.V1;

public class AzureOpenAIConfig : ILLMConfig
{
    public AzureOpenAIConfig(string endpoint, string deploymentName, string apiKey, string? modelId = null)
    {
        this.Endpoint = endpoint;
        this.DeploymentName = deploymentName;
        this.ApiKey = apiKey;
        this.ModelId = modelId;
    }

    public string Endpoint { get; }

    public string DeploymentName { get; }

    public string ApiKey { get; }

    public string? ModelId { get; }
}