Skip to content

Commit 78c59ab

Browse files
Feat: add new supplemental actions for user guidance in ChatPage component
1 parent adf90ab commit 78c59ab

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

frontend/app/chat/page.tsx

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
FileText,
1111
BarChart3Icon as Diagram3,
1212
HelpCircle,
13+
FlaskConical,
1314
} from "lucide-react";
1415
import { Button } from "@/components/ui/button";
1516
import { Alert, AlertDescription } from "@/components/ui/alert";
@@ -41,7 +42,7 @@ export default function ChatPage() {
4142
value: "List all tutorial models",
4243
},
4344
{
44-
label: "List all Calcium models",
45+
label: "List Calcium models",
4546
icon: <FileText className="h-3 w-3 mr-2" />,
4647
value: "List all Calcium models",
4748
},
@@ -55,19 +56,38 @@ export default function ChatPage() {
5556
icon: <Diagram3 className="h-3 w-3 mr-2" />,
5657
value: "What solvers are used in tutorial models",
5758
},
58-
{
59+
/* {
5960
label:
6061
"What are different types of VCell applications used in Tutorial models",
6162
icon: <MessageSquare className="h-3 w-3 mr-2" />,
6263
value:
6364
"What are different types of VCell applications used in Tutorial models",
64-
},
65+
}, */
6566
{
6667
label: "What Tutorial models use Spatial Stochastic applications?",
6768
icon: <Bot className="h-3 w-3 mr-2" />,
6869
value: "What Tutorial models use Spatial Stochastic applications?",
6970
},
7071
];
72+
73+
const supplementalActions = [
74+
{
75+
label: "How to create an account on VCell Software?",
76+
icon: <User className="h-3 w-3 mr-2" />,
77+
value: "How to create an account on VCell Software?",
78+
},
79+
{
80+
label: "How to model FrapBindings in VCell Software?",
81+
icon: <FileText className="h-3 w-3 mr-2" />,
82+
value: "How to model FragBindings in VCell Software?",
83+
},
84+
{
85+
label: "How to model Moving Boundaries in VCell Software?",
86+
icon: <FlaskConical className="h-3 w-3 mr-2" />,
87+
value: "How to model Moving Boundaries in VCell Software?",
88+
},
89+
];
90+
7191
const cardTitle = "VCell AI Assistant";
7292

7393
return (
@@ -102,6 +122,7 @@ export default function ChatPage() {
102122
<ChatBox
103123
startMessage={[startMessage]}
104124
quickActions={quickActions}
125+
supplementalActions={supplementalActions}
105126
cardTitle={cardTitle}
106127
/>
107128
</div>

0 commit comments

Comments
 (0)