Caution
This repository is deprecated and the app has been moved to the official Sycamore repo at: https://github.com/aryn-ai/sycamore/tree/main/apps/demo-ui
License: Apache License 2.0
Caution
This repository is deprecated and the app has been moved to the official Sycamore repo at: https://github.com/aryn-ai/sycamore/tree/main/apps/demo-ui
This is reproducible for me in the 'docker compose' setup on branch eric-sort_improvements today.
The query is 'hi'. Stack trace is:
Uncaught TypeError: Cannot read properties of undefined (reading 'endsWith')
at SearchResultDocument.isPdf (Types.tsx:19:1)
at icon (Doclist.tsx:21:1)
at DocumentItem (Doclist.tsx:41:1)
at renderWithHooks (react-dom.development.js:16305:1)
at mountIndeterminateComponent (react-dom.development.js:20074:1)
at beginWork (react-dom.development.js:21587:1)
at HTMLUnknownElement.callCallback (react-dom.development.js:4164:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js:4213:1)
at invokeGuardedCallback (react-dom.development.js:4277:1)
at beginWork$1 (react-dom.development.js:27451:1)
The response data has 20 hits. Here's hit #0:
_id: "7cbc23da-8328-11ee-8bbc-0242ac130005"
_index: "demoindex0"
_score: 0.889
_source: bbox: (4) [0.410391905357682, 0.5585842674754545, 0.4764760688893655, 0.5711600200209092]
doc_id: "7cbc23da-8328-11ee-8bbc-0242ac130005"
properties:
element_id: "71e54243ba447407a33473a8bc3c79f4"
filename: ""
filetype: "application/pdf"
links: []
page_number: 3
title: "\n A Minute with Nsort on a 32P NEC Windows Itanium2 Server"
text_representation: "Nsort [8]"
type: "Title"
Right now we work around it by catching the exception and ignoring it by patching pdf.worker.js.
This is obviously the wrong fix, but it works.
Failure occurs ~50% of the time on Eric's Ubuntu laptop and ~20% of the time with Chromium. It's clearly some kind of race condition.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.