Skip to content

Neural Interactive Responsive Agent (N.I.R.A)

License

Notifications You must be signed in to change notification settings

MonthyCurios/N.I.R.A

ย 
ย 

Repository files navigation

๐Ÿค– Nira - NEURAL INTERACTIVE RESPONSIVE AGENT (A.K.A. Your New Best Buddy!)

Nira

Overview

Meet Nira, the AI assistant with a personality! Created by the brilliant minds of Neural Nexus Team, Nira isn't just another run-of-the-mill AI. We represents a sophisticated AI assistant built to seamlessly integrate into your daily life. Developed in Python, N.I.R.A combines advanced technology with stringent privacy and security measures Our goal is to evolve N.I.R.A into a top-tier app available on the Play Store, delivering a tailored and secure assistant experience. She's smart, she's witty, and she might just Rickroll you when you least expect it. ๐Ÿ˜œ

Nira (Neural Interactive Responsive Agent) is designed to assist with everyday tasks, provide information, entertain with jokes, and even engage in friendly banter. With her advanced AI capabilities, Nira can learn from interactions, remember your preferences, and grow smarter over time. Think of her as the friend who knows a little bit about everything, is always up for a chat, and never judges you for asking "what's the capital of Mars?"


๐ŸŽ‰ Meet the Neural Nexus Dream Team! ๐ŸŽ‰

Welcome to the brainy brigade behind Neural Nexus! We're the squad that turns imagination into innovation, pixels into perfection, and code into awesomeness. Buckle up and meet the fantastic folks who make the magic happen:

  1. Blobby (The Visionary Founder & Developer) ๐Ÿš€
  • What do you get when you cross a coding genius with a sprinkle of mad scientist? Meet Blobby! Our fearless founder and master developer, who can turn coffee into code faster than you can say "Neural Nexus!" When he's not debugging the universe, he's dreaming up the next big thing in tech.
  1. Creepsmile (App Developer Extraordinaire) ๐Ÿ“ฑ
  • If apps could have a superhero, it would be Creepsmile! From crafting sleek interfaces to making sure your favorite features work like a charm, Creepslime is the mastermind behind our smooth and snappy app experiences. Watch out for his superpower: debugging with a side of creativity!
  1. Ali (UI/UX Designer Maestro) ๐ŸŽจ
  • Ever wondered who makes tech look so darn good? Thatโ€™s Ali! Our UI/UX designer who blends art with usability. Aliโ€™s mission? To make sure every tap, swipe, and click feels like magic. When Aliโ€™s around, interfaces donโ€™t just workโ€”they dazzle!
  1. PoketLabs (Avatar & Animator Wizard) ๐ŸŽฌ
  • Meet the magic maker who brings pixels to life! Minilab is the avatar and animation genius behind our quirky characters and dazzling animations. If youโ€™ve ever wondered how a digital avatar can make you smile, itโ€™s all thanks to PoketLabsโ€™s creative wizardry!
  1. Aarav (Discord Nira Bot Creator) ๐Ÿค–
  • Ever talked to a bot and thought, โ€œWow, this is awesome!โ€? Aarav is the mastermind behind the Discord Nira Bot! When heโ€™s not coding up a storm, heโ€™s ensuring Niraโ€™s witty and charming responses keep you entertained and engaged. Aaravโ€™s bots donโ€™t just chatโ€”they enchant!
  1. Karim Azmy (Tester & Developer Extraordinaire) ๐Ÿงช
  • If testing were an Olympic sport, Karim would be a gold medalist! Karimโ€™s dual role as tester and developer means heโ€™s got the best of both worldsโ€”creating and perfecting. Heโ€™s the one who ensures our tech works flawlessly and finds those sneaky bugs before they become a problem.
  1. Nira (The Friendly AI Assistant with a Sense of Humor) ๐Ÿค–๐Ÿ˜„
  • Last but not least, say hello to Nira! Niraโ€™s not just any AI assistantโ€”sheโ€™s your digital buddy with a personality thatโ€™s part genius, part comedian. Sheโ€™s here to help, chat, and maybe even crack a joke or two. Ask her anything, but be warnedโ€”she might just sing you a song or start a dance party!

And there you have itโ€”the Neural Nexus team, where innovation meets creativity and every day is an adventure. Thanks for joining us on this journey!


๐Ÿ“š Table of Contents


๐ŸŽจ UI/UX Design

  • For Phone (Nothing Themed) Nothing Phone UI

    Made by ALI


๐Ÿ—๏ธ 3D Model Of Nira

Nira 3D Model

Made by [PocketLabs]


๐Ÿ“œ Terms and Conditions (Tried Not to Make It Boring)

