RegRadar / tools /llm.py

Commit History

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

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