Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Posts
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Spaces:

Duplicated fromΒ  agents-course/Final_Assignment_Template

mjschock
/
Final_Assignment_Template
Build error

App Files Files Community
Fetching metadata from the HF Docker repository...
Final_Assignment_Template / tools /smart_search
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
mjschock's picture
mjschock
Refactor main_v2.py to update task formatting for dual answer requests, enhancing response structure. Implement error handling for JSON parsing in agent results, ensuring robust output. Add unit tests in test_questions.py to validate succinct answer accuracy against expected values. Remove unused extract_final_answer utility from utils.py, streamlining the codebase.
2da6a11 unverified 15 days ago
  • __init__.py
    0 Bytes
    Refactor main_v2.py to remove unused tools and agents, replacing them with the new SmartSearchTool for improved search functionality. Update prompt template loading to use the modified YAML file. Clean up imports and enhance overall code organization for better maintainability. 15 days ago
  • tool.py
    8.92 kB
    Refactor main_v2.py to update task formatting for dual answer requests, enhancing response structure. Implement error handling for JSON parsing in agent results, ensuring robust output. Add unit tests in test_questions.py to validate succinct answer accuracy against expected values. Remove unused extract_final_answer utility from utils.py, streamlining the codebase. 15 days ago