Skip to content

thepKz/grok_xAI

Repository files navigation

X Bot - AI ChatBot 🤖

A GenZ-style AI chatbot specialized in psychological counseling, numerology, and relationship advice.

{FEFD8E4C-1FAC-4B87-990C-88D93F936F7E}

Features ✨

  • 🔮 Numerology Analysis: Get insights about your life path numbers and their meanings
  • 💝 Relationship Advice: Receive guidance on relationships and personal matters
  • 🌱 Personal Development: Get tips for self-improvement and growth
  • 💬 GenZ Communication Style: Engaging conversations with modern language and emojis
  • 🔄 Chat History: Persistent storage of conversations
  • 🎯 Context-Aware: Bot remembers previous messages for meaningful conversations

Prerequisites 📋

Before you begin, ensure you have:

  • Python 3.8 or higher installed
  • An X.AI API key (Get it from X.AI Platform)

Installation 🚀

  1. Clone the repository:
git clone https://github.com/yourusername/xbot.git
cd xbot
  1. Create and activate a virtual environment (recommended):

Note: If you already installed Python, Skip this.

# Windows
python -m venv venv
venv\Scripts\activate

# macOS/Linux
python3 -m venv venv
source venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Create a .env file in the project root and add your X.AI API key:
XAI_API_KEY=your-api-key-here

Usage 💡

  1. Start the application:
python app.py
  1. Open your browser and go to:
http://localhost:5000
  1. Start chatting with X Bot! Try these features:
  • Ask for numerology analysis by providing your birthdate
  • Seek relationship advice
  • Get personal development guidance
  • Clear chat history using the "Clear chat" button

Example Prompts 🗣️

  • "Can you analyze my birthdate: 13/03/2003?"
  • "I need advice about my relationship"
  • "How can I improve my communication skills?"
  • "What does my life path number mean?"

Tech Stack 🛠️

  • Flask: Web framework
  • SQLite: Database for chat history
  • X.AI API: AI language model
  • HTML/CSS/JavaScript: Frontend interface

Contributing 🤝

Contributions are welcome! Please feel free to submit a Pull Request.

License 📄

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments 🙏

  • Thanks to X.AI for providing the AI capabilities
  • Special thanks to all contributors

Support 💪

If you encounter any issues or have questions, please open an issue in the repository.


Made with ❤️ by [MinThep]

About

grok AI ChatBot with GenZ Version - VietNam

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published