You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/example-projects/vercel-ai-sdk-deep-research.mdx
+17-11Lines changed: 17 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,12 @@ import RealtimeLearnMore from "/snippets/realtime-learn-more.mdx";
17
17
18
18
This full-stack project is an intelligent deep research agent that autonomously conducts multi-layered web research, generating comprehensive reports which are then converted to PDF and uploaded to storage.
5.**Recursive deepening**: Follow-up questions become new queries for the next depth level
99
105
6.**Accumulation**: All learnings, sources, and queries are accumulated across recursion levels
100
106
101
-
### Trigger.dev Realtime progress updates
107
+
### Using Trigger.dev Realtime to trigger and subscribe to the deep research task
102
108
103
-
As each task is completed, the metadata is set and the frontend is updated:
109
+
We use the [`useRealtimeTaskTrigger`](/frontend/react-hooks/triggering#userealtimetasktrigger) React hook to trigger the `deep-research` task and subscribe to it's updates.
As the research progresses, the metadata is set within the tasks and the frontend is kept updated with every new status:
115
121
116
-
We use the [`useRealtimeTaskTrigger`](https://trigger.dev/docs/frontend/react-hooks/triggering#userealtimetasktrigger) hook to get the task metadata and update the frontend in real-time.
0 commit comments