run-llama / create-llama

The easiest way to get started with LlamaIndex
MIT License
1.05k stars 135 forks source link

Adding support for text artifacts (besides code artifacts) #419

Open marcusschiesser opened 1 week ago

marcusschiesser commented 1 week ago

Why

We already implemented code artifacts similar to Claude's code artifacts.

We're missing features for:

  1. Generating text artifacts. (We can generate PDFs and HTML documents with the document_generator tool, but can't generate a text artifact without a file format like Claude.ai that is shown in a side panel).
  2. Editing text or code artifacts

Claude doesn't support editing generated artifacts. ChatGPT has the Canvas feature for editing code or text.

What

Generate artifacts

For generating text artifacts, we need to add the following:

Edit artifacts

Out of the scope of this ticket, but should be kept in mind when writing the code