# Interface BaseEventSummarizer

All Known Implementing Classes:
  `LlmEventSummarizer`

public interface BaseEventSummarizer
Base interface for producing events summary.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `io.reactivex.rxjava3.core.Maybe<Event>`
  `summarizeEvents(List<Event> events)`
  Compact a list of events into a single event.

- ## Method Details

  - ### summarizeEvents

    io.reactivex.rxjava3.core.Maybe<Event> summarizeEvents(List<Event> events)
    Compact a list of events into a single event.

    If compaction failed, return `Maybe.empty()`. Otherwise, compact into a content and return it.

    This method will summarize the events and return a new summary event indicating the range of events it summarized.

    Parameters:
      `events` - Events to compact.
    Returns:
      The new compacted event, or `Maybe.empty()` if no compaction happened.