Interface TruncationWarningEvent.ReasonStage

All Known Implementing Classes:
TruncationWarningEvent.Builder
Enclosing class:
TruncationWarningEvent

public static interface TruncationWarningEvent.ReasonStage
  • Method Summary

    Modifier and Type
    Method
    Description
    A single human-readable summary of why results were dropped: context_window_budget (only the budget reason applied), no_groundable_content (only the no-content reason applied), or context_window_budget_and_no_content (both applied).
  • Method Details

    • reason

      A single human-readable summary of why results were dropped: context_window_budget (only the budget reason applied), no_groundable_content (only the no-content reason applied), or context_window_budget_and_no_content (both applied). A caller wanting exact attribution should read truncatedCount/noContentCount directly rather than parse this field.