CustomGrammarFormatParam(GrammarSyntax1, 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 CustomGrammarFormatParam.
public CustomGrammarFormatParam(Azure.AI.AgentServer.Responses.Models.GrammarSyntax1 syntax, string definition);
new Azure.AI.AgentServer.Responses.Models.CustomGrammarFormatParam : Azure.AI.AgentServer.Responses.Models.GrammarSyntax1 * string -> Azure.AI.AgentServer.Responses.Models.CustomGrammarFormatParam
Public Sub New (syntax As GrammarSyntax1, definition As String)
Parameters
- syntax
- GrammarSyntax1
The syntax of the grammar definition. One of lark or regex.
- definition
- String
The grammar definition.
Exceptions
definition is null.