website/blog: add in base.pg.hcl notes (#4413)

This commit is contained in:
Nathan Trujillo
2025-07-10 23:08:07 -07:00
committed by GitHub
parent 51e185459a
commit 0940edf5d9

View File

@@ -182,7 +182,18 @@ using the statements in [this file](https://github.com/rotemtam/entrag/blob/e917
:::
Now, let's create our Atlas configuration which composes the `base.pg.hcl` file with the Ent schema:
Now, let's create our base configuration `base.pg.hcl` which provides the vector extension for the public schema:
```hcl title="base.pg.hcl"
schema "public" {
}
extension "vector" {
schema = schema.public
}
```
Now, let's create our Atlas configuration which composes the base.pg.hcl file with the Ent schema:
```hcl title="atlas.hcl"
data "composite_schema" "schema" {
@@ -817,4 +828,4 @@ managing and modifying the query execution process.
In this blog post, we explored how to build a RAG system using Ent, Atlas, and pgvector. Special thanks to
[Eli Bendersky](https://eli.thegreenplace.net/2023/retrieval-augmented-generation-in-go/) for the informative
blog post and for his great Go writing over the years!
blog post and for his great Go writing over the years!