mirror of
https://github.com/microsoft/autogen.git
synced 2025-07-19 15:01:52 +00:00

* dotnet rework * add dotnet workload update to startup * fix build * interim fixup * this is the stuff that was missing * renaming the .net classes * more build fixup * port dev-team sample WIP * add proto messages and IHandle to agents * add github variables * remove OAgents gh-flow * remove OAgents library * add .vs to gitignore --------- Co-authored-by: Kosta Petan <kostapetan@gmail.com> Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
30 lines
857 B
C#
30 lines
857 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace DevTeam.Options;
|
|
|
|
public class OpenAIOptions
|
|
{
|
|
// Embeddings
|
|
[Required]
|
|
public required string EmbeddingsEndpoint { get; set; }
|
|
[Required]
|
|
public required string EmbeddingsApiKey { get; set; }
|
|
[Required]
|
|
public required string EmbeddingsDeploymentOrModelId { get; set; }
|
|
|
|
// Chat
|
|
[Required]
|
|
public required string ChatEndpoint { get; set; }
|
|
[Required]
|
|
public required string ChatApiKey { get; set; }
|
|
[Required]
|
|
public required string ChatDeploymentOrModelId { get; set; }
|
|
|
|
// TextToImage
|
|
[Required]
|
|
public required string ImageEndpoint { get; set; }
|
|
[Required]
|
|
public required string ImageApiKey { get; set; }
|
|
// When using OpenAI, this is not required.
|
|
public required string ImageDeploymentOrModelId { get; set; }
|
|
} |