15 | {/* Open source AI chatbot built with{' '}
16 |
No chat history
29 |28 | Please{' '} 29 | 30 | log in 31 | {' '} 32 | or{' '} 33 | 34 | sign up 35 | {' '} 36 | to save and revisit your chat history! 37 |
38 |
58 | {children}
59 |
60 | )
61 | }
62 |
63 | return (
64 |
66 | {children}
67 |
68 | )
69 | }
70 |
71 | return (
72 | 161 | {body} 162 |
163 | ) 164 | }) 165 | FormMessage.displayName = "FormMessage" 166 | 167 | export { 168 | useFormField, 169 | Form, 170 | FormItem, 171 | FormLabel, 172 | FormControl, 173 | FormDescription, 174 | FormMessage, 175 | FormField, 176 | } 177 | -------------------------------------------------------------------------------- /components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import * as React from "react" 4 | import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog" 5 | 6 | import { cn } from "@/lib/utils" 7 | import { buttonVariants } from "@/components/ui/button" 8 | 9 | const AlertDialog = AlertDialogPrimitive.Root 10 | 11 | const AlertDialogTrigger = AlertDialogPrimitive.Trigger 12 | 13 | const AlertDialogPortal = AlertDialogPrimitive.Portal 14 | 15 | const AlertDialogOverlay = React.forwardRef< 16 | React.ElementRef117 | {patientProfile.history} 118 |
119 |120 | (The relevant history will be shown in the right column throughout the session) 121 |
122 |123 | Now you may start your session with client {patientProfile.name}. 124 | Please start the session by entering the first greeting to {patientProfile.name} in the textbox below. 125 |
126 | 129 |
3 |
72 | // {JSON.stringify(data, null, 2)}
73 | //
74 | // ),
75 | // })
76 | }
77 |
78 |
79 |
80 | return (
81 |