Skip to content

Integrating a User Friendly Help Section(FAQ) and Chatbot offline #394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: eSim-Chat-Bot
Choose a base branch
from

Conversation

Rudramani1
Copy link


📘 User Manual UI Enhancements

UserManual.py & UI Integration:

  • Added a new dockable widget for the User Manual under the "Help Section" (DockArea.py).
  • Integrated multiple tabs:
    • FAQs
    • PDF Manual
    • Support Chat
  • Enhanced FAQ section with:
    • Expandable Q&A widgets
    • Live search/filter bar
  • Enabled opening the PDF user manual in-app or via a new window.
  • Applied custom CSS for better readability and user experience.

🔧 Local Chatbot Integration

local_bot.py:

  • Runs the support chatbot locally, removing the need for hosting a separate backend server.
  • Integrated with LangChain and OllamaEmbeddings for intelligent responses using semantic search.
  • Handles user prompts and displays relevant answers from the embedded knowledge base.

Vector.py:

  • Created a vector database using Chroma and Ollama for semantic document search.
  • Indexed esim_help.csv for efficient and relevant help content retrieval.
  • Optimized initialization and persistence for performance and fast lookups.

✅ Related Issues

  • Eliminates the need for Flask-based backend setup.
  • Embeds help and support functionalities directly into the application UI.
  • Enhances accessibility and ease-of-use for users seeking in-app assistance.

🎯 Purpose

  • Provide an intelligent, locally-running chatbot to answer user queries contextually.
  • Enable fast, semantic search for FAQs and documentation.
  • Improve user experience by embedding an intuitive, tabbed help section directly into the app.

🛠️ Approach

  • Integrated LangChain with Chroma vector store for smart in-app search.
  • Replaced previous server-hosted chatbot with a local implementation.
  • Built an interactive, visually clean, and searchable help section within the app.

📝 Usage Hints

  • To make the chatbot functional No external backend server setup is needed.

  • To add more FAQs, simply update the following CSV file:

resources/esim_faq.csv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant