この文章は Salesforce 機械翻訳システムを使用して翻訳されました。詳細はこちらをご参照ください。
英語に切り替える

submitTextClassificationsRequest(textClassificationsRequestInput, llmType)

テキスト分類リクエストを Einstein に送信します

API バージョン

59.0

Chatter が必要かどうか

いいえ

署名

public static ConnectApi.TextClassificationsOutputRepresentation submitTextClassificationsRequest(ConnectApi.TextClassificationsInputRepresentation textClassificationsRequestInput, String llmType)

パラメーター

textClassificationsRequestInput
型: ConnectApi.TextClassificationsInputRepresentation
テキスト文字列と分類子のリストを含むテキスト分類。各テキスト文字列は、分析に基づいて分類子に分類されます。
llmType
型: List )String)
分析に使用される大規模な言語モデル。OpenAI のみをサポートします。

1ConnectApi.TextClassificationsInputRepresentation textClassificationsInputRepresentation = new ConnectApi.TextClassificationsInputRepresentation();
2textClassificationsInputRepresentation.textList = textList;
3textClassificationsInputRepresentation.classifiers = classifiers;
4List < String > requestIds = new List < String > ();