danny-avila / LibreChat

Enhanced ChatGPT Clone: Features OpenAI, Assistants API, Azure, Groq, GPT-4 Vision, Mistral, Bing, Anthropic, OpenRouter, Vertex AI, Gemini, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. More features in development
https://librechat.ai/
MIT License
15.02k stars 2.49k forks source link

Enhancement: Claude Artifacts #3139

Open wupengfei0904 opened 1 week ago

wupengfei0904 commented 1 week ago

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

image

Which components are impacted by your request?

No response

Pictures

No response

Code of Conduct

danny-avila commented 1 week ago

Totally, I have some ideas for this.

adamrb commented 1 week ago

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.

avimar commented 6 days ago

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?

avimar commented 6 days ago

Notes from discord discussion:

we can use this library for a similar effect https://github.com/kevin940726/remark-codesandbox

wupengfei0904 commented 5 days ago

Here's an open source version of Anthropic Artifacts UI https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/anthropic-power-artifacts

Kreijstal commented 5 days ago

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.

Kreijstal commented 5 days ago

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

cywale commented 5 days ago

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.

Kreijstal commented 5 days ago

https://twitter.com/elder_plinius/status/1804052791259717665?s=19

that's fascinating