Actions4
テキスト補完
AI-generatedSummary
Send a text completion request to Dify
Inputs
- user (required) — エンドユーザーを識別するための一意の ID
- inputs — アプリで定義された入力変数を JSON 形式で指定する
- completionQuery — テキスト補完に送信するクエリ(任意)
Output shape
array of execution metadata objects (one per input item)
Each element contains the parsed response from the Dify completion endpoint; errors are wrapped in the same structure.
Examples
Example 1: Add a text‑completion node after a HTTP request
operation=textCompletion, user=12345, completionQuery="What is AI?", inputs={}