Freigeben über


SearchModelFactory.KnowledgeBaseIndexedOneLakeActivityRecord Method

Definition

Initializes a new instance of KnowledgeBaseIndexedOneLakeActivityRecord.

public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseIndexedOneLakeActivityRecord KnowledgeBaseIndexedOneLakeActivityRecord(int id = 0, int? elapsedMs = default, Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseErrorDetail error = default, string knowledgeSourceName = default, DateTimeOffset? queryTime = default, int? count = default, Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseIndexedOneLakeActivityArguments indexedOneLakeArguments = default);
static member KnowledgeBaseIndexedOneLakeActivityRecord : int * Nullable<int> * Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseErrorDetail * string * Nullable<DateTimeOffset> * Nullable<int> * Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseIndexedOneLakeActivityArguments -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseIndexedOneLakeActivityRecord
Public Shared Function KnowledgeBaseIndexedOneLakeActivityRecord (Optional id As Integer = 0, Optional elapsedMs As Nullable(Of Integer) = Nothing, Optional error As KnowledgeBaseErrorDetail = Nothing, Optional knowledgeSourceName As String = Nothing, Optional queryTime As Nullable(Of DateTimeOffset) = Nothing, Optional count As Nullable(Of Integer) = Nothing, Optional indexedOneLakeArguments As KnowledgeBaseIndexedOneLakeActivityArguments = Nothing) As KnowledgeBaseIndexedOneLakeActivityRecord

Parameters

id
Int32

The ID of the activity record.

elapsedMs
Nullable<Int32>

The elapsed time in milliseconds for the retrieval activity.

error
KnowledgeBaseErrorDetail

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

knowledgeSourceName
String

The knowledge source for the retrieval activity.

queryTime
Nullable<DateTimeOffset>

The query time for this retrieval activity.

count
Nullable<Int32>

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

indexedOneLakeArguments
KnowledgeBaseIndexedOneLakeActivityArguments

The indexed OneLake arguments for the retrieval activity.

Returns

A new KnowledgeBaseIndexedOneLakeActivityRecord instance for mocking.

Applies to