The Query Application allows users to input questions and receive answers based on the data provided. The application utilizes a RAG (Retrieval-Augmented Generation) model to process the questions and generate responses. Users interact with the application through a web interface designed with a focus on professional and user-friendly UX/UI design, including hover effects and bold fonts for emphasis.
- User-friendly web interface for querying.
- Processes questions using a RAG model.
- Displays answers in a bold and clear format.
- Enhanced user experience with hover effects.
rag.mp4
- Input Field: Users can type their question into the input field labeled "Enter your question".
- Submit Button: Once a question is entered, users click the "Ask" button to submit their query.
- Answer Display: After submitting a question, the response from the RAG model is displayed on the same page in a highlighted format.
- Real-time Processing: The application processes the question in real-time and updates the answer dynamically.
- Import Libraries: The application imports necessary libraries including Flask and the RAG model components.
- Initialize Flask: A Flask application is created and configured.
- Form for Input: The HTML template includes a form with an input field for questions and a submit button.
- Response Display: The response section dynamically shows the answer after the form is submitted.
- Responsive Design: The CSS ensures the application is responsive and visually appealing.
- Hover Effects: Buttons and interactive elements have hover effects for better UX.
- Bold Fonts: Answers are displayed in bold fonts to make them stand out.
- Open the Application: Navigate to the home page of the Query Application.
- Type a Question: In the input field, type a question like "List down names of all candidates?".
- Submit: Click the "Ask" button to submit your question.
- Response Section: The answer to your question will be displayed below the input field in a bold and clear format.
This documentation provides a comprehensive overview of the Query Application. Users can enter questions, receive answers, and enjoy a professional and engaging user experience. The application leverages a RAG model for processing queries and provides real-time responses with enhanced UX/UI features.