Using PostgreSQL as a vector database in RAG

Using PostgreSQL as a vector database in RAG

PostgreSQL with the pgvector extension allows tables to be used as storage for vectors, each of which is saved as a row. It also allows any number of metadata columns to be added. In an enterprise application, this hybrid capability of storing both vectors and tabular...
Using PostgreSQL as a vector database in RAG

Exception handling in Java: The basics

If you’ve ever wanted to understand how failure is represented in source code, you’ve come to the right place. In addition to an overview of Java exceptions, this article gets you started with Java’s language features for throwing objects, trying code that may fail,...
Using PostgreSQL as a vector database in RAG

Node.js adds built-in API for on-disk caching

Node.js 22.8.0, the latest release of the event-driven JavaScript runtime, adds a JavaScript API to enable on-disk caching of all modules loaded after the API is called, presenting a caching option for code. The API is called module.enable.CompileCache(). It overrides...
Using PostgreSQL as a vector database in RAG

File handling in server-side JavaScript

Working with files on the server is a perennial need for developers. Server-side JavaScript platforms like Node, Deno, and Bun offer a flexible and fairly simple approach to doing things with files. This article shows you how to use the fs library to handle the most...
Using PostgreSQL as a vector database in RAG

TypeScript 5.6 now generally available

TypeScript 5.6, the latest version of Microsoft’s strongly typed JavaScript variant, is now available as a production release. The update features capabilities that include disallowing nullish and truthy checks on syntax that never varies on nullishness or truthiness....