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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET