0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Template-Triggered Prompt Flow

Last updated at Posted at 2024-12-04

使っているクラウドなどの小ネタ Advent Calendar 2024 5日目

これで、Flow Builder でテンプレート トリガー プロンプト フローを構築し、Prompt Builder のプロンプト テンプレートと統合できるようになりました。フローは動的なロジックとアクションを実行して、関連付けられたプロンプト テンプレートの解決にマージされる出力テキストを生成します。

テンプレートによってトリガーされるプロンプトフローは、Winter '24 で作成されたプロンプトテンプレートと互換性がありません。

質問

リンクを確認してください。

https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007igHVUSA2

はい、フローベースのトリガーがサポートされている場合は、FlexCard やその他のテンプレートでプロンプトトリガーフローを使用できます。

エラー

image.png

Flex prompt template type options for the template-triggered prompt flow Stat element are being replaced. To future-proof this flow, select manual inputs instead of automatic inputs.

謎が解けた。

手動入力に切り替えた後、recordId 変数を「入力可能」として作成します。

次に、プロンプト テンプレートで、同じ API 名を使用してテキスト入力を作成します。

私の場合、変数名は recordId だったので、テキスト入力 API 名を recordId として作成しました。

(はい、入力変数は一度作成すると更新できないため、新しいテンプレートを作成する必要があります...)

テキスト入力を追加すると、リソースにプロンプ​​ト フローが表示されました。

image.png

Template-Triggered Prompt Flow
to be visible we need to turn on the "Einstein setup" from Setup.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?