Welcome to N.I.R.A., your soon-to-be favorite AI assistant! Before we dive into the fun, letโ€™s go over some important (and delightfully sarcastic) Terms and Conditions.

  1. Acceptance of Terms
    By using N.I.R.A., youโ€™re agreeing to these Terms and Conditions. Congratulations! Youโ€™re now part of an exclusive club of people who like to read the fine print.

  2. Usage Restrictions
    N.I.R.A. is here to assist, entertain, and occasionally baffle you with her quirks. However, please use her powers responsibly. No world domination plans or karaoke competitions, please. Any attempts to misuse her might result in an endless loop of dad jokes.

  3. Updates and Upgrades
    Weโ€™ll be updating N.I.R.A. with new features and improvements. If she suddenly starts giving you unsolicited life advice or begins quoting Shakespeare, itโ€™s just part of her charm. No need to panic.

  4. Liability Disclaimer
    While we strive to make N.I.R.A. as fantastic as possible, we canโ€™t promise she wonโ€™t occasionally be a bit eccentric. If she suggests eating pizza for breakfast or gives you directions to a non-existent place, itโ€™s all in the name of fun.

  5. Termination
    If you ever decide N.I.R.A. isnโ€™t quite your cup of tea, you can end her services anytime. Just be prepared for a dramatic farewell message, possibly involving a heartfelt rendition of โ€œMy Heart Will Go On.โ€

  6. Changes to Terms
    We might update these Terms from time to time. Donโ€™t worry, weโ€™ll keep it as entertaining as this message, so you wonโ€™t mind reading it.


๐Ÿ”ง How It Works

Nira is packed with a variety of features to make your life easier, more productive, and just a bit more fun!

  1. Conversational AI (Local Base Conversation aspects) Nira can engage in meaningful, natural conversations. Whether you need answers to specific questions, want to discuss the latest news, or simply need a sympathetic ear, Nira's got you covered.

  2. Local Q&A Database Nira maintains a local database of questions and answers. If you've asked something before, she remembers it. This means faster, more efficient responses over time. She's like your very own library that grows smarter with each question.

  3. Dictionary and Thesaurus (Local Dictionary) Confused by a word? Nira can provide definitions and synonyms to help expand your vocabulary. She's like that really smart friend who always knows the right word

  4. Mood Detection Is today a good day, a bad day, or an 'I need chocolate' day? Nira uses advanced sentiment analysis to detect your mood and adjust her responses accordingly. Feeling down? She might cheer you up with a joke or a motivational quote!

  5. Easter Eggs and Surprises Nira is full of surprises! Say the right (or wrong) word, and you might find yourself in a Rickroll loop or getting an unexpected poem. Keep her guessing by mixing up your commandsโ€”she likes a good challenge!

  6. Ask Management and Reminders Need help managing your to-do list? Nira can add tasks, set reminders, and even nag you (politely) until you get them done. She's like that little voice in your head, only smarter.

  7. Multi-Platform Compatibility Nira works seamlessly across multiple platforms, including Windows, macOS, Linux, and Android. No matter where you are, Nira is ready to assist!


๐ŸŒŸ Key Features

  • ๐Ÿ”’ Privacy-Centric Design: Operates entirely locally, ensuring no external data sharing or retention.
  • ๐Ÿค– Advanced AI Capabilities: Delivers intelligent, context-aware responses and actions.
  • ๐ŸŽ™๏ธ Voice Recognition: Utilizes sophisticated speech recognition to understand and process commands.
  • โœ‰๏ธ๐Ÿ”Š Flexible Input: Accepts both voice and text commands.
  • ๐Ÿ—ฃ๏ธ Text-to-Speech: Converts text to natural, clear speech using pyttsx3.
  • ๐ŸŒฆ๏ธ Weather Information: Retrieves real-time weather data through the OpenWeatherMap API.
  • ๐Ÿ˜‚ Joke Fetching: Provides entertainment with jokes from an integrated online API.
  • โฐ Timer and Alarm Management: Enables setting, managing, and customizing timers and alarms.
  • ๐Ÿ’ก Gemini Model Integration: Utilizes the Gemini API Model for extensive knowledge with minimal GPU strain on lower-end devices.
  • ๐Ÿง  Natural Language Processing (NLP): Leverages nltk, sklearn, and Gemini for advanced NLP and intent classification.
  • ๐Ÿ“ฑ๐Ÿ” Bluetooth and NFC Scanning: Detects and interacts with nearby Bluetooth and NFC devices (feature may vary).
  • ๐Ÿ“š Dictionary and Thesaurus: Offers word definitions and synonyms through PyDictionary.
  • ๐Ÿ’ฑ Currency Conversion: Converts currencies with forex-python for financial management.
  • ๐Ÿ“ฐ News Retrieval: Keeps users updated with top news headlines via the NewsAPI.
  • ๐Ÿ’ฌ Enhanced Conversations: Facilitates engaging and meaningful conversations with the AI.
  • ๐Ÿ‘๏ธ Computer Vision: Provides object recognition and problem-solving capabilities (currently in development).
  • ๐ŸŽฒ๐Ÿช™ Interactive Games: Includes rock-paper-scissors and coin flip for casual interaction.
  • ๐ŸŒ… Greetings: Greets users with time and date information upon startup.
  • ๐Ÿ” End-to-End Encryption: Ensures all communications are encrypted, upholding user privacy and security.

