mirror of
https://github.com/vectorize-io/hindsight.git
synced 2026-09-14 19:31:49 +08:00
7935b0accd
* fix: improve mpfp retrieval * fix: improve mpfp retrieval * fix: improve embeddings service performances * fix: improve embeddings service performances * fix: improve embeddings service performances * fix: improve embeddings service performances
21 lines
325 B
Bash
Executable File
21 lines
325 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/../.."
|
|
|
|
ENV_FILE=".env"
|
|
if [ ! -f "$ENV_FILE" ]; then
|
|
echo "Error: Environment file $ENV_FILE not found at project root."
|
|
exit 1
|
|
fi
|
|
|
|
echo "Loading environment from $ENV_FILE"
|
|
echo ""
|
|
|
|
# Export all variables from env file
|
|
set -a
|
|
source "$ENV_FILE"
|
|
set +a
|
|
|
|
uv run hindsight-api "$@"
|