docs-aspire
docs-aspire copied to clipboard
OpenAI docs: additional section for model deployment
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?)