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

Create a chat webapp with elegant UI on mlc.ai #391

Closed
Neet-Nestor opened this issue May 9, 2024 · 5 comments
Closed

Create a chat webapp with elegant UI on mlc.ai #391

Neet-Nestor opened this issue May 9, 2024 · 5 comments
Labels
status: tracking Tracking work in progress

Comments

@Neet-Nestor
Copy link
Contributor

Neet-Nestor commented May 9, 2024

Currently, the UI of the Web-LLM demo hosted at webllm.mlc.ai serves its purpose as a basic demonstration. However, to enhance the marketability of the project, it's imperative to elevate the user experience by implementing a more elegant and user-friendly interface.

One effective approach to achieve this is by integrating Web-LLM into an open-source chatbot UI framework. A list of available candidates is Every ChatGPT GUI.

Integrating Web-LLM with a sophisticated chatbot UI not only improves its aesthetics but also enhances its usability and appeal to potential users and stakeholders. This integration will offer a seamless and intuitive interaction experience, contributing significantly to the project's marketability and adoption.

I'm interested in creating one and I'll post my update there in this issue thread.

@tqchen tqchen added the status: tracking Tracking work in progress label May 9, 2024
@Neet-Nestor
Copy link
Contributor Author

Neet-Nestor commented May 9, 2024

I've developed a web application integrating Web-LLM with NextChat (ChatGPT Next Web).

You can access the live demo at https://chat.neet.coffee/ and here's a screenshot:

screenshot of web-llm Chat UI

Please note that this integration is currently in its preliminary demonstration phase. Further modifications and enhancements are necessary to ensure all functionalities work seamlessly.

Nest steps:

  • Resolve the repeated model initialization issue
  • Support service-worker
  • Support streaming
  • Support more customization

@Neet-Nestor
Copy link
Contributor Author

The chat webapp https://chat.neet.coffee/ has been updated to:

  • Resolve the repeated model initialization issue
  • Support service-worker
  • Support streaming
  • Support more customization

As the next step, I will work on optimizing the model management and loading since currently the model loading still takes 20+ seconds with cache and it is required on every page load.

@Neet-Nestor
Copy link
Contributor Author

Close issue and move tracking to https://github.com/mlc-ai/web-llm-chat

@flatsiedatsie
Copy link

flatsiedatsie commented May 17, 2024

It looks fantastic!

// Perhaps it's time for a "projects built with WebLLM" section in the Github readme? It seems https://chat.neet.coffee/ has existed for quite some time. My mind is a little bit blown.

Perhaps of interest: Secret Llama recently created what you describe as well:

https://secretllama.com/

https://github.com/abi/secret-llama

https://www.reddit.com/r/LocalLLaMA/comments/1cjjxc6/i_built_a_free_inbrowser_llm_chatbot_powered_by/

Perhaps it would be an idea to work with that project?

FYI, I will also be releasing a 100% browser-based project soon that heavily builds on WebLLM. It will showcases it's many abilities. Some screenshots:

Screenshot 2024-05-17 at 11 26 53 Screenshot 2024-05-17 at 11 33 16 Screenshot 2024-05-17 at 11 39 12

@Neet-Nestor
Copy link
Contributor Author

Perhaps of interest: Secret Llama recently created what you describe as well:

https://secretllama.com/

https://github.com/abi/secret-llama

https://www.reddit.com/r/LocalLLaMA/comments/1cjjxc6/i_built_a_free_inbrowser_llm_chatbot_powered_by/

This is interesting and thank you for sharing! The discussion there validates my assumption that a user-friendly, production-ready, streamlined UI for web-llm is expected by many users.

I had a brief look of their codebase, and realized that the author created the project from scratch and the current stage of the webapp UI is still relatively premature. I did it in a different approach by integrating web-llm to a more mature open-source chat UI projects in hope to avoid reinvent the wheels and be able to quickly launch an elegant and user-friendly webapp product to the public.

Therefore, I will continue working on this as a separate project, web-llm-chat, under mlc.ai, but I will try reach out to secret llama's authors for potential collaborations.

FYI, I will also be releasing a 100% browser-based project soon that heavily builds on WebLLM. It will showcases it's many abilities.

Your project looks very cool with a comprehensive set of features. Best luck on it!

@Neet-Nestor Neet-Nestor changed the title Create a chat webapp with elegant UI on webllm.mlc.ai Create a chat webapp with elegant UI on mlc.ai May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: tracking Tracking work in progress
Projects
None yet
Development

No branches or pull requests

3 participants