Programming Brain
Programming Brain
  • Видео 26
  • Просмотров 67 874
RAG in Java — Learn the basics (no AI frameworks)
In this video, Alejandro Duarte explain how Retrieval-Augmented Generation (RAG) works and implements a Generative AI application using Java (with no frameworks), MariaDB (for vector search), and LocalAI (for embeddings and LLM chat) so you don't have to consume a web service or expose your data to third parties.
Links:
►Source code: github.com/alejandro-du/mariadb-rag-demo-java/tree/local-ai
►Source code (with Open API): github.com/alejandro-du/mariadb-rag-demo-java
►Docs: mariadb.com/kb/en/vectors/
0:00 Intro
0:13 How RAG works
1:46 Demo app
3:57 Computing vector embeddings
7:11 Storing vector embeddings
8:46 Vector search
13:50 Building the LLM prompt
16:26 Running the demo
#Programming #SQL #Java ...
Просмотров: 258

Видео

Supercharge Your App: MariaDB In-Memory Tables for Caching
Просмотров 2,6 тыс.6 месяцев назад
A short demo on how to use MariaDB's MEMORY storage engine as a cache. Links: ►Source code: gist.github.com/alejandro-du/50d1e2425269be582304de13d606a961 ►Article: programmingbrain.com/2024/08/supercharge-your-app-mariadb-in-memory-tables-as-a-cache #Programming #SQL Contact me: ►Twitter: alejandro_du ►LinkedIn: www.linkedin.com/in/alejandroduarte/ ►Website: www.programmingbrain.com...
Harry Potter's SQL 🪄 What is this Sorcery??? 😱
Просмотров 8 тыс.9 месяцев назад
Just for fun! Configuring MariaDB to understand "Harry Potter's SQL dialect". This is done with a technique called query-rewriting via the Regex filter in the MaxScale database proxy. A proper filter should replace the keywords more accurately (for example, it shouldn't replace values in strings), but it demostrates the feature. Links: ►Documentation for the Regex filter: mariadb.com/kb/en/mari...
Talk - The Open Source Evolution #talk #opensource #consultant #it #software #growth #innovation
Просмотров 1,8 тыс.10 месяцев назад
If you are interested in booking a session with me, let me know in the comments or contact me at programmingbrain.com/contact/ Sessions in English 🇬🇧 and Spanish 🇪🇸 available.
From SQUARE to SQL - 🧑🏻‍💻 The History of Relational Databases #MariaDB #MySQL #programming
Просмотров 4,4 тыс.11 месяцев назад
SQUARE is the direct predecessor of SQL. Remove the vowels in SQUARE and you get SQL! Learn about this and more in this short excerpt from my talk "The MariaDB Evolution".
What is MariaDB?
Просмотров 4,1 тыс.Год назад
What is MariaDB?
Why is Programmer's Day celebrated on Sep 13? (ASMR - No Talk)
Просмотров 1 тыс.Год назад
Why is Programmer's Day celebrated on Sep 13? (ASMR - No Talk)
A Banana Pi M2 Zero cluster running MariaDB
Просмотров 2,2 тыс.2 года назад
A Banana Pi M2 Zero cluster running MariaDB
Select random rows with SQL (No Talk)
Просмотров 2 тыс.2 года назад
Select random rows with SQL (No Talk)
Database connection and thread pools in Java
Просмотров 5 тыс.3 года назад
Database connection and thread pools in Java
How to test an app for Log4j vulnerability (CVE-2021-44228)
Просмотров 3,4 тыс.3 года назад
How to test an app for Log4j vulnerability (CVE-2021-44228)