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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET