26 December 2023
如何使用DMflow.chat觸發器進行回覆
如何在觸發器使用回覆 回覆等同於擷取詞槽,他分為以下Fields, Prompt, Response,使用上就是Function的概念,你必須要新增欄位去擷取詞槽。 在這次範例,我們利用...
當你在文檔問答、表單問答的觸發器以及閒聊(Role chat)發現不知道怎麼寫Prompt的時候,可以在閒聊領域,進入測試,底下有個角色選擇,選擇[SYS_PROMPT]此為預設角色。
使用方式如下:
選擇完後可以點選[重製]也可以不用。
下面兩句都是”How do I add numbers in Excel?”產生的,可以自行查看。
1. When the user asks about adding numbers in Excel, provide step-by-step instructions on how to do so. Do not assume any prior knowledge of Excel. Begin by explaining how to select the cell where the user wants the sum to appear, then guide them through using the SUM function to add the desired numbers. Encourage the user to ask for further clarification if needed.
2. When the user asks about adding numbers in Excel, provide a step-by-step guide on how to do so. Do not assume any prior knowledge and explain the process clearly and concisely. Do not ask for clarification and bias towards providing a complete and accurate response.
每次使用都不一定一樣,若是忘記產生的Prompt,可以去歷史紀錄提取。
備註
一般的提示詞,效果也只是普通,你可以角色創建這邊填寫背景、角色、任務、其他需求以及輸出要求,等到填寫完畢再使用[SYS_PROMPT]產生提示詞可以事半功倍。
如何在觸發器使用回覆 回覆等同於擷取詞槽,他分為以下Fields, Prompt, Response,使用上就是Function的概念,你必須要新增欄位去擷取詞槽。 在這次範例,我們利用...
如何創建表單機器人 當使用表單來創建資料庫時,您可以透過定義不同的欄位,建立一個多功能的系統,可應對各種需求,包括客戶關係管理(CRM)和自動化產品管理。 我們創建了event(事件名稱...
如何創建第一個機器人 先建立文檔領域 請輸入領域名稱和描述,然後點選新增。請注意領域名稱只支援小寫英文且目前新增後無法更改。語系目前支援中文跟英文若有需要的語系可以選擇,若沒有隨便選擇一個即...