Avi Chawla
Search documents
X @Avi Chawla
Avi Chawla· 2025-11-18 06:31
LLM Security Challenges - LLMs face adversarial attacks via prompts, requiring focus on security beyond correctness, faithfulness, and factual accuracy [1] - A well-crafted prompt can lead to PII leakage, bypassing safety filters, and generating harmful content [2] - Red teaming is core to model development, demanding SOTA adversarial strategies like prompt injections and jailbreaking [2] Red Teaming and Vulnerability Detection - Evaluating LLM responses against PII leakage, bias, toxic outputs, unauthorized access, and harmful content generation is crucial [3] - Single-turn and multi-turn chatbots require different tests, focusing on immediate jailbreaks versus conversational grooming, respectively [3] - DeepTeam, an open-source framework, performs end-to-end LLM red teaming, detecting 40+ vulnerabilities and simulating 10+ attack methods [4][6] DeepTeam Framework Features - DeepTeam automatically generates prompts to detect specified vulnerabilities and produces detailed reports [5] - The framework implements SOTA red teaming techniques and offers guardrails to prevent issues in production [5] - DeepTeam dynamically simulates adversarial attacks at run-time based on specified vulnerabilities, eliminating the need for datasets [6] Core Insight - LLM security is a red teaming problem, not a benchmarking problem; thinking like an attacker from day one is essential [6]
X @Avi Chawla
Avi Chawla· 2025-11-17 19:32
RT Avi Chawla (@_avichawla)30 Agentic AI terms AI engineers should know: https://t.co/uOnNZEXsu0 ...
X @Avi Chawla
Avi Chawla· 2025-11-17 06:31
30 Agentic AI terms AI engineers should know: https://t.co/uOnNZEXsu0 ...
X @Avi Chawla
Avi Chawla· 2025-11-16 19:15
RT Avi Chawla (@_avichawla)RAG vs. Graph RAG, explained visually!RAG has many issues.For instance, imagine you want to summarize a biography, and each chapter of the document covers a specific accomplishment of a person (P).This is difficult with naive RAG since it only retrieves the top-k relevant chunks, but this task needs the full context.Graph RAG solves this.The following visual depicts how it differs from naive RAG.The core idea is to:- Create a graph (entities & relationships) from documents.- Trave ...
X @Avi Chawla
Avi Chawla· 2025-11-16 12:39
If you found it insightful, reshare it with your network.Find me → @_avichawlaEvery day, I share tutorials and insights on DS, ML, LLMs, and RAGs. https://t.co/CVUW8FVKgjAvi Chawla (@_avichawla):RAG vs. Graph RAG, explained visually!RAG has many issues.For instance, imagine you want to summarize a biography, and each chapter of the document covers a specific accomplishment of a person (P).This is difficult with naive RAG since it only retrieves the top-k relevant https://t.co/Ad5ztdo7Lz ...
X @Avi Chawla
Avi Chawla· 2025-11-16 06:31
Technology & Software Development - Graph RAG is presented as a practical example for RAG over code, addressing limitations of naive chunking in handling codebases with long-range dependencies [1] - Graph-Code, a graph-driven RAG system, is introduced for analyzing Python codebases and enabling natural language querying [1] - Graph-Code extracts classes, functions, and relationships from code through deep code parsing [1] - Memgraph is utilized to store the codebase as a graph within the Graph-Code system [1] - Graph-Code parses pyproject files to understand external dependencies [1] - The system retrieves actual source code snippets for found functions [1]
X @Avi Chawla
Avi Chawla· 2025-11-15 19:12
RT Avi Chawla (@_avichawla)How to build a RAG app on AWS!The visual below shows the exact flow of how a simple RAG system works inside AWS, using services you already know.At its core, RAG is a two-stage pattern:- Ingestion (prepare knowledge)- Querying (use knowledge)Below is how each stage works in practice.> Ingestion: Turning raw data into searchable knowledge- Your documents live in S3 or any internal data source.- Whenever something new is added, a Lambda ingestion function kicks in.- It cleans, proce ...
X @Avi Chawla
Avi Chawla· 2025-11-15 12:22
If you found it insightful, reshare it with your network.Find me → @_avichawlaEvery day, I share tutorials and insights on DS, ML, LLMs, and RAGs. https://t.co/pxlp7JJJ4VAvi Chawla (@_avichawla):How to build a RAG app on AWS!The visual below shows the exact flow of how a simple RAG system works inside AWS, using services you already know.At its core, RAG is a two-stage pattern:- Ingestion (prepare knowledge)- Querying (use knowledge)Below is how each stage works https://t.co/YcTgvXbJlb ...
X @Avi Chawla
Avi Chawla· 2025-11-15 06:31
8 RAG architectures all AI Engineers should know: https://t.co/InQh2mJxO3 ...
X @Avi Chawla
Avi Chawla· 2025-11-14 19:15
Agent Protocol Landscape - The industry is moving towards interoperability through three open protocols for agentic frameworks [1] - These protocols create a universal language for agents, enabling different frameworks to work together [3] Key Protocols - AG-UI (Agent-User Interaction) facilitates bidirectional communication between agent backends and frontends, enabling interactive agent experiences within applications [1][2] - A2A (Agent-to-Agent) is a protocol for multi-agent coordination, task delegation, and intent sharing across systems [3][5] - MCP (Model Context Protocol) is the standard for agents connecting to tools, data, and workflows [5] Interoperability and Integration - Protocols eliminate the need for point-to-point integrations, allowing developers to build to protocols instead [3] - Frameworks like LangGraph, CrewAI, and Agno can be integrated into the same frontend without rewriting UI logic [3] - CopilotKit unifies the entire stack into one framework, simplifying the implementation of these protocols [4] Example Workflow - A LangGraph agent retrieves data via MCP, delegates analysis to a CrewAI agent via A2A, and streams results to a React app via AG-UI [6]