Skip to content
Coding
Data & AI

Creating AI Applications with Postgres: From Semantic Search to Database-Driven Chatbots

AI applications are increasingly important for driving innovation, improving customer service, and accelerating business decision-making. As organisations seek to combine structured data with large language models, there is growing demand for professionals who can design robust, database-driven AI systems.


Designed for experienced developers, architects, and technical decision-makers, this advanced course guides learners through the full process of building an AI application with Postgres. Participants will develop a data model, integrate a PostgreSQL database with an externally hosted large language model (LLM), and combine conventional SQL queries with vector-based retrieval techniques. By the end of the course, learners will have built a working proof of concept for each stage of the process and will be able to identify the technical requirements for developing effective AI applications.

Content

Session 1

- Quick recap of PostgreSQL fundamentals required for the course:

  - Data concepts: tables, rows, columns, data types, operators, and indexes

  - SQL query concepts: SELECT, UPDATE, INSERT, DELETE, and common table expressions

  - Stored procedures: PL/pgSQL and PL/Python

- Differences between AI applications and conventional database applications


Session 2

- Vectors and embeddings as the building blocks of AI applications


Session 3

- Integrating databases and large language models to generate embeddings

- Semantic search as a core building block for AI applications


Session 4

- Combining semantic search with SQL retrieval


Session 5

- Building a working AI chatbot by adding chat completion

Learning Outcomes

At the end of the training, learners will be able to

- design a simple AI application that integrates a PostgreSQL database with a large language model

- generate and use embeddings in Postgres for vector-based retrieval

- implement a semantic search engine using relational database content

- combine SQL retrieval with semantic search in a database-driven AI workflow

- build a chatbot that answers natural-language questions using relational database content

Training Method

The course uses lectures, real-world examples, practical exercises, and project-based learning. Learners work hands-on with their own PostgreSQL database to model data, connect to a large language model, generate embeddings, and implement an AI application.

Certification
Certificate of Participation
Prerequisites

Participants should have completed the DLH course “Advanced SQL with Postgres” or have equivalent professional experience with PostgreSQL, SQL, and stored procedures. A basic understanding of Python, or another programming language, is recommended.


Planning and location
Session 1
15/06/2026 - Monday
14:00 - 17:00
Session 2
16/06/2026 - Tuesday
14:00 - 17:00
Session 3
17/06/2026 - Wednesday
14:00 - 17:00
Session 4
18/06/2026 - Thursday
14:00 - 17:00
Session 5
19/06/2026 - Friday
14:00 - 17:00
Available Edition(s):

https://www.dlh.lu/web/image/product.template/2720/image_1920?unique=8776f69

This combination does not exist.

60.00 € 60.0 EUR 60.00 €

60.00 €

Not Available For Sale

Your trainer(s) for this course
Marc Linster
Marc Linster
See trainer's courses.

Marc was the CTO of EnterpriseDB, a leading contributor to the open source database Postgres. Marc holds a Ph.D. (Dr. rer. nat.) in Computer Science from the University of Kaiserslautern. Marc loves data and databases and had the opportunity to work with leading companies in the US, Canada, Germany. https://www.linkedin.com/in/marclinster/