RegRadar / agents /ui_handler.py

Commit History

Enhance regulatory query handling by implementing improved detection for new regulatory questions versus follow-ups. Update parameter extraction to include report type, refining response generation based on user intent. Revise README to reflect these new features and clarify functionality. Update UIHandler to incorporate conversation context in general chat responses for better user experience.
dc31452

Abid Ali Awan commited on

Refactor UIHandler to enhance collapsible message formatting and improve clarity in tool execution and parameter extraction updates. Update RegRadarAgent report sections for better organization and remove unnecessary markdown artifacts.
23ecbc0

Abid Ali Awan commited on

Update UIHandler to change the emoji in the collapsible results section from ⚖️ to 🗃️ for improved clarity and consistency in the display of raw regulatory data.
7c4a838

Abid Ali Awan commited on

Refactor RegRadarAgent and UIHandler to improve report formatting and execution time messaging. Update section headers in report generation to use consistent markdown styles and enhance clarity with emoji changes. Adjust estimated execution time for crawling to better reflect actual performance.
f84e24f

Abid Ali Awan commited on

Enhance app.py to implement a Gradio interface for the RegRadar AI Regulatory Compliance Assistant, featuring a chatbot, example queries, and a tool information panel. Refactor UIHandler to streamline chat processing and improve regulatory query handling. Update web_tools.py to modularize crawling and searching functionalities, enhancing code readability and maintainability.
6598f74

Abid Ali Awan commited on

Update README with new SDK version 5.34.2, enhance UIHandler to clarify execution time for crawling, and improve regulatory sources in settings.py by adding full names and reordering entries for better clarity.
8159b22

Abid Ali Awan commited on

Enhance app.py by adding warnings filter to ignore DeprecationWarnings, improving user experience. Refactor UIHandler in agents/ui_handler.py to remove unnecessary break condition in results display logic. Update web_tools.py to clarify crawl instructions for regulatory updates, enhancing readability and context.
3b87708

Abid Ali Awan commited on

Refactor UIHandler to utilize UUID for unique user IDs per session, enhancing user identification during regulatory query processing. Update streaming_chatbot and delayed_clear methods to handle user_id_state, ensuring consistent user context throughout interactions.
41a9d8b

Abid Ali Awan commited on

Enhance README with detailed project description, features, tools used, and supported regulatory sources. Update RegRadarAgent to include memory context in report generation and modify UIHandler to display top past queries. This improves user experience by providing relevant historical insights during regulatory report generation.
e31c1a9

Abid Ali Awan commited on

Update requirements.txt to maintain mem0ai dependency and adjust UIHandler to streamline message processing by removing the system prompt. Simplify header formatting in the UI for improved clarity.
0d6d0e1

Abid Ali Awan commited on

Refactor app.py to create a dedicated demo function for UI initialization. Update UIHandler to generate a unique user ID per session and pass it to the regulatory query processing. Enhance memory management by ensuring user-specific data is utilized. Modify LLM streaming function to include a system prompt for improved response context.
baa0fe2

Abid Ali Awan commited on

Refactor RegRadarAgent to simplify parameter extraction by removing LLM function calling. Update UIHandler to pass parameters directly to the regulatory query processing function. Enhance memory saving functionality by implementing background threading for improved performance.
48e84df

Abid Ali Awan commited on

Refactor RegRadarAgent to enhance parameter extraction using LLM function calling. Improve regulatory query processing by implementing fallback mechanisms for industry, region, and keywords extraction. Update UIHandler to display unique regulatory results and improve user feedback. Enhance LLM utility functions for better error handling and response management.
4d48a4c

Abid Ali Awan commited on

Adjust chatbot height in UIHandler for improved layout consistency.
6ef35be

Abid Ali Awan commited on

Enhance UIHandler to improve user interaction during message processing. Lock input during response generation and re-enable it upon completion. Refactor streaming chat functionality to yield updated history and interactive states. Introduce a stop button for better control over chat interactions.
a612709

Abid Ali Awan commited on

Refactor app.py to streamline the RegRadar application, consolidating regulatory compliance features into a cohesive UI. Enhance user interaction with improved query processing, tool detection, and memory integration. Update main function to initialize and launch the application effectively.
f4c443a

Abid Ali Awan commited on