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

27 lines
1.5 KiB
Markdown
Raw Permalink 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.

# 直接返信
### 定義
チャットフローのプロセス内で返信内容を定義する。
テキストエディタを使用して返信フォーマットを自由に定義できる。固定のテキスト内容をカスタマイズしたり、前のステップで出力された変数を返信内容として使用したり、カスタマイズしたテキストと変数を組み合わせて返信することができる。
ノードを随時追加して内容をストリーミング形式で会話に返信し、所見即所得の設定モードをサポートし、テキストと画像の混在も可能である。例えば:
1. LLMードの返信内容を出力
2. 生成された画像を出力
3. 純テキストを出力
**例1** 純テキストを出力
<figure><img src="../../../.gitbook/assets/output (2) (2).png" alt=""><figcaption></figcaption></figure>
**例2** 画像+LLMの返信を出力
<figure><img src="../../../.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png" alt=""><figcaption></figcaption></figure>
<figure><img src="../../../.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png" alt="" width="275"><figcaption></figcaption></figure>
{% hint style="info" %}
直接返信ノードは最終的な出力ノードとして使用しないことができ、プロセスの中間ステップで結果をストリーミング形式で出力することができる。
{% endhint %}