SearchModelFactory.KnowledgeBaseAgenticReasoningActivityRecord Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of KnowledgeBaseAgenticReasoningActivityRecord.
public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseAgenticReasoningActivityRecord KnowledgeBaseAgenticReasoningActivityRecord(int id = 0, int? elapsedMs = default, Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseErrorDetail error = default, int? reasoningTokens = default, Azure.Search.Documents.KnowledgeBases.Models.KnowledgeRetrievalReasoningEffort retrievalReasoningEffort = default);
static member KnowledgeBaseAgenticReasoningActivityRecord : int * Nullable<int> * Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseErrorDetail * Nullable<int> * Azure.Search.Documents.KnowledgeBases.Models.KnowledgeRetrievalReasoningEffort -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseAgenticReasoningActivityRecord
Public Shared Function KnowledgeBaseAgenticReasoningActivityRecord (Optional id As Integer = 0, Optional elapsedMs As Nullable(Of Integer) = Nothing, Optional error As KnowledgeBaseErrorDetail = Nothing, Optional reasoningTokens As Nullable(Of Integer) = Nothing, Optional retrievalReasoningEffort As KnowledgeRetrievalReasoningEffort = Nothing) As KnowledgeBaseAgenticReasoningActivityRecord
Parameters
- id
- Int32
The ID of the activity record.
- error
- KnowledgeBaseErrorDetail
The error detail explaining why the operation failed. This property is only included when the activity does not succeed.
- retrievalReasoningEffort
- KnowledgeRetrievalReasoningEffort
Please note KnowledgeRetrievalReasoningEffort 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 KnowledgeRetrievalLowReasoningEffort, KnowledgeRetrievalMediumReasoningEffort and KnowledgeRetrievalMinimalReasoningEffort.
Returns
A new KnowledgeBaseAgenticReasoningActivityRecord instance for mocking.