LangChain / pgvector /entrypoints /initdb_11.sh
dcd018's picture
Initial commit.
b88c922
Raw
History Blame Contribute Delete
171 Bytes
#!/bin/sh
set -e
# Perform all actions as $POSTGRES_USER
export PGUSER="$POSTGRES_USER"
psql --dbname="langchain" <<-EOSQL
CREATE EXTENSION IF NOT EXISTS vector;
EOSQL