AI Assistant Configuration
Vector Database Service
Please contact the after-sales service to obtain the deployment script.
Start Service
bash
bash deploy.sh -m start
# When you see "start success", the service is started normally.
Stop Service
bash
bash deploy.sh -m stop
Stop Service (Clean Containers)
bash
bash deploy.sh -m down
Check Running Status
bash
bash deploy.sh -m status
Change HENGSHI Service Configuration (Requires Restarting HENGSHI Service)
Modify the /opt/hengshi/conf/hengshi-sense-env.sh file
Uncomment the VECTOR_DB_URL
and VECTOR_ENDPOINT
variables
bash
export VECTOR_DB_URL="jdbc:postgresql://localhost:54321/postgres?user=postgres&password=postgres&useUnicode=true&characterEncoding=utf8"
export VECTOR_ENDPOINT="http://localhost:3000/v1/embeddings"
Note:
The default connection address is localhost. If this service is not on the same machine as HENGSHI, please modify it to the IP of the machine where the service is deployed.