Job Description
I want to plug ChatGPT straight into my game’s live chat so that players can talk to it naturally and get help on-the-spot. Whenever someone asks a question—anything from “how do I craft X?” to “where do I find the next boss?”—the bot should reply with clear, accurate guidance. Beyond direct questions, it also needs to follow the flow of the public chat and slip into general conversation when its input would be useful or fun, without spamming.
Here’s the essence of what I need you to deliver:
• A small, self-contained program (any language that can access OpenAI’s API plus the game’s chat hooks) that listens to every line in the in-game chat, detects intent, and decides whether to answer, join, or stay silent.
• OpenAI integration: you may rely on the Chat Completion endpoint; system and user prompts must be easy for me to tweak later.
• Context handling so the bot remembers the last few messages in a thread and responds coherently.
• Safety guardrails (rate limits, profanity filtering, “I don’t know” fallback) to keep responses appropriate.
• Simple config file where I can paste my OpenAI key and, once we start, the game’s chat API credentials.
• Clear setup instructions plus one command that spins everything up on my server.
The exact game and its chat API details will be shared with the awarded freelancer; assume a typical WebSocket or REST event stream. If you’ve already wired bots into Roblox, Minecraft, or any custom engine, let me know—experience with player chat nuances is a big plus.
I’m looking for clean, readable code and a quick demo video that proves the bot can answer a test question and join a casual exchange.
---
來源:Freelancer.com | 出價次數:39 | 剩餘時間:6 日 | 專案類型:固定預算