mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-06-27 02:30:08 +00:00

- 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>
14 lines
327 B
YAML
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
|