Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying AI-Ready PostgreSQL 18
  • Table Of Contents Toc
AI-Ready PostgreSQL 18

AI-Ready PostgreSQL 18

By : Vibhor Kumar, Marc Linster
close
close
AI-Ready PostgreSQL 18

AI-Ready PostgreSQL 18

By: Vibhor Kumar, Marc Linster

Overview of this book

In today’s data-first world, businesses need applications that blend transactions, analytics, and AI to power real-time insights at scale. Mastering PostgreSQL 18 for AI-Powered Enterprise Apps is your essential guide to building intelligent, high-performance systems with the latest features of PostgreSQL 18. Through hands-on examples and expert guidance, you’ll learn to design architectures that unite OLTP and OLAP, embed AI directly into apps, and optimize for speed, scalability, and reliability. Discover how to apply cutting-edge PostgreSQL tools for real-time decisions, predictive analytics, and automation. Go beyond basics with advanced strategies trusted by industry leaders. Whether you’re building data-rich applications, internal analytics platforms, or AI-driven services, this book equips you with the patterns and insights to deliver enterprise-grade innovation. Ideal for developers, architects, and tech leads driving digital transformation, this book empowers you to lead the future of intelligent applications. Harness the power of PostgreSQL 18—and unlock the full potential of your data.
Table of Contents (28 chapters)
close
close
Lock Free Chapter
1
Part 1: Introducing PostgreSQL and Setting the Stage
5
Part 2: Creating Transactional Applications
11
Part 3: Creating Analytical Applications
18
Part 4: Using PostgreSQL as an AI Platform
27
Index

Summary

This chapter showed how to turn embeddings from an abstract AI concept into a working, production-minded capability inside PostgreSQL.

We started by reinforcing a key distinction: embeddings are specialized vectors, purpose-built to capture semantic meaning. Not every vector is an embedding, and not every embedding is useful unless it can be generated reliably and used repeatedly. To make the idea concrete, we began with the simplest possible workflow: creating an embedding with a curl call and then reproducing the same request in a minimal Python script. That early step matters because it demystifies the process: creating an embedding is not magic. It is a standard API call to a web service that returns a structured list of numbers representing meaning.

Next, we moved the embedding workflow into the database itself. By implementing api.openai_embed in PL/PythonU, PostgreSQL stopped being a passive storage engine and became an active participant in the AI lifecycle...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
AI-Ready PostgreSQL 18
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon