Udostępnij za pośrednictwem


ConversationsModelFactory.PredictionBase(String, String) Method

Definition

Initializes a new instance of PredictionBase.

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

Parameters

projectKind
String

The type of the project.

topIntent
String

The intent with the highest score.

Returns

A new PredictionBase instance for mocking.

Applies to