Skip to main content

OmniGenAI Toolkit

OmniGenAI Toolkit is a lightweight, rule-based AI chatbot written entirely in Python. It requires no external model downloads, making it perfect for educational use, rapid prototyping, or extending into more advanced AI tools.


🔧 Features

  • ✅ Regex-based pattern matching chatbot
  • ✅ Customizable responses
  • ✅ Fallback logic with keyword detection
  • ✅ 100% Python Standard Library — no downloads or external dependencies
  • ✅ Unit tested and modular structure

📦 Installation

Clone and install the package locally:

git clone https://github.com/gopalakrishnanarjun/omnigenai_toolkit.git
cd omnigenai-toolkit
python3 -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install .

🚀 Usage

To run the example chatbot:

python examples/run_chat.py

💬 Example Session

You: hello
Bot: Hi there!

You: what is your name
Bot: I'm SmartAI, your simple Python chatbot.

You: what time is it?
Bot: The current time is 14:32:08.

You: bye
Bot: Goodbye! 👋

🗂 Project Structure

omnigenai-toolkit/
├── docs/                   # Documentation (optional)
├── examples/               # Example usage scripts
│   └── run_chat.py
├── omnigenai_toolkit/      # Main module code
│   └── chatbot.py
├── tests/                  # Unit tests
│   └── test_chatbot.py
├── .gitignore
├── LICENSE
├── README.md
└── setup.py

🧠 How It Works

  • Uses re to match user input against predefined patterns.
  • Returns randomized responses for variety.
  • If no match is found, falls back to simple keyword checks like "time" or "weather".

🌱 Future Enhancements

🔹 Short-Term

  • Store patterns and responses in external JSON/YAML
  • Add chatbot personality profiles (e.g., sarcastic, friendly)

🔹 Medium-Term

  • Add memory/context support for ongoing conversations
  • Create web interface using Flask or FastAPI

🔹 Long-Term

  • Integrate voice input/output
  • Use cloud APIs (optional) for GPT-style responses
  • Add multilingual support and translation layer

🤝 Contributing

  1. Fork the repo
  2. Create a new feature branch
  3. Push your changes and open a Pull Request

All contributions are welcome — from typo fixes to new features!


📄 License

This project is licensed under the MIT License — free to use, modify, and distribute.


✨ Author

Built with ❤️ by Gopalakrishnan Arjunan (https://github.com/gopalakrishnanarjun)


🙌 Acknowledgments

Inspired by early rule-based AI bots like ELIZA and built for offline-friendly simplicity.

Metadata

Release files for omnigenai-toolkit 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omnigenai-toolkit 1.0.1
File Size Uploaded Provenance
omnigenai_toolkit-1.0.1.tar.gz 3.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for omnigenai-toolkit 1.0.1
File Interpreter ABI Platform
omnigenai_toolkit-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / omnigenai_toolkit-1.0.1.tar.gz

Download URL omnigenai_toolkit-1.0.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ad320d5bfcf5d86c6d960cbdea508feb9bb86bab04a07089f3bef1bf9f238661
BLAKE2b-256 checksum
How to use checksums
737aa2bbe3b2361cc31f2e8389bfd537eae2e9f000f737b93a8e95d064a8460e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / omnigenai_toolkit-1.0.1-py3-none-any.whl

Download URL omnigenai_toolkit-1.0.1-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07dcbcbe1eaa7292c3fb90bfbc440405d32640c54fe932e8a1c3cc17e058096f
BLAKE2b-256 checksum
How to use checksums
43f058d69870ffb1d173721e07a48fd05fb214a370274a58d5d8e085c4ec593a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Security for omnigenai-toolkit 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page