unstructured/scripts/sql-test-helpers/docker-compose-pgvector.yaml
rvztz 950e5d68f9
feat: adds postgresql/sqlite destination connector (#2005)
- Adds a destination connector to upload processed output into a
PostgreSQL/Sqlite database instance.
- Users are responsible to provide their instances. This PR includes a
couple of configuration examples.
- Defines the scripts required to setup a PostgreSQL instance with the
unstructured elements schema.
- Validates postgres/pgvector embedding storage and retrieval

---------

Co-authored-by: potter-potter <david.potter@gmail.com>
2024-01-04 19:33:16 +00:00

14 lines
327 B
YAML

services:
pgvector:
image: ankane/pgvector
restart: always
container_name: pgvector_dest
ports:
- 5433:5432
environment:
POSTGRES_DB: elements
POSTGRES_USER: unstructured
POSTGRES_PASSWORD: test
volumes:
- ./create-pgvector-schema.sql:/docker-entrypoint-initdb.d/init.sql