Open sreevidya-16 opened 3 months ago
The recent changes introduce a chatbot named "Snapitizer" to the Paws platform, enhancing user engagement through natural language processing capabilities. The chatbot leverages a neural network model for intent recognition and utilizes a structured set of intents for dynamic interactions. Additionally, the implementation includes necessary documentation and utilities for easy customization and training, significantly improving the platform's responsiveness to user inquiries about animal welfare.
Files | Change Summary |
---|---|
AI_CHATBOT/README.md |
Introduces documentation for the chatbot, outlining its purpose and customization options. |
AI_CHATBOT_PAWS/chat.py |
Implements the chatbot's conversation loop, processing user inputs and responding based on intent recognition with a neural network model. |
AI_CHATBOT_PAWS/intents.json |
Defines conversational intents with tags, patterns, and responses to enhance user interaction focused on animal welfare services. |
AI_CHATBOT_PAWS/model.py |
Introduces the NeuralNet class for the chatbot’s neural network architecture, defining layers and the forward pass for intent classification. |
AI_CHATBOT_PAWS/nltk_utils.py |
Contains utility functions for tokenization, stemming, and creating a bag-of-words representation for natural language processing. |
AI_CHATBOT_PAWS/train.py |
Provides a training pipeline for the chatbot model, including data preparation, model training, and saving the trained model. |
Objective | Addressed | Explanation |
---|---|---|
Facilitate seamless communication regarding animal welfare (Issue #534) | ✅ | |
Enhance user engagement through instant assistance (Issue #534) | ✅ | |
Provide guidance on reporting injured animals (Issue #534) | ✅ |
Hop, hop, hooray, my friend!
A chatbot's here to lend a hand.
With words and thoughts, it will assist,
In caring for critters, it can't be missed!
So ask away, don't be shy,
For Snapitizer's ready to reply! 🐰✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
Adding a chatbot to Paws will significantly enhance user engagement and support by providing instant assistance and guidance on reporting injured animals.
The chatbot will facilitate seamless communication between users, NGOs, and animal hospitals, ensuring that reports are efficiently directed to the appropriate parties.
This feature will streamline the process of helping stray injured animals, making the platform more responsive and effective in addressing animal welfare concerns
Related Issue
Resolves #534 Issue
Screenshots / GIFs (if applicable)
[Attach any relevant screenshots or GIFs demonstrating the changes]
Checklist:
Additional Notes
[Add any additional notes or context about the changes made]
@itsekta, could you please approve this pull request
Summary by CodeRabbit
New Features
Documentation