r/VibeCodeDevs • u/Accurate-Screen8774 • 28d ago
Trying Out Browser-based LLM Chatbot
To help users of my app, it was important to document the details around the “how it works”. The docs were easy enough to cook up using Docusaurus + AI. I can then index that data (like used in the Docusaurus search). I framed this as like a chatbot so that it can be intuitive for users who have questions. At first it was only a fancy autocomplete.
I then wanted to investigate running a local LLM to perhaps offer a more conversational experienced (or better suggestions)? I'm using WebLLM on a browser and it seems to work “reasonably” well. I wired it up and set it up so users can select an LLM to download for offline use. The experience varies between devices and models used. There are models that are 19MB… they seem pretty unusable. There are also some ~1GB models which are better but understandably slow. I hope to add more models available and users can choose one that suits them (or none). Without an AI, i hope the "fancy autocomplete" can fill in the gaps.
Its great that the ~1GB models can “show me the bubble-sort in rust”, but i want something “dumber” and smaller. Something can can take advantage the data ive already indexed. Something that can respond “quickly enough” for a conversational flow on a phone.
Im aiming for a good user-experience more than trying to wedge in an LLM... and a fancy autocomplete might be enough if i create the appropriate coachmarks. It might be better to scrap the LLM approach and have context aware templates for a "fancier autocomplete". Are there any models out there for me to investigate and compare?
Note: The project is experiemental and unstable. Its far from finished. Im just trying things out. If you want to find out more, you can take a look at: https://glitr.io/docs/technical/ai or if you want to test it out, you can try: https://app.glitr.io/ai
•
u/endofthread-bot 28d ago
Hey u/Accurate-Screen8774, thanks for posting in r/VibeCodeDevs! Join our Discord: https://discord.gg/t7SD4ThKuE
• This community is designed to be open and creator‑friendly, with minimal restrictions on promotion and self‑promotion as long as you add value and don’t spam.
• Please follow the subreddit rules so we can keep things as relaxed and free as possible for everyone. • Please make sure you’ve read the subreddit rules in the sidebar before posting or commenting.
• For better feedback, include your tech stack, experience level, and what kind of help or feedback you’re looking for.
• Be respectful, constructive, and helpful to other members.
If your post was removed (either automatically or by a mod) and you believe it was a mistake, please contact the mod team. We will review it and, when appropriate, approve it within 24 hours.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.