Back

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 21d

Steps to building AI systems with LLM's. I've given a simple detailed explanation below. ๐—ฆ๐˜๐—ฒ๐—ฝ 1 โ€“ ๐—Ÿ๐—Ÿ๐— ๐˜€ (๐—Ÿ๐—ฎ๐—ฟ๐—ด๐—ฒ ๐—Ÿ๐—ฎ๐—ป๐—ด๐˜‚๐—ฎ๐—ด๐—ฒ ๐— ๐—ผ๐—ฑ๐—ฒ๐—น๐˜€) โ€ข These are the ๐—ฏ๐—ฟ๐—ฎ๐—ถ๐—ป๐˜€ of the system. โ€ข Examples: GPT (OpenAI), Gemini, Claude etc. โ€ข They generate answers, understand queries, and perform reasoning. ๐—ฆ๐˜๐—ฒ๐—ฝ 2 โ€“ ๐—™๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜„๐—ผ๐—ฟ๐—ธ๐˜€ โ€ข Frameworks help you ๐—ฐ๐—ผ๐—ป๐—ป๐—ฒ๐—ฐ๐˜ ๐˜๐—ต๐—ฒ ๐—Ÿ๐—Ÿ๐—  ๐˜„๐—ถ๐˜๐—ต ๐—ฑ๐—ฎ๐˜๐—ฎ, ๐˜๐—ผ๐—ผ๐—น๐˜€, ๐—ฎ๐—ป๐—ฑ ๐—ฎ๐—ฝ๐—ฝ๐˜€. โ€ข Examples: LangChain, Llama Index, Haystack, Txtai. โ€ข They act like a ๐˜๐—ผ๐—ผ๐—น๐—ธ๐—ถ๐˜ so you donโ€™t have to build everything from scratch. ๐—ฆ๐˜๐—ฒ๐—ฝ 3 โ€“ ๐—ฉ๐—ฒ๐—ฐ๐˜๐—ผ๐—ฟ ๐——๐—ฎ๐˜๐—ฎ๐—ฏ๐—ฎ๐˜€๐—ฒ๐˜€ โ€ข LLMs canโ€™t remember everything. They need a ๐—บ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜† ๐˜€๐˜†๐˜€๐˜๐—ฒ๐—บ. โ€ข Vector databases store โ€œembeddingsโ€ (numerical representations of text). โ€ข Examples: Pinecone, Weaviate, Chroma, Milvus, Qdrant. โ€ข They make searching fast and relevant (like Google search but for your private data). ๐—ฆ๐˜๐—ฒ๐—ฝ 4 โ€“ ๐——๐—ฎ๐˜๐—ฎ ๐—˜๐˜…๐˜๐—ฟ๐—ฎ๐—ฐ๐˜๐—ถ๐—ผ๐—ป โ€ข Your AI needs real-world ๐—ฑ๐—ฎ๐˜๐—ฎ ๐—ถ๐—ป๐—ฝ๐˜‚๐˜๐˜€. โ€ข Tools like Crawl4AI, FireCrawl, ScrapeGraphAI, Docling, LlamaParse help: - Scrape websites - Extract PDFs, docs, or tables - Clean and structure messy data ๐—ฆ๐˜๐—ฒ๐—ฝ 5 โ€“ ๐—ข๐—ฝ๐—ฒ๐—ป ๐—Ÿ๐—Ÿ๐— ๐˜€ ๐—”๐—ฐ๐—ฐ๐—ฒ๐˜€๐˜€ โ€ข Instead of calling proprietary APIs, you can ๐—ฟ๐˜‚๐—ป ๐—Ÿ๐—Ÿ๐— ๐˜€ ๐—น๐—ผ๐—ฐ๐—ฎ๐—น๐—น๐˜† or via open-source providers. โ€ข Examples: Hugging Face, Ollama etc. ๐—ฆ๐˜๐—ฒ๐—ฝ 6 โ€“ ๐—ง๐—ฒ๐˜…๐˜ ๐—˜๐—บ๐—ฏ๐—ฒ๐—ฑ๐—ฑ๐—ถ๐—ป๐—ด๐˜€ โ€ข To store text in databases, you must first ๐—ฐ๐—ผ๐—ป๐˜ƒ๐—ฒ๐—ฟ๐˜ ๐—ถ๐˜ ๐—ถ๐—ป๐˜๐—ผ ๐—ป๐˜‚๐—บ๐—ฏ๐—ฒ๐—ฟ๐˜€ (๐˜ƒ๐—ฒ๐—ฐ๐˜๐—ผ๐—ฟ๐˜€). โ€ข Tools like OpenAI Embeddings, SBERT, Voyage AI etc handle this. โ€ข Embeddings allow semantic search (finding meaning, not just keywords). ๐—ฆ๐˜๐—ฒ๐—ฝ 7 โ€“ ๐—˜๐˜ƒ๐—ฎ๐—น๐˜‚๐—ฎ๐˜๐—ถ๐—ผ๐—ป โ€ข Once built, you must ๐˜๐—ฒ๐˜€๐˜ ๐—ฎ๐—ป๐—ฑ ๐—ถ๐—บ๐—ฝ๐—ฟ๐—ผ๐˜ƒ๐—ฒ your system. โ€ข Tools: Giskard, Ragas, Trulens. โ€ข They measure: - Accuracy - Hallucinations (wrong answers) - Relevance of results โœ… ๐—™๐—ถ๐—ป๐—ฎ๐—น ๐—™๐—น๐—ผ๐˜„ ๐—ถ๐—ป ๐—ฆ๐—ถ๐—บ๐—ฝ๐—น๐—ฒ ๐—ช๐—ผ๐—ฟ๐—ฑ๐˜€: 1. Choose a model (LLM). 2. Connect it with a framework. 3. Collect data and extract it properly. 4. Turn data into embeddings and store them in a vector DB. 5. Give the LLM access to search that DB. 6. Use open access tools if you want local/cheap models. 7. Continuously evaluate and refine. You can apply this framework in your company to design and deploy powerful AI solutions for your business. โœ… Repost for others in your network who can benefit from this.

