I want to add my rag system into a webpage as chatbot

Respected developers,

Myself is teddy, i completed a video from youtube (build your own rag system with hugging face) i can able to run it in google colab,but each time i want to run rag system i am going through all code in every cell is there any way solve that problem also i want to add that rag system as a chatbot in a webpage i created how can i do that,can you anyone help me?

Faithfully

Teddy Salas

Your post makes three assumptions about the people who read your post. One, we watched the “build your own rag system with hugging face” video or are able to find the video from that alone. Two, that we have the ability to add that system as a chatbot to a webpage. Three, that the post reader knows what a rag system is.

A little harshly put, but what research have you done on your own to accomplish this?

1 Like

I am saw a youtube video about making a rag system,i am made my own rag system but i don’t know how to integrate with the web page i made as a chatbots.

In order for anyone to be able to help you, you are going to need to be much more specific with your questions. Share the code that you have written. Explain what you expect that code to do. Explain in what way it is not behaving as expected. Describe what approaches you have already tried and what the results were. Show where you believe the problem to be in the code.

It’s very likely that no one on this forum has the specific experience with the tools you’re using to just give you instructions, but if you can reframe your question in terms of JavaScript code behavior, experienced developers may be able to help you troubleshoot your own code.

Did you google this? I got a lot of results and even a few you tube videos.

Nice work getting your RAG system running, Teddy! To avoid running every cell each time, you can turn your Colab notebook into a Python script or host it using a lightweight backend like Flask or FastAPI. That way, the model loads once and stays active. For adding it to your webpage, you can connect your backend to a simple chat interface using HTML, CSS, and JavaScript to send and receive messages. It takes a bit of setup, but it’ll make your chatbot run much smoother.