Share via


KnowledgeAgentRequestLimits Class

Definition

Guardrails to limit how much resources are utilized for a single agent retrieval request.

public class KnowledgeAgentRequestLimits : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.KnowledgeAgentRequestLimits>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.KnowledgeAgentRequestLimits>
type KnowledgeAgentRequestLimits = class
    interface IJsonModel<KnowledgeAgentRequestLimits>
    interface IPersistableModel<KnowledgeAgentRequestLimits>
Public Class KnowledgeAgentRequestLimits
Implements IJsonModel(Of KnowledgeAgentRequestLimits), IPersistableModel(Of KnowledgeAgentRequestLimits)
Inheritance
KnowledgeAgentRequestLimits
Implements

Constructors

KnowledgeAgentRequestLimits()

Initializes a new instance of KnowledgeAgentRequestLimits.

Properties

MaxOutputSize

Limits the maximum size of the content in the output.

MaxRuntimeInSeconds

The maximum runtime in seconds.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<KnowledgeAgentRequestLimits>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KnowledgeAgentRequestLimits>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KnowledgeAgentRequestLimits>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KnowledgeAgentRequestLimits>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KnowledgeAgentRequestLimits>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to