owned this note changed a year ago
Linked with GitHub

議程4 - 利用 Gemini Pro 和 Golang 打造創新智能的 LINE Bot 應用 / Building Innovative and Intelligent LINE Bot Applications with Gemini Pro and Golang - Evan Lin

tags: GopherDay2024 Agenda
HackMD Error: 403 error

Slido 連結

投影片連結

fun fact: 用 Go 考試會考 100 分

Line Bot 用來總結 Arxiv 上的論文 https://github.com/kkdai/linebot-arxiv

GPT-4V 的論文:LLM 開始可以看圖片

Line bot callback 拿到 message ID 後可以拿到對應的圖片、讀出來丟到 Gemini

LLM Powered Autonomous Agents
Overview of a LLM-powered autonomous agent system.

小技巧

  • 任何聊天機器人,先確認輸入來源,(根據使用情境)要濾掉來源是群組的訊息。
  • 就結果而言,prompt 若是英文會比中文好,或是先請 LLM 將中文 prompt 翻譯成英文 prompt
  • 即便請 LLM 回 JSON,仍會回覆 markdown,需要做字串處理。
  • 可以提醒 LLM,JSON 欄位為空時使用 'N/A' 或是其他方便做處理的字串,否則 LLM 可能會連空字串都沒給。
  • 可以指定 Function call 讓 LLM 呼叫
Select a repo