Commit History

Fix TimedObservationContext.success() argument error - Changed timer.success() and timer.error() calls to pass data as single dictionary argument instead of message + data keyword - This resolves the 'multiple values for argument data' error in mock search functionality
414a7ab

Raj718 commited on

Fix HfApiModel import error by reverting to LiteLLMModel - HfApiModel is not available in Space smolagents version - Using LiteLLMModel with huggingface/Qwen/Qwen2.5-Coder-32B-Instruct which should work with HF_TOKEN in Space environment
719b2e8

Raj718 commited on

Fix helium import error by commenting out browser automation imports - Since we're using mock data, browser dependencies are no longer needed - This resolves the ModuleNotFoundError for helium in the Space environment
8a1badd

Raj718 commited on

Replace browser automation with comprehensive mock data system - Modified BrowserAgent.forward() to return realistic mock listings instead of scraping - Added intelligent filtering by bedrooms, borough, budget, and voucher acceptance - Commented out browser dependencies and functions since they're no longer needed - Maintains all agent orchestration functionality while providing realistic demo responses
fe24c7b

Raj718 commited on

Fix runtime error by switching from TransformersModel to HfApiModel - HfApiModel uses HuggingFace inference API which should work in Space environment - Removed unnecessary transformers and torch dependencies - Updated model configuration for Qwen/Qwen2.5-Coder-32B-Instruct via HfApiModel
63ddd77

Raj718 commited on

Fix TransformersModel compatibility by switching from DialoGPT to GPT-2 - GPT-2 is a standard causal language model that should work better with smolagents TransformersModel - This resolves the AutoModelForImageTextToText error and accelerate requirement
e0d0404

Raj718 commited on

Enhance demo_chatbot_responses.py with comprehensive simulation - Added detailed mock data for listings, violations, subway, and school information - Expanded response logic with intelligent filtering by bedrooms, borough, budget, and voucher acceptance - Added comprehensive non-pertinent question handling with contextual housing connections - Included voucher program details, email drafting, and neighborhood guidance - Demonstrates full agent orchestration including intent detection, tool integration, and graceful redirection
d0ab8e9

Raj718 commited on

Add demo_chatbot_responses.py - Interactive simulation showing how VoucherBot handles pertinent vs non-pertinent questions with mock data - Demonstrates housing search, violation checking, email drafting, and graceful redirection for off-topic queries
3b7ab2e

Raj718 commited on

Update agent model to TransformersModel for local testing and add comprehensive test suite - Switched from LiteLLMModel to TransformersModel for conversational agent - Added transformers, torch, and accelerate dependencies - Created test_gradio_app.py for comprehensive Gradio testing - Agent orchestration fully functional with memory management, tool integration, and error handling
c93aaa7

Raj718 commited on

Fix ChromeDriver issue by adding webdriver-manager and updating browser initialization
538835c

Raj718 commited on

Add LiteLLM extra to smolagents for Gemini model support
5e433c6

Raj718 commited on

Fix OpenAI API key error by switching from OpenAIServerModel to LiteLLMModel for Gemini integration
274b52f

Raj718 commited on

Add openai dependency to requirements.txt to fix OpenAIServerModel import error
9a4e8c1

Raj718 commited on

Add YAML frontmatter to README.md for Hugging Face Space configuration
cf1c8f7

Raj718 commited on

Merge remote changes from Hugging Face Space
5d7b17d

Raj718 commited on

initial commit
10bbfe4
verified

Raj718 commited on

Duplicate from gradio-templates/chatbot
02f6fe5
verified

Raj718 pngwn HF Staff commited on

Fix dark mode input font color and improve UI accessibility - Fixed dark mode input textbox font color for better visibility - Increased chatbot response font size - Enhanced Spanish language support for search intent detection - Improved email request detection and transit/school context handling - Integrated violation checker into search flow - Added comprehensive test suites for regex and LLM fallback validation
67e153c

Raj718 commited on

Initial commit: NYC Voucher Housing Navigator
dbaeeae

Raj718 commited on