ConversationsModelFactory.ConversationResult 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 ConversationResult.
public static Azure.AI.Language.Conversations.Models.ConversationResult ConversationResult (string query = default, string detectedLanguage = default, Azure.AI.Language.Conversations.Models.ConversationPrediction prediction = default);
static member ConversationResult : string * string * Azure.AI.Language.Conversations.Models.ConversationPrediction -> Azure.AI.Language.Conversations.Models.ConversationResult
Public Shared Function ConversationResult (Optional query As String = Nothing, Optional detectedLanguage As String = Nothing, Optional prediction As ConversationPrediction = Nothing) As ConversationResult
Parameters
- query
- String
The same query given in request.
- detectedLanguage
- String
The detected language from the query in BCP 47 language representation.
- prediction
- ConversationPrediction
The predicted result for the query.
Returns
A new ConversationResult instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET