AIFunctionNameAttribute(String) 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 AIFunctionNameAttribute class.
public:
AIFunctionNameAttribute(System::String ^ name);
public AIFunctionNameAttribute(string name);
new Microsoft.Extensions.AI.AIFunctionNameAttribute : string -> Microsoft.Extensions.AI.AIFunctionNameAttribute
Public Sub New (name As String)
Parameters
- name
- String
The name to use for the function.
Exceptions
name is null.
name is empty or composed entirely of whitespace.