SearchModelFactory.KnowledgeBaseModelAnswerSynthesisActivityRecord 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 KnowledgeBaseModelAnswerSynthesisActivityRecord.
public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseModelAnswerSynthesisActivityRecord KnowledgeBaseModelAnswerSynthesisActivityRecord(int id = 0, int? elapsedMs = default, Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseErrorDetail error = default, int? inputTokens = default, int? outputTokens = default);
static member KnowledgeBaseModelAnswerSynthesisActivityRecord : int * Nullable<int> * Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseErrorDetail * Nullable<int> * Nullable<int> -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseModelAnswerSynthesisActivityRecord
Public Shared Function KnowledgeBaseModelAnswerSynthesisActivityRecord (Optional id As Integer = 0, Optional elapsedMs As Nullable(Of Integer) = Nothing, Optional error As KnowledgeBaseErrorDetail = Nothing, Optional inputTokens As Nullable(Of Integer) = Nothing, Optional outputTokens As Nullable(Of Integer) = Nothing) As KnowledgeBaseModelAnswerSynthesisActivityRecord
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.
Returns
A new KnowledgeBaseModelAnswerSynthesisActivityRecord instance for mocking.