dify-docs/jp/guides/workflow/node/start.md

31 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 開始
### 定義
ワークフローの開始パラメータを定義します。
開始ノードでは、ワークフローの入力変数をカスタマイズすることができます。すべてのワークフローには開始ノードが必要です。
<figure><img src="../../../.gitbook/assets/image (236).png" alt="" width="375"><figcaption><p>ワークフロー開始ノード</p></figcaption></figure>
開始ード内で定義できる入力変数は、次の4種類です
* テキスト
* 段落
* ドロップダウンオプション
* 数字
* ファイル(近日対応予定)
<figure><img src="../../../.gitbook/assets/output (2) (1).png" alt=""><figcaption><p>開始ノード変数の設定</p></figcaption></figure>
設定が完了すると、ワークフロー実行時に開始ノードで定義された変数値の入力が求められます。
<figure><img src="../../../.gitbook/assets/output (3) (1).png" alt=""><figcaption></figcaption></figure>
{% hint style="info" %}
ヒント:チャットフローでは、開始ノードがシステム組み込み変数 `sys.query``sys.files` を提供します。
`sys.query` は対話型アプリケーションにおけるユーザー質問入力に使用されます。
`sys.files` は対話中にファイルをアップロードするために使用されます。例えば、画像理解モデルと連携して画像をアップロードする場合などです。
{% endhint %}