---
title: "Shivanshu Agrawal (@shivanshuagrawal) | Hashnode"
description: "chai aur blogs. Read the latest articles by Shivanshu Agrawal on Hashnode."
url: "https://hashnode.com/@shivanshuagrawal"
---

@shivanshuagrawal

# Shivanshu Agrawal

@shivanshuagrawal · Joined January 2026

chai aur blogs

### [Let's Understand Where RAG Fails](https://tech-blogs-shivanshu.hashnode.dev/let-s-understand-where-rag-fails?utm_source=hashnode&utm_medium=feed)

Imagine you have a smart friend who has read very book of the world but he completely stopped reading anything new. If you ask him "Who won the Cricket World Cup?" he will answer. But if you ask him a

4 min read · [tech-blogs-shivanshu.hashnode.dev](https://tech-blogs-shivanshu.hashnode.dev/let-s-understand-where-rag-fails?utm_source=hashnode&utm_medium=feed)

[Jul 19](https://hashnode.com/posts/let-s-understand-where-rag-fails/6a5cfa8c144ff7632fe07105)

### [How ChatGPT becomes Your Girlfriend](https://tech-blogs-shivanshu.hashnode.dev/how-chatgpt-becomes-your-girlfriend?utm_source=hashnode&utm_medium=feed)

This article helps in getting a high level view of how a LLM works, from prompts to tokenization and embeddings with Transformers

4 min read · [tech-blogs-shivanshu.hashnode.dev](https://tech-blogs-shivanshu.hashnode.dev/how-chatgpt-becomes-your-girlfriend?utm_source=hashnode&utm_medium=feed)

[Jul 1](https://hashnode.com/posts/how-chatgpt-becomes-your-girlfriend/6a453e2b01de7628582e3ef9)

### [Flattening an Array in JavaScript](https://tech-blogs-shivanshu.hashnode.dev/flattening-an-array-in-javascript?utm_source=hashnode&utm_medium=feed)

This article shows about what are nested arrays and how to flatten them in JavaScript. And how flattening array helps in using data effec

4 min read · [tech-blogs-shivanshu.hashnode.dev](https://tech-blogs-shivanshu.hashnode.dev/flattening-an-array-in-javascript?utm_source=hashnode&utm_medium=feed)

[May 7](https://hashnode.com/posts/flattening-an-array-in-javascript/69fcbda79f93a850a4ebe692)

### [JavaScript Modules:](https://tech-blogs-shivanshu.hashnode.dev/javascript-modules?utm_source=hashnode&utm_medium=feed)

This article shows the best practices to write modular and reusable code in JavaScript projects.

4 min read · [tech-blogs-shivanshu.hashnode.dev](https://tech-blogs-shivanshu.hashnode.dev/javascript-modules?utm_source=hashnode&utm_medium=feed)

[May 7](https://hashnode.com/posts/javascript-modules/69fcb3959f93a850a4e415de)

### [Linux File System Hunting](https://tech-blogs-shivanshu.hashnode.dev/linux-filesystem-hunting?utm_source=hashnode&utm_medium=feed)

Here are six rare and insightful discoveries from the Linux world. 1. /etc/nsswitch.conf What it does: The Name Service Switch configuration file. It dictates the exact order in which operating syste

5 min read · [tech-blogs-shivanshu.hashnode.dev](https://tech-blogs-shivanshu.hashnode.dev/linux-filesystem-hunting?utm_source=hashnode&utm_medium=feed)

[Apr 22](https://hashnode.com/posts/linux-filesystem-hunting/6a00cc21e3eebc2e20b54963)