Reply
8
8

More like this

Recommendations from Medial

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 13d

Steps to building real-world AI systems. I've given a simple detailed explanation below. ๐—ฆ๐˜๐—ฒ๐—ฝ 1 โ€“ ๐——๐—ฒ๐—ฝ๐—น๐—ผ๐˜†๐—บ๐—ฒ๐—ป๐˜ & ๐—–๐—ผ๐—บ๐—ฝ๐˜‚๐˜๐—ฒ ๐—Ÿ๐—ฎ๐˜†๐—ฒ๐—ฟ โ€ข This is where all the ๐—ต๐—ฒ๐—ฎ๐˜ƒ๐˜† ๐—ฝ๐—ฟ๐—ผ๐—ฐ๐—ฒ๐˜€๐˜€๐—ถ๐—ป๐—ด ๐—ต๐—ฎ๐—ฝ๐—ฝ๐—ฒ๐—ป๐˜€. โ€ข It provides the ๐—ต๐—ฎ๐—ฟ๏ฟฝ

See More
Reply
1
1
Image Description

Chirotpal Das

Building an AI eco-s...ย โ€ขย 9m

Which is the fastest vector db for production in terms of vector similarity search and retrieval?

2 Replies
10
Image Description
Image Description

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 6d

Steps to building Agentic AI systems from scratch. I've given a simple detailed explanation below. ๐—ฆ๐˜๐—ฒ๐—ฝ 1 โ€“ ๐—š๐—ฃ๐—จ/๐—–๐—ฃ๐—จ ๐—ฃ๐—ฟ๐—ผ๐˜ƒ๐—ถ๐—ฑ๐—ฒ๐—ฟ (Compute Layer) โ€ข This is the engine that powers all AI computations. โ€ข You rent computing power to run y

See More
1 Reply
32
20
2
Image Description
Image Description

Chetan Bhosale

Software Engineer | ...ย โ€ขย 1y

๐Ÿ’ก 5 Things You Need to Master for learn for integrating AI into your project 1๏ธโƒฃ Retrieval-Augmented Generation (RAG): Combine search with AI for precise and context-aware outputs. 2๏ธโƒฃ Vector Databases: Learn how to store and query embeddings for e

See More
3 Replies
7
9

Gigaversity

Gigaversity.inย โ€ขย 6m

We built an e-commerce platform that worked well initially. But as the product catalog grew, users started facing issuesโ€”search results were slow and often not relevant. This led to frustration and a drop in engagement. To solve this, we upgraded th

See More
Reply
5
Image Description
Image Description

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 2m

3 ways how most AI systems are built. Iโ€™ve explained each one step-by-step. 1) ๐—ง๐—ฟ๐—ฎ๐—ฑ๐—ถ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐—”๐—œ (๐˜€๐˜๐—ฒ๐—ฝ-๐—ฏ๐˜†-๐˜€๐˜๐—ฒ๐—ฝ) 1. ๐—ฆ๐—ฒ๐˜ ๐˜๐—ฎ๐˜€๐—ธ โ€“ Decide what problem the model should solve. 2. ๐—–๐—ผ๐—น๐—น๐—ฒ๐—ฐ๐˜ ๐—ฑ๐—ฎ๐˜๐—ฎ โ€“ Gather lots of example

See More
1 Reply
8
18
1

Rohit joshi

Dev dev devย โ€ขย 9m

๐Ÿš€ Excited to share my latest YouTube video! demonstrate how to integrate Microsoft's Semantic Kernel with Qdrant, the open-source vector database, to build an intelligent question-answering system for Wikipedia pages๎ˆ„ ๎ˆ€cite๎ˆ‚turn0search3๎ˆ† In this tu

See More
Reply
2
8
Image Description

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 22d

9 Steps to Build AI Agents from Scratch. I've given a simple step by step explanation. ๐—ฆ๐˜๐—ฒ๐—ฝ 1: ๐—˜๐˜€๐˜๐—ฎ๐—ฏ๐—น๐—ถ๐˜€๐—ต ๐— ๐—ถ๐˜€๐˜€๐—ถ๐—ผ๐—ป & ๐—ฅ๐—ผ๐—น๐—ฒ โ€ข Decide what problem the agent will solve. โ€ข Figure out who will use it. โ€ข Plan how users will interact

See More
Reply
4
15
1
Image Description

Comet

#freelancerย โ€ขย 1y

Can anyone provide me examples of tools or projects that you found genuinely valuable in your work with large language models?

1 Reply
1
3

Codestam Technologies

We make automations ...ย โ€ขย 20d

Struggling with research? AI collects data, statistics, examples and structures your blog in minutes. Half the blogging effortโ€”gone. . . . . #AIResearch #ContentAutomation

Reply
8

Download the medial app to read full posts, comements and news.