-
-
Notifications
You must be signed in to change notification settings - Fork 0
AI Chatbot
NexusRisen edited this page May 13, 2026
·
7 revisions
DudeBot.NET features a powerful AI chatbot powered by Hugging Face's Inference API. This chatbot acts as an expert Pokémon assistant, capable of answering questions, generating competitive Showdown sets, and automatically adding them to the trade queue.
- Natural Language Requests: Ask for Pokémon naturally (e.g., "@DudeBot, can I have a competitive Mewtwo?").
- Expert Knowledge: The AI is trained on Pokémon competitive play (Smogon/VGC), historical events, and legality.
- Automated Queueing: If the AI provides a valid Showdown set, it will ask if you want to be added to the queue.
- Legality Guard: All AI-generated Pokémon are verified by the internal PKHeX.Core engine. If a set is illegal (e.g., shiny-locked), the AI is automatically asked to fix it before you are queued.
To enable the AI chatbot:
-
Get a Hugging Face Token:
- Create a free account at huggingface.co.
- Go to Settings > Access Tokens and create a new "Read" token.
-
Configure DudeBot.NET:
- Open the WinForms application.
- Navigate to Discord Settings > AI Settings.
- Paste your Hugging Face API Key.
- Set Enable AI Chatbot to
True.
-
Model Selection:
- By default, the bot uses
mistralai/Mistral-7B-Instruct-v0.2. You can customize this if you have a preferred model.
- By default, the bot uses
- Restart the Bot: Restart the application to initialize the AI service.
- Mention the Bot: Mention your bot in a whitelisted Discord channel with your request.
- AI Response: The AI will respond with information about your request. If a Pokémon was requested, it will provide a Showdown set wrapped in tags.
- Confirmation: The bot will ask: "Would you like to be put in the queue for this Pokemon? (Yes/No)".
- Queueing: Reply with "Yes" or "Y", and you will be added to the trade queue!
- "I couldn't think of a response right now": This usually means the Hugging Face API is rate-limited or the model is still loading. Wait 30 seconds and try again.
- "Set is illegal": If the AI suggests an illegal Pokémon, the bot will attempt to ask the AI for a fix. If it still fails, it will notify you of the legality error.