Scaffold web frontend: mock-backed chat + PDF split-view, Tailwind/shadcn
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
export interface Citation {
|
||||
drugName: string;
|
||||
sectionType: string;
|
||||
sourcePageRange: [number, number];
|
||||
}
|
||||
|
||||
export interface ChatMessage {
|
||||
id: string;
|
||||
role: "user" | "assistant";
|
||||
content: string;
|
||||
citations?: Citation[];
|
||||
disclaimer?: string;
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
export interface SendMessageResponse {
|
||||
message: ChatMessage;
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
export {};
|
||||
export * from "./dto/chat";
|
||||
|
||||
Reference in New Issue
Block a user