串接教學 Part 2

影片04:57 指令如下, 設定方式請看 Part 1 步驟53 在教學影片08:40-09:00

act as a customer service agent, rewrite so that it responds to the question given in , make it readable adn like a real human in traditional chinese, make sure to not add too much fluff.

 

1.  

 

2. 點選添加

 

3. 點選 Airtable

 

4. 點選 Base

 

5. 選擇 FAQ Database

 

6. 點選 Table

 

7. 選擇 Answers

 

8. 點選 Record ID

 

9. 展開 Answers

 

10. 點選 [1]

 

11. 畫面如下

 

12. 畫面如下

 

13. 點選OK

 

14. Overview

 

15. 

 

 

16. 取出來的相關資料要透過ChatGPT 加語氣寫成最好回覆一開始在LINE 收到的訊息

 

17. 點選OpenAI  (ChatGPT, Whisper, DALL-E)

 

18. 點選 Create a Completion (Prompt)  (GPT-3, GPT-3.5, GPT-4)

 

19. 點選 Model

 

20. 點選 gpt-4o (system)

 

21. 點選 Add message

 

22. 點選 Role

 

23. 點選 User

 

24. 點選Message content 複製貼上底下指令 

act as a customer service agent, rewrite so that it responds to the question given in , make it readable adn like a real human in traditional chinese, make sure to not add too much fluff

 

25. 游標放在Rewrite後面 出現視窗後再點選裡面的Answer就會自動插入在對的位置

 

26. 游標放在In後面 出現視窗後點選裡面的Text

 

27. 點選 MaxTokens

 

28. 輸入100

 

29. 點選OK

 

30. 充满 "​Result​"

 

31. 點選 Save, 不然跳出會需要重新設定

 

32. 現在要把ChatGPT寫的回覆傳給原本發訊息的客人

 

33. 點選添加

 

34. 點選 LINE Verified

 

35. 點選 Sends a reply message

 

36. 點選Reply Token

 

37. 點選 Reply Token

 

38. 點選 Add item

 

39. 畫面跳轉如下

 

40. 點選 Text

 

41. 點選 Result

 

42. 點選後畫面如下

 

43. 點選 OK

 

44. 點選 Save

 

45. 現在要用左下角的Run Once 來看有沒有成功全部串接起來

 

46. 還沒有全部串接完成 後面還需要串接如果沒有相關資料的訊息

 

47. 點選Run once

 

48. 點選 Wait for new data

 

49. 畫面如下

 

50. 點選 FIND('Result', {Keyword}) Keyword 少了一個 s 在後面 所以沒辦法跟 Airtable核對關鍵字

 

51. 加個s後才會有正確版本 FIND('2.result', {Keywords})

 

52. 不用再做其他調整 先試看看有沒有解決問題

 

53. 點選 OK

 

54. 點選 Run once

 

55. 點選 Wait for new data

 

56. 畫面如下

 

57. 自動化流程又出現問題了 我們來了解一下

 

58. 點選紅色三角形 畫面如下

 

59. 問題是Airtable 沒有一樣的關鍵字在資料庫裡所以沒辦法繼續跑自動化流程

 

60. 這裡證明ChatGPT 抓出的關鍵字沒有出現在Airtable裡

 

61. 因為ChatGPT沒辦法從LINE訊息 抓出對的關鍵字 所以Airtable沒辦法取出相關資料

 

62. 現在要調整ChatGPT的指令 讓他有辦法抓出對的關鍵字

 

63. 點選ChatGPT

 

64. 這個指令會讓ChatGPT把訊息裡的每個字變成關鍵字但是Airtable 沒辦法一次核對很多關鍵字 所以指令要改

 

65. 新指令 

analyze {{1.events[].message.text}} and separate each word into separate individual keywords respond with only the keyword that best represents the question posed in {{1.events[].message.text}}​

 

66. 輸入 {{1.events[].message.text}} 跟串接教學 Part 1 步驟 53一樣 

如有遇到問題參考串接教學 Part 1 步驟 53

 

67. 點選 OK

 

68. 看看這次調整的指令能不能用

 

69. 點選 Run once

 

70. 點選 Wait for new data

 

71. 現在全成功了 右上角每個泡泡都有1的話 就是有成功跑完自動化流程

 

72. 點進右上較小泡泡可以讓你看到做完的工作流程輸出的內容

 

73. 接下來要串接 如果真的沒有核對到關鍵字如何回覆客人

Powered by Teachify