Function: useSessionSummarizer()
@roomful/react / useSessionSummarizer
Function: useSessionSummarizer()
Section titled “Function: useSessionSummarizer()”useSessionSummarizer<
TPresence>(options?):SessionSummary
Defined in: react/src/index.ts:1359
Summarizes the current room session (participants, action counts, agent activity, duration) from
the activity feed, recomputing as the feed changes. Alpha. Pass narrate to render the summary
text with an LLM instead of the built-in heuristic.
Type Parameters
Section titled “Type Parameters”TPresence
Section titled “TPresence”TPresence extends PresenceData = PresenceData
The room presence shape.
Parameters
Section titled “Parameters”options?
Section titled “options?”SessionSummarizerOptions
Optional narration hook.
Returns
Section titled “Returns”SessionSummary
The reactive SessionSummary.