GridNLP represents a conversational chat bot system engineered to provide indispensable support within the realm of Substation Asset Maintenance. By harnessing the capabilities of Natural Language Processing (NLP), GridNLP adeptly addresses user inquiries pertaining to maintenance procedures, assessment thresholds, issue troubleshooting, safety protocols, and equipment recommendations. Notably, GridNLP remains an ongoing development effort, dedicated to delivering precision, granularity, and insightful feedback to augment the maintenance protocols within the substation industry. The development framework for this endeavor is founded on tools such as NLTK, PyTorch, and FastAPI for the Python backend, complemented by the utilization of Flutter for mobile application development. The retrieval of responses is orchestrated through advanced techniques, including cosine similarity and tag matching. Additionally, a robust spell checker has been seamlessly integrated into the backend to ensure optimal response quality.
GridNLP offers a range of features to facilitate user interactions:
-
📚 Query Responses: The chatbot provides responses to user queries related to substation maintenance, covering various equipment classes such as transformers, circuit breakers, reactors, surge arrestors, and more.
-
📋 Procedure Guidance: GridNLP offers step-by-step guidance on maintenance procedures for different equipment classes.
-
⚠️ Safety Guidelines: Users can access safety guidelines to ensure secure maintenance practices, adhering to industry regulations and standards. -
🔬 Test Procedures: The chatbot explains test procedures and acceptable limits for various equipment, allowing users to conduct tests effectively.
-
🛠️ Issue Resolution: GridNLP offers recommendations for resolving issues that may arise during maintenance tasks.
-
💡 Equipment Recommendations: Users can inquire about equipment recommendations based on their specific requirements.
-
🧠 Semantic Processing: The chatbot incorporates semantic processing to understand and respond to user queries more effectively.
-
🌐 Industry Standards: Users can access information on industry standards and regulations governing substation maintenance.
GridNLP APK file is available in the release bundle of the repo. For setting up the server or re-configure the setup for your needs, follow the steps:
- Clone the repo and setup an environment in the directory by running
python -m venv .env
. - Activate the environment
- Run
pip install -r requirements.txt
for installing the packages required for the project. The project was tested and developed for version 3.10>. - Now, for custom training , cd to bots and change the
intents.json
for custom responses andmodel.py
as per your need. After runningtrain.py
, the trained file would be present in the models directory. - Make necessary changes in the server and run
python server.py
for starting the local server. - For using the API, the server is hosted in render.com and the api for QnA could be done by using this :
https://gridnlp.onrender.com/chatbot/?question=<your_query>
- For flutter development, cd into flutter/chatbot for accessing the flutter directory.
Here are a few examples of how GridNLP can assist users in substation maintenance:
-
🗣️ Query: "How do I maintain a transformer?"
- Response: GridNLP provides step-by-step guidance on transformer maintenance, including safety precautions.
-
🗣️ Query: "What are the acceptable limits for surge arrester tests?"
- Response: GridNLP explains the acceptable limits for surge arrester tests and how to conduct them.
-
🗣️ Query: "I encountered an issue during maintenance. What should I do?"
- Response: GridNLP offers recommendations to troubleshoot and resolve common maintenance issues.
GridNLP emphasizes compliance with industry standards and regulations. Some of the key standards it covers include:
- 📊 IEEE Standards
- 📜 ANSI Standards
- 🔥 NFPA 70E
- 🏭 OSHA Regulations
By adhering to these standards, users can ensure the safety and reliability of substation equipment.
We welcome contributions from the community to enhance GridNLP's capabilities and accuracy. If you'd like to contribute, please follow our Contributing Guidelines.
GridNLP is released under the MIT License.
If you encounter any issues, have questions, or need assistance, please contact our support team at [email protected].
GridNLP - Empowering Substation Asset Maintenance with NLP.