Circle V2 API Docs
    Preparing search index...
    • Render a classified DateIntent as a short natural-language advisory hint for the question-decomposition planner (expandQuestionWithLLM). Returns '' for none (no temporal reference) so non-temporal questions get byte-identical planner input.

      Deliberately ABSTRACT: it describes the SHAPE of the time window, never a concrete date — the concrete window is grounded downstream against referenceInstant. The hint is advisory; it tells the planner to trust the question wording on conflict, so a misclassification stays overridable instead of poisoning the plan.

      Parameters

      • intent:
            | { kind: "rolling_days"; n: number }
            | {
                cadence?: "per_day";
                kind: "calendar_week";
                subset?: "full" | "mon_fri" | "weekend";
                which: "last" | "current" | "most_recent_completed";
            }
            | {
                kind: "specific_weekday";
                weekday: | "sunday"
                | "monday"
                | "tuesday"
                | "wednesday"
                | "thursday"
                | "friday"
                | "saturday";
                which: "most_recent";
            }
            | {
                event: "session"
                | "admission"
                | "discharge"
                | "assessment"
                | "other";
                everyNDays?: number;
                kind: "since_event";
                withinHours?: number;
            }
            | { kind: "none" }
            | { kind: "unresolvable" }

      Returns string