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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET