126 | Download sample file -{" "} 127 | 133 | FORM 10-K - Apple Inc.{" "} 134 | 135 |
136 |Drag & drop your PDF file here
160 |or
161 | 164 | 165 |
175 | Uploading
180 | File uploaded successfully
185 | Upload failed: {upload.error.message} 186 |
187 | )} 188 | 189 | {ingest.isPending && ( 190 |
191 | Processing
196 | File ingested successfully
201 | Processing failed: 202 | {ingest.error.message} 203 |
204 | )} 205 |24 | {error.status} {error.data} 25 |
26 | ), 27 | statusHandlers, 28 | unexpectedErrorHandler = (error) =>{getErrorMessage(error)}
, 29 | }: GenericErrorBoundaryProps) { 30 | const error = useRouteError(); 31 | const params = useParams(); 32 | 33 | if (typeof document !== "undefined") { 34 | console.error(error); 35 | } 36 | 37 | return ( 38 |43 | Example chat-with-pdf app showing how to provision a dedicated 44 | vector database instance for each user.{" "} 45 | 49 | Powered by Neon{" "} 50 | 51 |
52 |79 | {formatDistanceToNowStrict(new Date(document.createdAt))} ago 80 |
81 | 82 | ))} 83 | > 84 | )} 85 |