Open wupengfei0904 opened 1 week ago
Totally, I have some ideas for this.
Artifacts are a great V1, actually running the code inside a sandboxed container (like cohere's terrarium) would be even better, but I get that changes the scope.
wow, lots of excitement about artifacts!
1) The videos made it seem that the artifacts needed to be 100% rewritten by the LLM. That seems ineffecient.
Could get claude/openai to generate a valid GIT PATCH (or similar) and apply that on the server for much faster changes?
(Of course, have to send back the entire complete artifact for further chats.)
2) Do we have direct edit capability to mess with it, live update, and then use our changes as part of the future conversation?
Notes from discord discussion:
we can use this library for a similar effect https://github.com/kevin940726/remark-codesandbox
Here's an open source version of Anthropic Artifacts UI https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/anthropic-power-artifacts
wow, lots of excitement about artifacts!
1. The videos made it seem that the artifacts needed to be 100% rewritten by the LLM. That seems ineffecient.
Could get claude/openai to generate a valid GIT PATCH (or similar) and apply that on the server for much faster changes?
(Of course, have to send back the entire complete artifact for further chats.)
2. Do we have direct edit capability to mess with it, live update, and then use our changes as part of the future conversation?
if you have ever used aider, you know llms can edit huge codebases using aider diff format.
Here's an open source version of Anthropic Artifacts UI https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/anthropic-power-artifacts
it's an open source way to talk to someone else computer? nah I want to run it on my own computer
Pliny the prompter shared this SYSTEM PROMPT for Artifacts on X
https://twitter.com/elder_plinius/status/1804052791259717665?s=19
This could be relevant here.
https://twitter.com/elder_plinius/status/1804052791259717665?s=19
that's fascinating
What features would you like to see added?
I experienced Claude today, there is an experimental Artifacts that form 2 windows, this is a cool feature, could you consider adding it to librechat again.
More details
Which components are impacted by your request?
No response
Pictures
No response
Code of Conduct