8000 GitHub - imyimang/discord-gemini-chat-bot: Discord AI Chat Bot made with Google Gemini API
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

imyimang/discord-gemini-chat-bot

Repository files navigation

Gemini Discord Bot

Python discord.py Stars Forks License

English | 繁體中文

這是一個利用 Google Gemini 模型的 API 來製作的 Discord AI 聊天機器人

功能

  • 短期記憶
  • 圖片辨識
  • 爬取網址 Title 簡單判斷內容
  • 透過 Wolframalpha 搜尋內容
  • 透過 Google 搜尋內容
  • 爬取 NOWnews 各版新聞
  • 搜尋 Youtube 影片

Demo

點擊查看 Image

安裝

將機器人設定填入 .env.example 中,然後將它重新命名為 .env

Warning

外部工具調用預設為關閉,如果要開啟請將 CALL_TOOLS = false 更改為 CALL_TOOLS = true 並填入對應的 API Key

安裝函式庫:

pip install -U -r requirements.txt

將 prompt 放入 prompt.txt (可略過) 教學

將 history 放入 call_api.py (可略過) 教學

執行 main.py

介紹

常見問題

參考資料

About

Discord AI Chat Bot made with Google Gemini API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
0