SShortSingh.
Back to feed

NodeRAG Retrieves Whole Notes, Not Chunks, Using Local Embeddings and Hybrid Search

0
·1 views

A developer has detailed the retrieval half of a personal knowledge system called NodeRAG, which stores notes as plain markdown files and indexes them using a locally run embedding model called nomic-embed-text via Ollama. Unlike standard retrieval-augmented generation systems that split documents into smaller chunks before embedding, NodeRAG treats each self-contained note as a single unit for both indexing and retrieval. The system uses a SQLite database with the vec0 extension for vector search ranked by cosine similarity, paired with a separate full-text index to handle exact keyword queries that dense retrieval often misses. Fusing these two retrieval arms — dense vector search and keyword-based full-text search — yielded measurable recall improvements on a public benchmark dataset. The entire system occupies just 94MB on disk, requires no external API calls, and is designed to be fully inspectable by the user without relying on opaque infrastructure.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

AWS Guide: Replace Hardcoded RDS Credentials in Lambda with IAM Token Auth

A technical guide published on DEV Community outlines how AWS developers can eliminate static database passwords from Lambda functions by using IAM authentication with RDS Proxy. Instead of storing plaintext credentials in environment variables, Lambda generates a temporary IAM token via boto3 that is valid for 15 minutes and used as the database password. The setup requires enabling IAM authentication on both the RDS instance and RDS Proxy, creating a MySQL user tied to AWS's AWSAuthenticationPlugin, and attaching an rds-db:connect IAM policy to the Lambda execution role. This approach removes the risk of credential leaks through misconfigured policies, accidental log exposure, or compromised deployment artifacts. The method leverages the same IAM mechanism already standard across AWS services, eliminating the need for manual secret rotation.

0
ProgrammingDEV Community ·

agent-usage 0.10.0 Adds Per-Agent, Model, and Billing Charts to Local Dashboard

Version 0.10.0 of agent-usage, an open-source local dashboard for AI coding tools, is now available on npm. The update introduces usage charts broken down by individual agent, billing domain, and model, giving developers a clearer view of where their quota and spending go. Supported tools include Codex, Claude Code, OpenCode, and Grok, among others. The package can be installed globally via npm and runs on macOS with Node 24 or higher under an MIT license. A Cursor connector is included but remains experimental, while a planned menubar feature has not yet shipped.

0
ProgrammingDEV Community ·

AI Speeds Up Shipping, But Experts Warn Trust Has Become the Real Differentiator

A PS5 Linux kernel maintainer recently resigned, citing frustration with developers using AI language models to contribute code they did not fully understand — a incident that sparked widespread debate on Hacker News. The episode has reignited concerns about whether the rapid adoption of AI tools is eroding professional standards in software and product development. Industry observers argue that while AI has made generating content and code nearly costless, it has not reduced the cost of establishing trust with buyers or users. Businesses that document what AI produced, what was verified, and how errors were caught are seen as better positioned to stand out in crowded markets. The emerging view is that human judgment — knowing what not to ship — is now the scarce, premium skill in an era of near-unlimited AI-generated output.

0
ProgrammingDEV Community ·

How One Software Firm Ditched Hourly Billing and Rebuilt Client Trust With 4 Rules

AnyPlace founder and software architect describes how recurring budget overruns and client dissatisfaction led him to ban hourly retainer billing at his firm. The company instead adopted four engineering rules across 50-plus builds, including weekly sprint demos with live working code delivered directly into client-owned repositories. A mandatory discovery phase produces a fixed-scope architectural document, making any mid-project changes explicit business decisions rather than silent budget creep. All code, cloud infrastructure, and CI/CD pipelines are provisioned inside the client's own accounts, eliminating vendor lock-in from the outset. The firm argues that giving clients full ownership and continuous visibility paradoxically increases retention, because dependable delivery removes the motivation to leave.