feat: transfer vled-project codebase - #1
Open
Ritwij07 wants to merge 89 commits into
Open
Conversation
…ssage timestamps, regenerate response, hover tooltips features to UI
…in .env.example - Rewrite embed_flag.py to use AutoTokenizer/AutoModel with per-text encoding to fix TypeError crash caused by breaking change in transformers 5.x fast tokenizer batch API (encode_batch incompatibility) - Strengthen empty-text filter in importSamagamaFaqs.js to also reject texts shorter than 5 chars, preventing malformed entries reaching the embedder - Fix PORT mismatch in server/.env.example (5000 -> 5001) to match README - Add DESIGN.md with full system architecture, request flow, component breakdown, API reference, knowledge base details, and production roadmap
Feature: Chatbot UI Enhancements
…mers-compat-and-design Fix embed_flag.py crash on transformers 5.x, add DESIGN.md
…Scroll-to-bottom UI
Feature: UI Enhancements (Theme Toggle, Edit Prompt, Scroll Button)
Speed up RAG retrieval with warm embedding worker
Handle noisy queries and fix embedding worker crash
Created a dedicated Express router for the FAQ Search Suggestions feature. The route exposes a GET endpoint that handles incoming suggestion requests and delegates processing to the suggestion controller. This separation of routing and business logic improves code organization, maintainability, and scalability of the backend architecture. The route serves as the API entry point for real-time FAQ search suggestions, enabling the frontend chatbot interface to request and display relevant internship-related question recommendations as users type. The modular router structure also simplifies future enhancements such as semantic search integration, database-driven suggestions, and advanced ranking mechanisms.
Integrated the FAQ Search Suggestions feature into the chatbot user interface. Added frontend support for fetching and displaying real-time FAQ suggestions as users type in the chat input field. The implementation includes suggestion state management, API integration with the suggestions endpoint, automatic suggestion clearing when messages are submitted, and an interactive dropdown menu for selecting suggested questions. The suggestion dropdown was styled to match the existing chatbot interface and positioned relative to the chat input area for a seamless user experience. Users can now quickly discover and select commonly asked internship-related questions, reducing typing effort and improving navigation of available FAQ content. The implementation was merged with existing UI enhancements including analytics, chat export, prompt editing, read-aloud functionality, and Most Asked Questions support without affecting previously added features.
Updated the Express application configuration to register the FAQ Search Suggestions API endpoint. Added the suggestion routes module to the server and configured a dedicated endpoint for handling suggestion requests. The new route enables the frontend chatbot interface to retrieve relevant FAQ suggestions in real time while users type their queries. The integration was merged with existing backend functionality, including chat processing, FAQ management, Most Asked Questions tracking, analytics, and question review workflows, ensuring compatibility with recently added project features. This update completes the backend routing setup required for the FAQ Search Suggestions feature.
Update project README
Reduce RAG response latency
Add FAQ search suggestions controller
Add suggestion routes for FAQ search feature
Integrate FAQ search suggestions into chatbot UI
Register FAQ search suggestions API route
Add Prompt Injection Detection and Security Dashboard
…process + no need becuase this is a rag system.
removing hallucination function
Add login/register and polish chatbot UI
Add conversational memory and manual escalation flow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Transferring full codebase from 0xunion23/vled-project including complete commit history.