Share via


KnowledgeBaseRetrievalActivityRecord Class

Definition

Represents a retrieval activity record. Please note KnowledgeBaseRetrievalActivityRecord is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include KnowledgeBaseAzureBlobActivityRecord, KnowledgeBaseIndexedOneLakeActivityRecord, KnowledgeBaseIndexedSharePointActivityRecord, KnowledgeBaseRemoteSharePointActivityRecord, KnowledgeBaseSearchIndexActivityRecord and KnowledgeBaseWebActivityRecord.

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

Properties

Name Description
Count

The count of documents retrieved that were sufficiently relevant to pass the reranker threshold.

ElapsedMs

The elapsed time in milliseconds for the retrieval activity.

(Inherited from KnowledgeBaseActivityRecord)
Error

The error detail explaining why the operation failed. This property is only included when the activity does not succeed.

(Inherited from KnowledgeBaseActivityRecord)
Id

The ID of the activity record.

(Inherited from KnowledgeBaseActivityRecord)
KnowledgeSourceName

The knowledge source for the retrieval activity.

QueryTime

The query time for this retrieval activity.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from KnowledgeBaseActivityRecord)
IJsonModel<KnowledgeBaseRetrievalActivityRecord>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KnowledgeBaseRetrievalActivityRecord>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KnowledgeBaseActivityRecord>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from KnowledgeBaseActivityRecord)
IPersistableModel<KnowledgeBaseRetrievalActivityRecord>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KnowledgeBaseRetrievalActivityRecord>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KnowledgeBaseRetrievalActivityRecord>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to