跳到正文
DEV Community· NelsonLAN·· 1 天前AI 評分25

非電腦科學學生如何看待「懶人訊息閲讀器」問題

How a non-CS student views this lazy message reader problem

AI 導讀

一名非電腦科學學生以 Discord 機械人和模型伺服器,實作懶人訊息閲讀器,參加 Hacktoberfest Open-Source AI Challenge Week 3。

正文

NelsonLAN

Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady Submission 🦥

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady

What I Built

How a non-CS student views this lazy message reader problem

Demo

How I Built It

Discord side: Create a bot in the Discord developer portal, enable Message Content Intent, and invite it to the server. Use the bot token, not your own account token

Then paste in the channel IDs you want read (turn on Developer Mode in Discord to copy them).

In its place are a model server URL and a model name, prefilled with Ollama’s defaults. It uses the OpenAI-style /v1/chat/completions format, so Ollama, LM Studio, llama.cpp server and vLLM should all work.

來源:DEV Community · dev.to