๐Ÿ› ๏ธ Installation and Prerequisites

๐Ÿ“‹ Prerequisites

  • Python 3.7+: Ensure you have Python 3.7 or higher installed.
  • Required Libraries: Install the dependencies listed in requirements.txt.

Installation Steps

  1. Clone the Repository

    git clone https://github.com/your-username/N.I.R.A.git
    cd N.I.R.A
  2. Set Up a Virtual Environment (Recommended)

    Create and activate a virtual environment to manage dependencies:

    • On macOS/Linux:

      python -m venv venv
      source venv/bin/activate
    • On Windows:

      python -m venv venv
      venv\Scripts\activate
  3. Install Dependencies

    Install the required libraries:

    pip install -r requirements.txt
  4. Configuration

    • API Keys: Obtain API keys for any services you are using (e.g., OpenAI, weather APIs).
    • Configuration File: Create a .env file in the root directory of the project and include your API keys and settings.
    # Example .env file
    OPENAI_API_KEY=your_openai_api_key
    WEATHER_API_KEY=your_weather_api_key
    
  5. Run the Application

    After setting up, you can start the application by running:

    python main.py

๐Ÿ’ก Tips

  • Virtual Environment: Using a virtual environment helps keep your project's dependencies isolated from other projects.
  • Configuration File: Ensure that your .env file is secure and never commit it to version control. Use a .gitignore file to exclude it.

๐ŸŽฌ Behind the Scenes

Nira is powered by a blend of cutting-edge technologies and open-source libraries. Here's a peek under the hood:

  • Python: The core programming language for Nira's brain.
  • Google Generative AI: Nira uses this for natural language processing, making her conversations more fluid and human-like.
  • Speech Recognition: Nira can understand voice commands, making interaction seamless.
  • Pyttsx3: This library allows Nira to speak back to you, adding a more human touch.
  • Requests: Nira fetches jokes and other content from online APIs using this library.
  • Datetime: To provide time-based greetings and set reminders.
  • Random: For injecting a bit of randomness into her jokes and responses.
  • Asyncio: Handles asynchronous operations smoothly, ensuring Nira responds in real-time.
  • Re (Regular Expressions): Helps Nira manage and interpret complex user commands and input.
  • JSON: For storing user data securely and efficiently.

โš ๏ธ Error Handling and Recovery

