Friday, November 14, 2025
1 change · master
Resolved issues and error corrections
Users can now ask the AI to filter and group records by dates in natural language, such as showing sales from last quarter grouped by month. The update also clarifies the feature as View Builder and improves how the AI interprets available search options, making results more accurate and easier to request.
Original PR description
This merge introduces comprehensive support for date-based filtering and grouping in AI-powered natural language queries, enabling users to express temporal constraints naturally (e.g., "show sales…
This merge introduces comprehensive support for date-based filtering and grouping in AI-powered natural language queries, enabling users to express temporal constraints naturally (e.g., "show sales from last quarter grouped by month"). Key features: - Date filter system supporting dynamic patterns (month+-N, year+-N), named quarters (first_quarter, etc.), and custom options from search views - Date groupby support with intervals (day/week/month/quarter/year) that can interleave with regular field groupbys - New compute_date tool for precise date calculations with sequential operations (navigate periods, find weekdays) and pinning, handling timezone conversions and edge cases automatically - Enhanced schema validation to support nested object types and anyOf for complex tool parameter structures - Renamed "Natural Language Search" to "View Builder" with clearer guidance on when to use View Builder (configure UI) vs Information Retrieval Code quality improvements (from review): - Extracted AI agent utility functions to separate module for better code organization - Reformatted search view representation from XML to markdown for improved LLM comprehension - Adjusted session context placement in prompts to reduce API issues TASK-ID: 5076645