diff --git a/frontend/app/chat/page.tsx b/frontend/app/chat/page.tsx index 1988230..9088337 100644 --- a/frontend/app/chat/page.tsx +++ b/frontend/app/chat/page.tsx @@ -9,6 +9,7 @@ import { Search, FileText, BarChart3Icon as Diagram3, + HelpCircle, } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Alert, AlertDescription } from "@/components/ui/alert"; @@ -75,28 +76,27 @@ export default function ChatPage() { {/* Header */}
-

AI Assistant

- +
+ {/* Warning Alert - takes most of the space */} + + + ⚠️ Important: Responses are AI generated and may contain errors, or hallucinations. + + + + +
- {/* Persistent Warning */} -
- - - ⚠️ Important: Responses are AI generated and may contain errors, or hallucinations. - - -
- {/* Chat Interface - takes remaining space */}
-
-
- - Example Query -
-
- "List all calcium models by Juliajessica" -
-
@@ -99,202 +90,93 @@ export function OnboardingModal({ isOpen, onClose }: OnboardingModalProps) {
), }, - { - title: "Hybrid Mode with Parameters", - subtitle: "Combine natural language with specific filters", - icon: , - content: ( -
-
-
- -

- Smart Parameter Filtering -

-

- Set specific parameters to narrow down your searches and avoid - repeating the same criteria. -

-
-
- -
-
- -
-
- Scenario: -
-

- You're researching calcium models and want to ask multiple - questions about tutorial models only. -

-
-
-
Instead of asking:
-
- "Find tutorial calcium models" -
- "Show tutorial models about calcium that use the Combined - Stiff Solver" -
- "Get tutorial calcium models from Juliajessica" -
-
-
- -
- - - {/* Mock Tool Parameters */} - - - - - Tool Parameters - - - -
- - -
- - -
-
-
-
- - -
-
-
- -
-
Now simply ask:
-
- "Find all models" -
- "Show models that use Combined Stiff Solver" -
- "Get models from Juliajessica" -
-
-
-
-
- ), - }, - { + { title: "Available Tools", - subtitle: "Standalone tools and result verification", - icon: , + subtitle: "Tools the LLM uses to provide factual answers", + icon: , content: ( -
+
-
- -

- Powerful Analysis Tools +
+ +

+ LLM Analysis Tools

-

- Use these tools independently or to verify AI responses for - accurate results. +

+ The LLM uses these tools and a curated knowledge base to provide accurate, factual answers to your questions.

-
+
- -
-
- + +
+
+
-

+

Biomodel Search

-

Advanced filtering

+

Database querying

-

- Search the database with precise filters for name, owner, - category, and date ranges. +

+ The LLM searches the database with precise filters to find relevant models and information.

- -
-
- + +
+
+
-

VCML Files

+

VCML Files

- Virtual Cell format + Model definitions

-

- Retrieve complete model definitions with compartments, - species, and kinetics. +

+ The LLM accesses complete model definitions with compartments, species, and kinetics for detailed analysis.

- -
-
- + +
+
+
-

SBML Files

-

Standard format

+

Knowledge Base

+

Curated documentation

-

- Download standardized Systems Biology Markup Language files - for external tools. +

+ The LLM uses a comprehensive set of documents curated by the VCell team to answer questions factually and accurately.

- -
-
- + +
+
+
-

Diagrams

+

Diagrams

Visual networks

-

- Generate real-time network diagrams showing topology and - interactions. +

+ The LLM can generate real-time network diagrams showing topology and interactions for visual understanding.

@@ -302,64 +184,101 @@ export function OnboardingModal({ isOpen, onClose }: OnboardingModalProps) {
), }, + { + title: "Understand the Response", + subtitle: "How to interpret and explore AI responses", + icon: , + content: ( +
+
+ + +
+
+
DupontCellCalcium
+
+ ID: 114597194 -- Database +
+
Owner: moutoutan
+
Description: A model simulating calcium dynamics in a cellular context.
+
Applications: Application0
+
Simulations: Multiple simulations with varying configurations.
+
+
+ +
+
+
+ 💡 +
+
+ Interactive Database Link: The blue, shining "Database" button is a hyperlink that takes you to a dedicated page where you can view all database details about that specific model. On that page, you can also have an LLM discussion where the AI is well-instructed about that particular model's context and specifications. +
+
+
+
+
+ ), + }, { title: "Important Disclaimers", subtitle: "Understanding AI limitations", - icon: , + icon: , content: ( -
+
-
- -

+
+ +

AI Response Limitations

-

- Understanding these limitations ensures you use the AI Assistant - effectively and safely. +

+ Understanding these limitations ensures you use the AI effectively.

-
-
- - -
- 🤖 +
+
+ + +
+ 🤖
-

+

AI Hallucinations

-

+

AI may generate plausible-sounding but incorrect information

- - -
- ⚠️ + + +
+ ⚠️
-

+

Server Errors

-

+

Technical issues may affect response accuracy or availability

- - -
- 📊 + + +
+ 📊
-

+

Private Models

-

+

Feature under development to access private models securely