Documentation
¶
Overview ¶
Command postgres demonstrates amoxtli backed entirely by PostgreSQL: the document store and the hybrid index (index/postgres) share a single database. This example runs in full-text-only mode (no LLM client), so it needs only a reachable PostgreSQL with the `vector` and `unaccent` extensions available — e.g. the pgvector/pgvector Docker image.
Usage:
go run ./example/postgres "postgres://user:pass@localhost:5432/kb?sslmode=disable"
Click to show internal directories.
Click to hide internal directories.