Back

Rahul Agarwal

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

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 generate fact-based, updated answers. 1. ๐—ฆ๐˜๐—ฎ๐—ฟ๐˜ ๐˜„๐—ถ๐˜๐—ต ๐—พ๐˜‚๐—ฒ๐—ฟ๐˜† โ€“ User asks a question or gives input. 2. ๐—˜๐—ป๐—ฐ๐—ผ๐—ฑ๐—ฒ ๐—ถ๐—ป๐—ฝ๐˜‚๐˜ โ€“ Convert it into a machine-readable format. 3. ๐—ง๐—ผ๐—ธ๐—ฒ๐—ป๐—ถ๐˜‡๐—ฒ ๐˜๐—ฒ๐˜…๐˜ โ€“ Break the query into small understandable pieces. 4. ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ฒ ๐—ฒ๐—บ๐—ฏ๐—ฒ๐—ฑ๐—ฑ๐—ถ๐—ป๐—ด๐˜€ โ€“ Turn text into numeric vectors that capture meaning. 5. ๐—ฅ๐—ฒ๐˜๐—ฟ๐—ถ๐—ฒ๐˜ƒ๐—ฒ ๐—ธ๐—ป๐—ผ๐˜„๐—น๐—ฒ๐—ฑ๐—ด๐—ฒ โ€“ Search a vector database for relevant information. 6. ๐—ฆ๐—ฒ๐—น๐—ฒ๐—ฐ๐˜ ๐—ฐ๐—ผ๐—ป๐˜๐—ฒ๐˜…๐˜ โ€“ Pick the most useful retrieved chunks. 7. ๐—™๐—ถ๐—น๐˜๐—ฒ๐—ฟ ๐—ป๐—ผ๐—ถ๐˜€๐—ฒ โ€“ Remove irrelevant or low-quality data. 8. ๐—™๐˜‚๐˜€๐—ฒ ๐—ธ๐—ป๐—ผ๐˜„๐—น๐—ฒ๐—ฑ๐—ด๐—ฒ โ€“ Combine external info with the modelโ€™s internal knowledge. 9. ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ฒ ๐—ฟ๐—ฒ๐˜€๐—ฝ๐—ผ๐—ป๐˜€๐—ฒ โ€“ Create an answer using both retrieved data and reasoning. 10. ๐—ฉ๐—ฎ๐—น๐—ถ๐—ฑ๐—ฎ๐˜๐—ฒ ๐—ผ๐˜‚๐˜๐—ฝ๐˜‚๐˜ โ€“ Check for factual accuracy and coherence. 11. ๐—ฅ๐—ฒ๐—บ๐—ผ๐˜ƒ๐—ฒ ๐—ฏ๐—ถ๐—ฎ๐˜€ โ€“ Eliminate misleading or biased phrasing. 12. ๐——๐—ฒ๐—น๐—ถ๐˜ƒ๐—ฒ๐—ฟ ๐—ณ๐—ถ๐—ป๐—ฎ๐—น ๐—ผ๐˜‚๐˜๐—ฝ๐˜‚๐˜ โ€“ Provide the user with a reliable, fact-backed response. __________________________________________________ ๐—–๐—”๐—š (๐—–๐—ผ๐—ป๐˜๐—ฒ๐˜…๐˜-๐—”๐˜‚๐—ด๐—บ๐—ฒ๐—ป๐˜๐—ฒ๐—ฑ ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป) (๐˜ด๐˜ต๐˜ฆ๐˜ฑ-๐˜ฃ๐˜บ-๐˜ด๐˜ต๐˜ฆ๐˜ฑ) CAG lets AI remember past interactions to provide more relevant, personalized, and context-aware responses. 1. ๐—ฆ๐˜๐—ฎ๐—ฟ๐˜ ๐˜„๐—ถ๐˜๐—ต ๐—พ๐˜‚๐—ฒ๐—ฟ๐˜† โ€“ User provides input or a task request. 2. ๐—ฃ๐—ฟ๐—ผ๐—ฐ๐—ฒ๐˜€๐˜€ ๐—ถ๐—ป๐—ฝ๐˜‚๐˜ โ€“ Convert it into a structured format for the model. 3. ๐—œ๐—ป๐—ท๐—ฒ๐—ฐ๐˜ ๐—ฐ๐—ผ๐—ป๐˜๐—ฒ๐˜…๐˜ โ€“ Add relevant background (past chats, user data, goals). 4. ๐—ฅ๐—ฒ๐—ฐ๐—ฎ๐—น๐—น ๐—ฑ๐—ผ๐—บ๐—ฎ๐—ถ๐—ป ๐—บ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜† โ€“ Bring in domain-specific knowledge or prior interactions. 5. ๐—”๐—ฐ๐—ฐ๐—ฒ๐˜€๐˜€ ๐—ธ๐—ป๐—ผ๐˜„๐—น๐—ฒ๐—ฑ๐—ด๐—ฒ ๐—ฏ๐—ฎ๐˜€๐—ฒ โ€“ Fetch related internal or external references. 6. ๐— ๐—ฒ๐—ฟ๐—ด๐—ฒ ๐—ฑ๐—ฎ๐˜๐—ฎ โ€“ Combine all context and knowledge sources. 7. ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ฒ ๐—ผ๐˜‚๐˜๐—ฝ๐˜‚๐˜ โ€“ Create a response using this rich, aligned context. 8. ๐—ฉ๐—ฒ๐—ฟ๐—ถ๐—ณ๐˜† ๐—ฟ๐—ฒ๐˜€๐—ฝ๐—ผ๐—ป๐˜€๐—ฒ โ€“ Check the result for logical and contextual accuracy. 9. ๐—˜๐˜…๐—ฝ๐—ฎ๐—ป๐—ฑ ๐—ฐ๐—ผ๐—ป๐˜๐—ฒ๐˜…๐˜ โ€“ Enrich the response with more relevant details if needed. 10. ๐—”๐—น๐—ถ๐—ด๐—ป ๐—ฐ๐—ผ๐—ป๐˜๐—ฒ๐˜…๐˜ โ€“ Ensure the output fits the userโ€™s prior goals or conversation. 11. ๐—–๐—ต๐—ฒ๐—ฐ๐—ธ ๐—ฐ๐—ผ๐—ป๐˜€๐—ถ๐˜€๐˜๐—ฒ๐—ป๐—ฐ๐˜† โ€“ Confirm that everything stays coherent and connected. 12. ๐——๐—ฒ๐—น๐—ถ๐˜ƒ๐—ฒ๐—ฟ ๐—ณ๐—ถ๐—ป๐—ฎ๐—น ๐—ผ๐˜‚๐˜๐—ฝ๐˜‚๐˜ โ€“ Provide a complete, context-aware, and consistent answer. In short: โ€ข ๐—ฅ๐—”๐—š gives models access to the ๐—ฟ๐—ถ๐—ด๐—ต๐˜ ๐—ถ๐—ป๐—ณ๐—ผ๐—ฟ๐—บ๐—ฎ๐˜๐—ถ๐—ผ๐—ป. โ€ข ๐—–๐—”๐—š helps them use it ๐—ถ๐—ป ๐˜๐—ต๐—ฒ ๐—ฟ๐—ถ๐—ด๐—ต๐˜ ๐—ฐ๐—ผ๐—ป๐˜๐—ฒ๐˜…๐˜. Together, they make AI systems: more accurate, more reliable, more personalized and more useful in real-world workflows. โœ… Repost for others in your network who can benefit from this.

Reply
1
6

More like this

Recommendations from Medial

Rahul Agarwal

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

How Multi-Agent AI systems actually work? Explained in a very simple way. Read below: -> ๐—ง๐—ต๐—ฒ ๐— ๐—ฎ๐—ถ๐—ป ๐—”๐—œ ๐—”๐—ด๐—ฒ๐—ป๐˜ The main ๐—”๐—œ ๐—”๐—ด๐—ฒ๐—ป๐˜ is the ๐—ผ๐—ฟ๐—ฐ๐—ต๐—ฒ๐˜€๐˜๐—ฟ๐—ฎ๐˜๐—ผ๐—ฟ. It has several capabilities: โ€ข ๐——๐—ฎ๐˜๐—ฎ๐—ฏ๐—ฎ๐˜€๐—ฒ โ€“ Stores knowledge o

See More
Reply
3
15

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