erictu22

Results 8 comments of erictu22

Also experiencing this issue. My work-around was to extract all text from the PDF via the `Viewer`'s `onDocumentLoad` callback. Next, I implemented a fuzzy match function that takes my target...

@ham-evans sure > @erictu22 can you share code for extracting text via onDocumentLoad? From my testing that doesn't return the document text. ``` { const pageNumbers = numbersFrom(1, e.doc.numPages); const...

This is what I'm seeing when I attempt to upgrade to V4 using public workers ![image](https://github.com/react-pdf-viewer/react-pdf-viewer/assets/105747337/acf7f5a5-24a2-46d6-b3d3-c22eb4ea61e1) ### Code ``` import { Worker as PdfRenderer } from "@react-pdf-viewer/core"; import { pdfjs...

Hope this helps someone but please check your `apiVersion` parameter when sending requests to azure OpenAI and make sure it's up to date https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#rest-api-versioning