Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easily Render Documents #2292

Open
mtanco opened this issue Mar 19, 2024 · 0 comments
Open

Easily Render Documents #2292

mtanco opened this issue Mar 19, 2024 · 0 comments
Labels
feature Feature request ui Related to UI

Comments

@mtanco
Copy link
Contributor

mtanco commented Mar 19, 2024

Is your feature request related to a problem? Please describe

With the advent of Chat & RAG use cases over the last 18 months, we are seeing a lot of apps that want to render documents in Wave. We can do this for PDFs using HTML in a ui.text or ui.markup widget.

ui.text("<object data='https://arxiv.org/pdf/2401.16818.pdf' type='application/pdf' width='100%' height='1000px'></object>")

My understanding is that if we would like to do this for a Microsoft doc file we would need to first make the document a PDF and then render it "as normal".

Describe the solution you'd like

A native, non-custom-HTML solution for displaying PDFs and docx files

Describe alternatives you've considered

Continue to use HTML for PDFs and Python + HTML for .docx files, and "expand" Wave. My concern is this feels hacks and like Wave is not a natural fit for RAG apps

Additional context

This is coming from a customer question.

@mtanco mtanco added the feature Feature request label Mar 19, 2024
@mturoci mturoci added the ui Related to UI label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request ui Related to UI
Projects
None yet
Development

No branches or pull requests

2 participants