AddModel
Method
func (OpenAIResource) AddModel( name string, model string,) OpenAIModelResourceSignature
method
AddModel builderAdds an OpenAI Model child to the provided OpenAI resource.
AddModel( name string, model string,) OpenAIModelResourceParameters
namestringThe name of the model resource. This name is used as the connection string name.modelstringThe model identifier, e.g., "gpt-4o-mini".Returns
OpenAIModelResource The model resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: