39 | {cardDetails.description} 40 |
41 |95 | Selected File 96 |
97 |{truncateLongFileName(files[0].name) ?? "file name error"}
98 |Drop the files here ...
103 | ) : ( 104 |
105 | Supports
106 |
107 | .txt .pdf .docx .md .png .jpg .html
108 |
62 | MERCURIAL 63 |
64 |
99 | {children}
100 |
101 | )
102 | }
103 |
104 | return (
105 |
7 |
11 |
12 |
33 |
77 |
94 |
131 |
181 | 126 | Set a pinecone namespace{" "} 127 | and create vector embeddings by 128 | uploading files or{" "} 129 | scraped websites 130 |
131 |163 | Query the embedded knowledge provided by you. 164 |
165 | 166 |74 | {sourceCount} 75 |
76 |209 | {content} 210 |
211 | ) 212 | } 213 | return null 214 | } 215 | -------------------------------------------------------------------------------- /components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import * as React from "react" 4 | import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu" 5 | import { Check, ChevronRight, Circle } from "lucide-react" 6 | import { cn } from "@/lib/utils" 7 | 8 | const DropdownMenu = DropdownMenuPrimitive.Root 9 | 10 | const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger 11 | 12 | const DropdownMenuGroup = DropdownMenuPrimitive.Group 13 | 14 | const DropdownMenuPortal = DropdownMenuPrimitive.Portal 15 | 16 | const DropdownMenuSub = DropdownMenuPrimitive.Sub 17 | 18 | const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup 19 | 20 | const DropdownMenuSubTrigger = React.forwardRef< 21 | React.ElementRef