{"repo":"imyimang/discord-gemini-chat-bot","free":true,"listed":false,"github":"https://github.com/imyimang/discord-gemini-chat-bot","clone":"git clone https://github.com/imyimang/discord-gemini-chat-bot.git","description":"Discord AI Chat Bot made with Google Gemini API","language":"Python","stars":21,"topics":["discord-bot","discord-py","gemini-api","ai-chatbot"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Gemini Discord Bot English 繁體中文 這是一個利用 Google Gemini 模型的 API 來製作的 Discord AI 聊天機器人 功能 - 短期記憶 - 圖片辨識 - 爬取網址 Title 簡單判斷內容 - 透過 Wolframalpha 搜尋內容 - 透過 Google 搜尋內容 - 爬取 NOWnews 各版新聞 - 搜尋 Youtube 影片 Demo 點擊查看 安裝 將機器人設定填入 .env.example 中，然後將它重新命名為 .env [!WARNING] 外部工具調用預設為關閉，如果要開啟請將 CALL TOOLS = false 更改為 CALL TOOLS = true 並填入對應的 API Key 安裝函式庫: 將 prompt 放入 prompt.txt (可略過) 教學 將 history 放入 call api.py (可略過) 教學 執行 main.py 介紹 - 運作原理 - 指令 - 更新日誌 常見問題 - 如何取得 Gemini API key? - 如何撰寫提示詞? - 如何產生訓練用的history? - Error:The caller does not have permisson - Gemini 不同模型的選擇 參考資料 - Echoshard/Gemini Discordbot - peter995peter/discord-gemini-ai","default_branch":null,"files":null,"tree":[],"storefront":"/r/imyimang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/imyimang/discord-gemini-chat-bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}