This folder contains implementation-aligned design docs for pg_llm extension version 1.1.
pg_llm is a PostgreSQL extension that exposes LLM workflows as SQL APIs:
request_idpg_llm is compiled with CMake.
cd contrib/pg_llm
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . -j
sudo cmake --install .
Then in PostgreSQL:
CREATE EXTENSION vector;
CREATE EXTENSION pg_llm;
Regression SQL tests are kept under test/sql and can be executed with installcheck from the extension directory when PGXS test environment is available.