StopFinishDetails Class

Definition

A structured representation of a stop reason that signifies natural termination by the model.

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

Properties

Stop

The token sequence that the model terminated with.

Explicit Interface Implementations

IJsonModel<ChatFinishDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ChatFinishDetails)
IJsonModel<ChatFinishDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ChatFinishDetails)
IJsonModel<StopFinishDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<StopFinishDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ChatFinishDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ChatFinishDetails)
IPersistableModel<ChatFinishDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ChatFinishDetails)
IPersistableModel<ChatFinishDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ChatFinishDetails)
IPersistableModel<StopFinishDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StopFinishDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<StopFinishDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to