2026-05-31 19:22:50 -07:00
|
|
|
/**
|
|
|
|
|
* Curated example chat prompts shown on the empty new-chat screen.
|
|
|
|
|
*
|
|
|
|
|
* These mirror the homepage hero's "use case" concept but with runnable chat
|
|
|
|
|
* queries, grouped into a few broad categories. Bracketed slots like `[topic]`
|
|
|
|
|
* are intentional: clicking a prompt prefills the composer so the user can fill
|
|
|
|
|
* them in before sending.
|
|
|
|
|
*
|
|
|
|
|
* This is a module-scope constant so it is created once, not per render.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
export interface ChatExampleCategory {
|
|
|
|
|
/** Stable id used as the Tabs value */
|
|
|
|
|
id: string;
|
|
|
|
|
/** Short, human-readable tab label */
|
|
|
|
|
label: string;
|
|
|
|
|
/** Runnable example queries for this category */
|
|
|
|
|
prompts: string[];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const CHAT_EXAMPLE_CATEGORIES: ChatExampleCategory[] = [
|
|
|
|
|
{
|
|
|
|
|
id: "search",
|
|
|
|
|
label: "Search & Summarize",
|
|
|
|
|
prompts: [
|
2026-06-02 23:44:36 +05:30
|
|
|
"Summarize the key points across all the documents in this space",
|
|
|
|
|
"What do my files say about [topic]? Answer with citations",
|
|
|
|
|
"Find every mention of [keyword] and list the sources",
|
|
|
|
|
"Compare these two documents and highlight the differences",
|
2026-05-31 19:22:50 -07:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "create",
|
|
|
|
|
label: "Create",
|
|
|
|
|
prompts: [
|
2026-06-02 23:44:36 +05:30
|
|
|
"Write a cited research report on [topic] from my documents",
|
|
|
|
|
"Turn this folder into a two-host podcast I can listen to",
|
|
|
|
|
"Create a slide deck and a narrated video overview from these sources",
|
|
|
|
|
"Tailor my resume to this job description so it gets past ATS and lands an interview",
|
2026-05-31 19:22:50 -07:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "automate",
|
|
|
|
|
label: "Automate",
|
|
|
|
|
prompts: [
|
2026-06-02 23:44:36 +05:30
|
|
|
"Email me a daily brief of new documents in my knowledge base every morning",
|
|
|
|
|
"When a PDF lands in my Research folder, generate a cited AI summary",
|
|
|
|
|
"Generate a weekly status report from my Slack and Gmail every Friday",
|
|
|
|
|
"Build an automation that turns new meeting notes into minutes with action items",
|
2026-05-31 19:22:50 -07:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "tools",
|
|
|
|
|
label: "Across your tools",
|
|
|
|
|
prompts: [
|
2026-06-02 23:44:36 +05:30
|
|
|
"Search across my Notion, Slack, Google Drive and Gmail for [topic]",
|
|
|
|
|
"Post this research summary to my Notion workspace",
|
|
|
|
|
"Send these meeting action items to our team Slack channel",
|
|
|
|
|
"Create a Jira ticket from this bug report",
|
2026-05-31 19:22:50 -07:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
];
|