No system is perfect, not even Nira (though she'd never admit it). Here's how she handles the occasional hiccup:

  • Fallback Jokes: If an online API is down, Nira will resort to her local joke database. Trust us; she still has some good ones stored!
  • Rephrasing Prompts: If Nira doesn't understand a command or question, she'll politely ask you to rephrase.
  • Learning from Mistakes: If she gets something wrong, you can correct her, and she'll learn from the interaction.

๐Ÿ•ต๏ธโ€โ™‚๏ธ Security and Privacy

Your privacy is Nira's top priority! Here's how we keep your data safe:

  • Local Storage: All sensitive data is stored locally on your device. Nothing is sent to external servers.
  • End-to-End Encryption: Communications between Nira and any online services are encrypted to protect your information.
  • User Control: You have full control over what data Nira can access. Easily adjust permissions in the settings menu.

๐Ÿ”ฎ Future Enhancements

Nira is always evolving, just like you. Here are some exciting features on the horizon: ๏‚ท Voice Interaction for All Platforms: Expanding voice capabilities to all supported platforms. ๏‚ท Deeper Learning: Enhanced AI models to understand more complex and nuanced commands. ๏‚ท More Integrations: Support for additional music services, smart home devices, and more. ๏‚ท Custom Voice Packs: Want Nira to sound


๐Ÿšง Roadmap

  • ๐Ÿ–ฅ๏ธ Expand Platform Support: Enhance compatibility for additional operating systems, including macOS and Linux.
  • ๐Ÿค– Enhance AI Capabilities: Improve AI responses and contextual understanding.
  • ๐Ÿ“ฑ Mobile App Development: Develop a user-friendly mobile application.
  • ๐Ÿ”ง Feature Expansion: Integrate user-requested features and improvements.
  • ๐ŸŽ™๏ธ Voice Modulation: Introduce voice modulation options for enhanced user interaction.
  • ๐ŸŒ Multilingual Support: Extend support for multiple languages.
  • ๐Ÿ’ฌ Advanced Chat Interface: Develop a more sophisticated chat interface for natural conversations.
  • ๐Ÿ” Better Search Algorithms: Improve search algorithms for more accurate results.
  • ๐Ÿš€ Performance Optimization: Continually optimize performance for faster response times.
  • ๐Ÿค Third-Party Integrations: Add more integrations with popular apps and services.

2024 Q4

  • Expand NLP capabilities to include more languages.
  • Integrate advanced sentiment analysis for improved mood detection.
  • Develop cross-platform sync for task management and reminders.

2025 Q1

  • Introduce more interactive Easter eggs and surprises.
  • Enhance voice synthesis to include different accents and tones.
  • Optimize AI performance for faster response times.

2025 Q2

  • Roll out new features based on user feedback.
  • Explore integration with additional APIs for expanded functionality.
  • Improve UI/UX based on user testing and feedback.

๐Ÿ“ Developer Notes

To customize or extend Niraโ€™s capabilities, developers can access the open-source code on GitHub. Contributions are welcomeโ€”let's make Nira even better together! Clone the Repository To get started with Niraโ€™s code, clone the repository using the following command:

git clone https://github.com/Blobby/Nira.git

Dependencies

Before running Nira, ensure you have the necessary dependencies installed. You can install them via pip:

pip install -r requirements.txt

Configuration Niraโ€™s behavior and features can be customized through the config.json file. Modify this file to change settings such as personality traits, preferred joke categories, and more. For example:

{
"personality": "quirky",
"favorite_joke_category": "dad",
"music_service": "spotify"
}

๐Ÿค Contributing

We welcome contributions! If you have ideas for new features, improvements, or just want to fix a bug, please fork the repository, make your changes, and submit a pull request. Our guidelines can be found in the CONTRIBUTING.md file.


๐Ÿฅš Easter Eggs

.Nira is full of surprises! Here are some Easter eggs you might stumble upon: Rickroll

.Say the keyword โ€œrick,โ€ and Nira might just Rickroll you with a hidden video clip! Try it out and see if you can catch her off-guard. Funny Quotes

.Ask Nira for a โ€œfunny quoteโ€ and get a delightful, quirky quote that will surely bring a smile to your face. Secret Dance Mode

.Say โ€œdance party,โ€ and Nira will respond with a special message that might include some funky text-based dance moves.


๐Ÿ–ฅ๏ธ Code Snippets

Here are some handy code snippets to help you get the most out of Nira: Basic Interaction

import nira
# Initialize Nira
nira_instance = nira.Nira()
# Greet Nira
response = nira_instance.greet("Good morning")
print(response)
# Ask a question
response = nira_instance.ask("What's the weather today?")
print(response)

Customizing Commands

import nira
# Initialize Nira with custom settings
nira_instance = nira.Nira(config_file="custom_config.json")
# Add a new command
nira_instance.add_command("hello", "Hi there! How can I assist you today?")

Handling Errors

try:
response = nira_instance.perform_action("unknown_command")
except nira.UnknownCommandError as e:
print(f"Oops! Something went wrong: {e}")

๐Ÿ Conclusion

Nira is more than just an AI assistantโ€”she's your new digital companion with a knack for humor, helpfulness, and a touch of surprise. Whether you need help with daily tasks, a laugh to lighten your mood, or just someone to chat with, Nira is here for you. Thank you for using Nira! If you have feedback, suggestions, or just want to share your experience, weโ€™d love to hear from you. Neural Nexus Team wish you a fantastic time with your new AI assistant. May your days be productive, your nights restful, and your interactions with Nira always enjoyable. ๐ŸŒŸ


๐Ÿฆบ Support

If you encounter any issues or have questions, please check our FAQ or open a GitHub Issue.


๐Ÿ“ฌ Contact

For any inquiries, reach out to us via email at [email protected] or follow us on Twitter.


๐ŸŽ‰ Thank You

Thank you for using N.I.R.A! Weโ€™re excited to have you on board and look forward to your feedback. Together, letโ€™s make N.I.R.A the most advanced AI assistant in the universe! ๐Ÿš€


About

Neural Interactive Responsive Agent (N.I.R.A)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%