yao/agent/search/nlp/querydsl
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
..
agent.go Refactor buildRequestMessage to use structured JSON format for agent communication 2025-12-18 12:37:35 +08:00
agent_test.go Implement Retry Mechanism and Lint Validation for QueryDSL Generation 2025-12-16 12:17:42 +08:00
generator.go Refactor Keyword Extraction and QueryDSL Generation for Context Requirement 2025-12-17 17:55:58 +08:00
generator_test.go Refactor Keyword Extraction and QueryDSL Generation for Context Requirement 2025-12-17 17:55:58 +08:00
mcp.go Implement Retry Mechanism and Lint Validation for QueryDSL Generation 2025-12-16 12:17:42 +08:00
mcp_test.go Implement Retry Mechanism and Lint Validation for QueryDSL Generation 2025-12-16 12:17:42 +08:00
types.go Implement Context-Aware Search Functionality and Enhance QueryDSL Generation 2025-12-18 11:49:28 +08:00