Download pgvector/entrypoints/initdb_11.sh from Housable/LangChain: direct link, hf CLI and curl.
- Browser
- Download file 171 Bytes
-
https://huggingface.co/spaces/Housable/LangChain/resolve/main/pgvector/entrypoints/initdb_11.sh
- Command line
-
hf download hf://spaces/Housable/LangChain/pgvector/entrypoints/initdb_11.sh
-
curl -L -o initdb_11.sh https://huggingface.co/spaces/Housable/LangChain/resolve/main/pgvector/entrypoints/initdb_11.sh
171 Bytes
| set -e | |
| # Perform all actions as $POSTGRES_USER | |
| export PGUSER="$POSTGRES_USER" | |
| psql --dbname="langchain" <<-EOSQL | |
| CREATE EXTENSION IF NOT EXISTS vector; | |
| EOSQL |