yao/agent/search/nlp
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
..
keyword Refactor Keyword Extraction and QueryDSL Generation for Context Requirement 2025-12-17 17:55:58 +08:00
querydsl Refactor buildRequestMessage to use structured JSON format for agent communication 2025-12-18 12:37:35 +08:00