Back

Rahul Agarwal

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

2 core ways AI learns and when to use each. Iโ€™ve explained each in a simple, detailed way below. ๐—ฃ๐—ผ๐—ถ๐—ป๐˜ 1: ๐—˜๐˜…๐˜๐—ฒ๐—ฟ๐—ป๐—ฎ๐—น ๐—ž๐—ป๐—ผ๐˜„๐—น๐—ฒ๐—ฑ๐—ด๐—ฒ ๐—ฅ๐—”๐—š โ€ข Pulls information from outside sources like APIs, PDFs, or databases โ€ข Answers are based on real documents retrieved at query time โ€ข Knowledge lives ๐—ผ๐˜‚๐˜๐˜€๐—ถ๐—ฑ๐—ฒ the model ๐—™๐—ถ๐—ป๐—ฒ-๐—ง๐˜‚๐—ป๐—ถ๐—ป๐—ด โ€ข Stores information inside the modelโ€™s parameters โ€ข Model uses what it has learned during training โ€ข Doesnโ€™t rely on external documents at runtime ๐—ฃ๐—ผ๐—ถ๐—ป๐˜ 2: ๐—›๐—ฎ๐—น๐—น๐˜‚๐—ฐ๐—ถ๐—ป๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐˜€ ๐—ฅ๐—”๐—š โ€ข Less likely to make things up because answers depend on retrieved facts โ€ข If retrieval is accurate, hallucinations stay low ๐—™๐—ถ๐—ป๐—ฒ-๐—ง๐˜‚๐—ป๐—ถ๐—ป๐—ด โ€ข May still hallucinate when the model faces something unfamiliar โ€ข Fills gaps by guessing patterns learned during training ๐—ฃ๐—ผ๐—ถ๐—ป๐˜ 3: ๐—ž๐—ป๐—ผ๐˜„๐—น๐—ฒ๐—ฑ๐—ด๐—ฒ ๐—จ๐—ฝ๐—ฑ๐—ฎ๐˜๐—ฒ๐˜€ ๐—ฅ๐—”๐—š โ€ข Updating is instant, just add or modify documents โ€ข No model retraining needed ๐—™๐—ถ๐—ป๐—ฒ-๐—ง๐˜‚๐—ป๐—ถ๐—ป๐—ด โ€ข Updating knowledge requires collecting new examples โ€ข Needs another training cycle to reflect new facts ๐—ฃ๐—ผ๐—ถ๐—ป๐˜ 4: ๐—˜๐˜๐—ต๐—ถ๐—ฐ๐˜€ & ๐—ฃ๐—ฟ๐—ถ๐˜ƒ๐—ฎ๐—ฐ๐˜† ๐—ฅ๐—”๐—š โ€ข Risk depends on what data you store in external systems โ€ข Sensitive files or databases might get exposed if not secured ๐—™๐—ถ๐—ป๐—ฒ-๐—ง๐˜‚๐—ป๐—ถ๐—ป๐—ด โ€ข Risk comes from private information inside the training set โ€ข Model can leak or recall sensitive content it memorized ๐—ฃ๐—ผ๐—ถ๐—ป๐˜ 5: ๐—ฅ๐—ฒ๐˜€๐—ผ๐˜‚๐—ฟ๐—ฐ๐—ฒ๐˜€ & ๐—Ÿ๐—ฎ๐˜๐—ฒ๐—ป๐—ฐ๐˜† ๐—ฅ๐—”๐—š โ€ข Needs a retrieval system, which adds a bit of delay โ€ข Requires storage + indexing + the model ๐—™๐—ถ๐—ป๐—ฒ-๐—ง๐˜‚๐—ป๐—ถ๐—ป๐—ด โ€ข Once trained, the model responds faster at runtime โ€ข No retrieval step in between ๐—ฃ๐—ผ๐—ถ๐—ป๐˜ 6: ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐—ฝ๐—ฟ๐—ฒ๐˜๐—ฎ๐—ฏ๐—ถ๐—น๐—ถ๐˜๐˜† ๐—ฅ๐—”๐—š โ€ข Answers can be traced back to specific documents โ€ข Easy to show citations or evidence ๐—™๐—ถ๐—ป๐—ฒ-๐—ง๐˜‚๐—ป๐—ถ๐—ป๐—ด โ€ข Works like a black box, no direct source for each answer โ€ข Harder to justify or audit responses ๐—ฃ๐—ผ๐—ถ๐—ป๐˜ 7: ๐—–๐˜‚๐˜€๐˜๐—ผ๐—บ๐—ถ๐˜‡๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ฅ๐—”๐—š โ€ข Controls ๐˜ธ๐˜ฉ๐˜ข๐˜ต information is provided (through retrieved files) โ€ข Doesnโ€™t deeply control tone or writing style ๐—™๐—ถ๐—ป๐—ฒ-๐—ง๐˜‚๐—ป๐—ถ๐—ป๐—ด โ€ข You can shape tone, writing style, and domain expertise โ€ข Model adapts to patterns in training examples ๐—ฃ๐—ผ๐—ถ๐—ป๐˜ 8: ๐——๐—ฎ๐˜๐—ฎ ๐—ก๐—ฒ๐—ฒ๐—ฑ๐˜€ ๐—ฅ๐—”๐—š โ€ข Doesnโ€™t require special labeled datasets โ€ข Uses existing text, documents, and files as context ๐—™๐—ถ๐—ป๐—ฒ-๐—ง๐˜‚๐—ป๐—ถ๐—ป๐—ด โ€ข Needs structured, curated, high-quality training data โ€ข Must prepare examples that teach the model exactly how to behave โœ… ๐—™๐—ถ๐—ป๐—ฎ๐—น ๐—™๐—น๐—ผ๐˜„ 1. Understand where knowledge comes from (external vs internal) 2. Compare how each method handles hallucinations 3. Review how easy it is to update information 4. Check privacy risks on both sides 5. Consider compute and latency needs 6. Look at how traceable the answers are 7. Evaluate how much customization you need 8. Estimate the type and amount of data required โœ… Repost for others in your network who want to build AI systems.

