OpenAIModelResource(String, String, OpenAIResource) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the OpenAIModelResource class.
public OpenAIModelResource(string name, string model, Aspire.Hosting.OpenAI.OpenAIResource parent);
new Aspire.Hosting.OpenAI.OpenAIModelResource : string * string * Aspire.Hosting.OpenAI.OpenAIResource -> Aspire.Hosting.OpenAI.OpenAIModelResource
Public Sub New (name As String, model As String, parent As OpenAIResource)
Parameters
- name
- String
The name of the resource.
- model
- String
The model name.
- parent
- OpenAIResource
The parent OpenAI resource.
Remarks
The API key is owned by the parent OpenAIResource.