Skip to content

feat: Enhance parameter extraction and validation, introduce date and column resolvers

Hải Đặng Hoàng requested to merge feat/hai into main
  • Updated ParameterExtractor to ensure only explicitly provided user input is extracted, preventing the model from fabricating values.
  • Introduced PendingActionState.COLLECTING_SELECTION to manage selection stages in PendingActionService.
  • Enhanced ValidationService to prevent overwriting existing non-empty values with empty ones during parameter merging.
  • Added SaleworkApiClient methods for listing processes, columns, and storages with improved error handling and logging.
  • Created jwt_utils for extracting user IDs from JWT tokens.
  • Implemented ColumnResolver to map natural-language custom-field conditions to Salework filter entries.
  • Developed DateResolver for deterministic resolution of relative date expressions into epoch-millisecond ranges.
  • Built QueryPlanner to convert natural-language queries into structured query plans, ensuring accurate date and process resolution.
  • Established ReportService to execute query plans and aggregate reports from Salework.
  • Introduced SelectionService for resolving user selections from provided options.

Merge request reports