I spent the last week building an AI chatbot SaaS from scratch.
๐ค Crawl any website
๐ง Generate embeddings
๐ Semantic search with Qdrant
๐ฌ RAG-powered answers
โก Deploy with one script tag
Stack:
Next.js โข Node.js โข Playwright โข BullMQ โข Redis โข Qdrant โข NVIDIA LLM
This has been one of my biggest AI engineering projects yet.
๐งต Here's how it works...
I spent the last week building an AI chatbot SaaS from scratch.
๐ค Crawl any website
๐ง Generate embeddings
๐ Semantic search with Qdrant
๐ฌ RAG-powered answers
โก Deploy with one script tag
Stack:
Next.js โข Node.js โข Playwright โข BullMQ โข Redis โข Qdrant โข NVIDIA LLM
This has been one of my biggest AI engineering projects yet.
๐งต Here's how it works...
Thanks! The focus was definitely making deployment effortless. For chunking, I first clean the extracted content and remove duplicate sections like repeated headers, footers, and navigation that appear across multiple pages. That keeps the chunks cleaner and helps the retriever focus on the actual content. Iโm still refining it as I test against more complex websites.
@themanasai Thanks! Thatโs a great suggestion. Hybrid search is definitely something I want to explore as Scrappy scales, especially for exact feature and product name retrieval.
I noticed something while building websites.
Almost every client asks:
โCan we add an AI chatbot?โ
Mostly either we make it using n8n or any custom third party site where we need to update a lot of information about our site so what if
We just add a simple script tag and the bot itself crawls to your entire site, makes its own knowledge base and answers userโs query accordingly ?
Will you use a chatbot like that in your website ? Tell me in the comments ๐
Day 3 of shitposting about my journey to learning new things
Started building Scrappy AI ๐
The goal is simple: add one script to any website and get an AI chatbot that can answer questions using the website's own content.
One thing I learned today:
Scraping โ Crawling
Scraping extracts data from a single page.
Crawling discovers and visits all the internal pages of a website before extracting their content.
For an AI chatbot to truly understand a website, crawling is the right approach. Now onto building the crawler, followed by chunking, embeddings, Qdrant, and RAG.
#AI #RAG #Qdrant #BuildInPublic
Hey , @rapidoapp_ , I am frequently encountering an issue where drivers call prior to arrival demanding fare amounts significantly higher than the app's estimate. When I decline, they refuse to pick me up and insist that I cancel the trip.
One driver almost asked for a double fare.
Hey @hoichoitv
Noticed a small UX issue while using the platform.
When a request fails, the UI only shows โRequest failed with status code 400โ, which isnโt very helpful for users. The backend likely already returns a meaningful error message, but it isnโt being displayed.
Showing the actual message from the API (instead of the generic Axios error) would make debugging and the overall user experience much better.
Just a small suggestion. ๐
Day2 of learning new things and posting about it
So Today let's learn about RAG in few words
What's RAG?
LLMs answer from memory.
RAG says, "Wait... let me check the docs first." ๐๐ค
Retrieve the right information โ Generate the answer and stop the hallucination
Basically, AI with receipts. ๐
#AI #RAG #LLMs #AIEngineering
I am trying to start my journey towards learning AI/ML since a long time now but each time I start I just lost my motivation so I decided to post small ideas or parts of my learning through visuals and some examples each day I learn something new . So this is Day1 of me posting about a small idea
How "Frequently Bought Together" Actually Works
Imagine you open your mobile to order a bread from Blinkit and buy a loaf of Bread.
Immediately, Blinkit suggests Butter with a sign Frequently Bought Together
How did it know?
Step 1: Unsupervised Learning
There are no labels or correct answers.
The system simply looks at millions of past shopping carts to discover hidden patterns.
Step 2: Association Rule Learning
It asks one simple question:
"What products are usually bought together?"
Example:
Customer 1 โ Bread + Butter
Customer 2 โ Bread + Butter + Milk
Customer 3 โ Bread + Eggs
Customer 4 โ Bread + Butter + Jam
Step 3: Apriori Algorithm
Apriori scans all transactions.
It counts how often different products appear together.
It discovers:
Bread + Butter appears very frequently.
So it creates the rule:
Bread โ Butter
Step 4: FP-Growth Algorithm
Apriori works well, but scanning millions of transactions repeatedly becomes slow.
FP-Growth stores the data in a compact tree structure.
Instead of checking everything again and again, it finds the same patterns much faster.
Final Result
When a new customer adds Bread to the cart...
The recommendation system already knows:
People who buy Bread often buy Butter.
Frequently Bought Together
Ans:๐ง Butter
This diagram is made using https://t.co/Jp4e5omPMB