Skip to content

AzureOpenAIModelCatalog

Namespace AgentPrism · Assembly AgentPrism.Azure.dll

Builds the catalog shown to the UI from the deployment definitions in the provider options.

public static class AzureOpenAIModelCatalog

objectAzureOpenAIModelCatalog

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

AgentPrism carries no built-in model list. On Azure this rule is even more binding: the name written in the catalog is not a model name — it is a deployment name defined on that resource, and the person who sets up the resource chooses deployment names. Two AgentPrism consumers’ catalogs need not resemble each other.

The catalog is not a validation list: a deployment name absent from it can still be used. The catalog only feeds the UI’s model selection screen and cost calculation.

"AgentPrism": { "Providers": { "AzureOpenAI": {
"Models": [
{ "Name": "prod-gpt", "DisplayName": "Production (gpt-5.4-mini)", "ContextWindowTokens": 128000 }
]
}}}

Builds the catalog from the deployment definitions in the options.

public static IReadOnlyList<ModelDescriptor> Build(AzureOpenAIProviderOptions options)

options AzureOpenAIProviderOptions

The provider options.

IReadOnlyList<ModelDescriptor>

A list sorted by name. An empty list when no definitions exist.

When the same name is defined more than once, the last definition wins. The comparison is case-insensitive. Nameless entries are ignored.

ArgumentNullException

options is null.