run-llama / create-llama

The easiest way to get started with LlamaIndex
MIT License
1.03k stars 132 forks source link

Support generation of downloadable artifacts #295

Closed marcusschiesser closed 1 month ago

marcusschiesser commented 1 month ago

Currently, all artifacts (e.g. HTML files or code) are inline. We should add a feature to show a generated artifact as an icon, and the user can download the artifact. This would also allow to generate artifacts, that are not directly generated by the LLM, e.g., a PPT or PDF file.

Possible use cases:

marcusschiesser commented 1 month ago

290 will add showing generated code as an artifact that could be viewed or executed.

In this ticket, we will focus on generating a PDF file and making it downloadable to the user (see https://x.com/jerryjliu0/status/1838014425120612806)

marcusschiesser commented 1 month ago

Assumption: The generated artifact will be served by the file server (similar to E2B artifacts).

Sub-Tasks