다음을 통해 공유


ConversationsModelFactory.AnalyzeConversationResult Method

Definition

Initializes a new instance of AnalyzeConversationResult.

public static Azure.AI.Language.Conversations.Models.AnalyzeConversationResult AnalyzeConversationResult (string query = default, string detectedLanguage = default, Azure.AI.Language.Conversations.Models.PredictionBase prediction = default);
static member AnalyzeConversationResult : string * string * Azure.AI.Language.Conversations.Models.PredictionBase -> Azure.AI.Language.Conversations.Models.AnalyzeConversationResult
Public Shared Function AnalyzeConversationResult (Optional query As String = Nothing, Optional detectedLanguage As String = Nothing, Optional prediction As PredictionBase = Nothing) As AnalyzeConversationResult

Parameters

query
String

The conversation utterance given by the caller.

detectedLanguage
String

The system detected language for the query in BCP 47 language representation..

prediction
PredictionBase

The prediction result of a conversation project. Please note PredictionBase 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 ConversationPrediction and OrchestrationPrediction.

Returns

A new AnalyzeConversationResult instance for mocking.

Applies to