yao/agent/search
Max 01bf7dce58 Refactor buildRequestMessage to use structured JSON format for agent communication
- Updated the buildRequestMessage function to construct a JSON object for structured communication with the agent, replacing the previous string formatting approach.
- Enhanced the handling of extra parameters, scenarios, and retry context by incorporating them into the JSON structure.
- Improved the parseResult function to extract additional fields such as explain and warnings from the response, ensuring comprehensive result handling.
- Streamlined the code for better readability and maintainability while preserving existing functionality.
2025-12-18 12:37:35 +08:00
..
defaults Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
handlers Add integration tests for graceful handling of nonexistent and partially existing models in search 2025-12-18 12:20:20 +08:00
interfaces Implement Context-Aware Search Functionality and Enhance QueryDSL Generation 2025-12-18 11:49:28 +08:00
nlp Refactor buildRequestMessage to use structured JSON format for agent communication 2025-12-18 12:37:35 +08:00
rerank Refactor Search Module and Update Documentation 2025-12-13 15:01:53 +08:00
types Implement Context-Aware Search Functionality and Enhance QueryDSL Generation 2025-12-18 11:49:28 +08:00
citation.go Refactor Citation Handling and Enhance Search Result Storage 2025-12-15 17:17:51 +08:00
citation_test.go Refactor Citation Handling and Enhance Search Result Storage 2025-12-15 17:17:51 +08:00
DESIGN.md Enhance Search Result Storage and Intermediate Data Handling 2025-12-15 16:06:11 +08:00
jsapi.go Enhance Search API with New V8 Binding Methods 2025-12-13 16:11:30 +08:00
jsapi_db_test.go Refactor Test Files and Enhance Test Environment Initialization 2025-12-18 12:11:51 +08:00
jsapi_test.go Enhance Search API with New V8 Binding Methods 2025-12-13 16:11:30 +08:00
reference.go Refactor Citation Handling and Enhance Search Result Storage 2025-12-15 17:17:51 +08:00
reference_test.go Refactor Citation Handling and Enhance Search Result Storage 2025-12-15 17:17:51 +08:00
registry.go Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
registry_test.go Enhance Search API with Parallel Search Methods 2025-12-13 15:35:52 +08:00
search.go Implement Context-Aware Search Functionality and Enhance QueryDSL Generation 2025-12-18 11:49:28 +08:00
search_test.go Refactor Citation Handling and Enhance Search Result Storage 2025-12-15 17:17:51 +08:00
search_web_test.go Implement Core and AI Unit Testing in Makefile and CI Workflows 2025-12-15 09:34:53 +08:00