CustomGrammarFormatParam Class

Definition

Grammar format.

public class CustomGrammarFormatParam : Azure.AI.Extensions.OpenAI.ResponsesCustomToolParamFormat, System.ClientModel.Primitives.IJsonModel<Azure.AI.Extensions.OpenAI.CustomGrammarFormatParam>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Extensions.OpenAI.CustomGrammarFormatParam>
type CustomGrammarFormatParam = class
    inherit ResponsesCustomToolParamFormat
    interface IJsonModel<CustomGrammarFormatParam>
    interface IPersistableModel<CustomGrammarFormatParam>
Public Class CustomGrammarFormatParam
Inherits ResponsesCustomToolParamFormat
Implements IJsonModel(Of CustomGrammarFormatParam), IPersistableModel(Of CustomGrammarFormatParam)
Inheritance
CustomGrammarFormatParam
Implements

Constructors

Name Description
CustomGrammarFormatParam(ResponsesGrammarSyntax, 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<ResponsesCustomToolParamFormat>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from ResponsesCustomToolParamFormat)
IJsonModel<ResponsesCustomToolParamFormat>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResponsesCustomToolParamFormat)
IPersistableModel<CustomGrammarFormatParam>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<CustomGrammarFormatParam>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<CustomGrammarFormatParam>.Write(ModelReaderWriterOptions)
IPersistableModel<ResponsesCustomToolParamFormat>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from ResponsesCustomToolParamFormat)
IPersistableModel<ResponsesCustomToolParamFormat>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from ResponsesCustomToolParamFormat)
IPersistableModel<ResponsesCustomToolParamFormat>.Write(ModelReaderWriterOptions) (Inherited from ResponsesCustomToolParamFormat)

Applies to