Freigeben über


CustomGrammarFormatParam Class

Definition

Grammar format.

public class CustomGrammarFormatParam : Azure.AI.AgentServer.Responses.Models.CustomToolParamFormat, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.CustomGrammarFormatParam>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.CustomGrammarFormatParam>
type CustomGrammarFormatParam = class
    inherit CustomToolParamFormat
    interface IJsonModel<CustomGrammarFormatParam>
    interface IPersistableModel<CustomGrammarFormatParam>
Public Class CustomGrammarFormatParam
Inherits CustomToolParamFormat
Implements IJsonModel(Of CustomGrammarFormatParam), IPersistableModel(Of CustomGrammarFormatParam)
Inheritance
CustomGrammarFormatParam
Implements

Constructors

Name Description
CustomGrammarFormatParam(GrammarSyntax1, String)

Initializes a new instance of CustomGrammarFormatParam.

Properties

Name Description
Definition

The grammar definition.

Syntax

The syntax of the grammar definition. One of lark or regex.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CustomGrammarFormatParam>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<CustomGrammarFormatParam>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IJsonModel<CustomToolParamFormat>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from CustomToolParamFormat)
IJsonModel<CustomToolParamFormat>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from CustomToolParamFormat)
IPersistableModel<CustomGrammarFormatParam>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<CustomGrammarFormatParam>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<CustomGrammarFormatParam>.Write(ModelReaderWriterOptions)
IPersistableModel<CustomToolParamFormat>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from CustomToolParamFormat)
IPersistableModel<CustomToolParamFormat>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from CustomToolParamFormat)
IPersistableModel<CustomToolParamFormat>.Write(ModelReaderWriterOptions) (Inherited from CustomToolParamFormat)

Applies to