docs-aspire icon indicating copy to clipboard operation
docs-aspire copied to clipboard

OpenAI docs: additional section for model deployment

Open mip1983 opened this issue 1 year ago • 0 comments

It would be good if the docs for the Azure OpenAI component included a section on how to deploy a model, under 'App host usage' i.e.

Deploy a model

To configure models to be deployed into your OpenAI resource use the 'AddDeployment' method:

builder.AddAzureOpenAI("openAi") .AddDeployment(new AzureOpenAIDeployment( name: "chatmodel", modelName: "gpt-4o", modelVersion: "2024-05-13", skuName: "Standard", skuCapacity: 1000))

A reference of models available in your region can be found here (link to a page with a table of models names/versions by region)

Describe what the parameters are above and what the options are. (Can 'modelVersion' be some kind of 'latest' automatic flag?)

mip1983 avatar Aug 12 '24 09:08 mip1983