Table of Contents

Class AzureOpenAIResourceBase

Namespace
FoundationaLLM.Common.Models.ResourceProviders.AzureOpenAI
Assembly
FoundationaLLM.Common.dll

Basic model for resources managed by the FoundationaLLM.AzureOpenAI resource manager.

[JsonPolymorphic(TypeDiscriminatorPropertyName = "type")]
[JsonDerivedType(typeof(AzureOpenAIConversationMapping), "AzureOpenAIConversationMapping")]
[JsonDerivedType(typeof(AzureOpenAIFileMapping), "AzureOpenAIFileMapping")]
public class AzureOpenAIResourceBase : AzureCosmosDBResource
Inheritance
AzureOpenAIResourceBase
Derived
Inherited Members
Extension Methods

Properties

OpenAIEndpoint

The Azure OpenAI endpoint.

public required string OpenAIEndpoint { get; set; }

Property Value

string

PartitionKey

The logical partition key for the conversation mapping.

public string PartitionKey { get; }

Property Value

string

Remarks

This property is used by storage providers that support partitioning of data (e.g. Azure Cosmos DB).

Type

The type of the resource.

[JsonIgnore]
public override string? Type { get; set; }

Property Value

string