KnowledgeBaseRetrievalRequest Class

Definition

The input contract for the retrieval request.

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

Constructors

Name Description
KnowledgeBaseRetrievalRequest()

Initializes a new instance of KnowledgeBaseRetrievalRequest.

Properties

Name Description
IncludeActivity

Indicates retrieval results should include activity information.

Intents

A list of intended queries to execute without model query planning.

KnowledgeSourceParams

A list of runtime parameters for the knowledge sources.

MaxOutputDocuments

Limits the maximum number of documents in the output.

MaxOutputSize

Limits the maximum size of the content in the output.

MaxOutputSizeInTokens

Limits the maximum size of the content in the output.

MaxRuntimeInSeconds

The maximum runtime in seconds.

Messages

A list of chat message style input.

OutputMode

The output configuration for this retrieval.

RetrievalReasoningEffort

The retrieval reasoning effort configuration.

Methods

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

Operators

Name Description
Implicit(KnowledgeBaseRetrievalRequest to RequestContent)

Explicit Interface Implementations

Name Description
IJsonModel<KnowledgeBaseRetrievalRequest>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KnowledgeBaseRetrievalRequest>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KnowledgeBaseRetrievalRequest>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KnowledgeBaseRetrievalRequest>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KnowledgeBaseRetrievalRequest>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to