Semantic Similarity
Search documents
X @Avi Chawla
Avi Chawla· 2026-01-23 18:30
RT Avi Chawla (@_avichawla)Researchers built a new RAG approach that:- does not need a vector DB.- does not embed data.- involves no chunking.- performs no similarity search.And it hit 98.7% accuracy on a financial benchmark (SOTA).Here's the core problem with RAG that this new approach solves:Traditional RAG chunks documents, embeds them into vectors, and retrieves based on semantic similarity.But similarity ≠ relevance.When you ask "What were the debt trends in 2023?", a vector search returns chunks that ...
Stop Using RAG as Memory — Daniel Chalef, Zep
AI Engineer· 2025-07-22 16:00
Problem Statement & Solution - Current memory frameworks struggle with relevance, leading to inaccurate responses or hallucinations due to the storage of arbitrary facts [3][4][5] - Semantic similarity does not equate to business relevance, as vector databases lack causal or relational understanding [7] - The industry needs domain-aware memory solutions instead of relying solely on better semantic search [8] - Zep offers a solution by enabling developers to model memory after their specific business domain, creating more cogent and capable memory [1][2] Zep's Implementation & Features - Zep allows developers to define custom entities and edges within its graph framework, tailoring memory to specific business objects [1][9] - Developers can use Pydantic, Zod, or Go structs to define business rules for these entities and their fields [9][10] - Zep's SDK allows defining entity types with descriptions and business rules for fields, enabling precise control over data stored [10] - Zep allows building tools for agents to retrieve financial snapshots by running multiple searches concurrently and filtering by specific node types [10][11] - Zep's front end provides a knowledge graph visualization, allowing users to see the relationships and fields defined for each entity [12] Demonstration & Use Case - A finance coach application demonstrates Zep's ability to store explicit business objects like financial goals, debts, and income sources [8][9] - The application captures relevant information, such as a $5,000 monthly rent, and stores it as a debt account entity with defined fields [11][12]