1 Reply
2
5
Replies (1)

More like this

Recommendations from Medial

Image Description

Rahul Agarwal

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

Simple breakdown of different elements in AI systems today. Extremely easy to understand. Hereโ€™s more: ๐—Ÿ๐—Ÿ๐— ๐˜€ โ†’ Great at text generation and reasoning, but limited to training data. ๐—ฅ๐—”๐—š (๐—ฅ๐—ฒ๐˜๐—ฟ๐—ถ๐—ฒ๐˜ƒ๐—ฎ๐—น-๐—”๐˜‚๐—ด๐—บ๐—ฒ๐—ป๐˜๐—ฒ๐—ฑ ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ

See More
Reply
1
9
1

Rahul Agarwal

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

Fine-tune vs Prompt vs Context Engineering. Simple step-by-step breakdown for each approach. ๐—™๐—ถ๐—ป๐—ฒ-๐—ง๐˜‚๐—ป๐—ถ๐—ป๐—ด (๐— ๐—ผ๐—ฑ๐—ฒ๐—น-๐—Ÿ๐—ฒ๐˜ƒ๐—ฒ๐—น ๐—–๐˜‚๐˜€๐˜๐—ผ๐—บ๐—ถ๐˜‡๐—ฎ๐˜๐—ถ๐—ผ๐—ป) ๐—™๐—น๐—ผ๐˜„: 1. Collect Data โ†’ Gather domain-specific info (e.g., legal docs). 2. Sta

See More
Reply
2
13
Image Description
Image Description

Rahul Agarwal

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

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
Image Description

Aura

AI Specialist | Rese...ย โ€ขย 1y

Revolutionizing AI with Inference-Time Scaling: OpenAI's o1 Model" Inference-time Scaling: Focuses on improving performance during inference (when the model is used) rather than just training. Reasoning through Search: The o1 model enhances reasonin

See More
1 Reply
1
5

Rahul Agarwal

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

2 ways AI systems today generate smarter answers. Iโ€™ve explained both in simple steps below. ๐—ฅ๐—”๐—š (๐—ฅ๐—ฒ๐˜๐—ฟ๐—ถ๐—ฒ๐˜ƒ๐—ฎ๐—น-๐—”๐˜‚๐—ด๐—บ๐—ฒ๐—ป๐˜๐—ฒ๐—ฑ ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป) (๐˜ด๐˜ต๐˜ฆ๐˜ฑ-๐˜ฃ๐˜บ-๐˜ด๐˜ต๐˜ฆ๐˜ฑ) RAG lets AI fetch and use real-time external information to ge

See More
Reply
1
7

Rohit joshi

Dev dev devย โ€ขย 1y

๐Ÿš€ New Video Alert! ๐ŸŽ‰ We've just released a tutorial on building a Retrieval-Augmented Generation (RAG) application using Ollama and Microsoft's Phi-3 model. Key Points: Ollama:A platform that enables running large language models locally, enhanc

See More
Reply
3
Image Description
Image Description

Rahul Agarwal

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

Simple explanation of Traditional RAG vs Agentic RAG vs MCP. 1. ๐—ง๐—ฟ๐—ฎ๐—ฑ๐—ถ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐—ฅ๐—”๐—š (๐—ฅ๐—ฒ๐˜๐—ฟ๐—ถ๐—ฒ๐˜ƒ๐—ฎ๐—น-๐—”๐˜‚๐—ด๐—บ๐—ฒ๐—ป๐˜๐—ฒ๐—ฑ ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป) โ€ข ๐—ฆ๐˜๐—ฒ๐—ฝ 1: ๐—จ๐˜€๐—ฒ๐—ฟ ๐—ฎ๐˜€๐—ธ๐˜€ ๐—ฎ ๐—พ๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป. Example: โ€œ๐˜ž๐˜ฉ๐˜ข๐˜ต ๐˜ช๐˜ด ๐˜ต๐˜ฉ๐˜ฆ ๐˜ค๐˜ข๐˜ฑ๐˜ช๏ฟฝ

See More
4 Replies
34
41
4

Aryan patil

Intern at YourStory ...ย โ€ขย 1y

In traditional programming, the focus is on using rules and data to find answers. This is typically represented as rules + data = answers. In contrast, AI/ML takes a different approach: Answers + data = rules. In AI/ML, we train models by providing

See More
Reply
4

Aura

AI Specialist | Rese...ย โ€ขย 1y

Did you know this ai ? an innovative search engine that harnesses the power of artificial intelligence to provide users with direct, accurate answers to their questions. Unlike conventional search engines that return a list of links, Perplexity

See More
Reply
5

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