Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ env-*
.coverage
htmlcov/
*.html
vdb_benchmark/vdbbench/benchmark/results/*

# OS files
.DS_Store
Expand Down
22 changes: 12 additions & 10 deletions vdb_benchmark/README.md
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add either requirements.txt or dependency update in storage/pyproject.toml for the new optional dependencies (elasticsearch, psycopg2-binary, pgvector, python-dotenv)? The existing pyproject.toml for now only lists pymilvus. This can be added as optional deps.

Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,18 @@ pip3 install -e ./
## Deploying a Standalone Milvus Instance

Stand-alone instances are available via Docker containers in the stacks directory.
> stacks
> └── milvus
> ├── cluster
> └── standalone
> ├── minio
> │   ├── .env.example
> │   └── docker-compose.yml
> └── s3
> ├── .env.example
> └── docker-compose-s3.yml
```
stacks
└── milvus
├── cluster
└── standalone
├── minio
│   ├── .env.example
│   └── docker-compose.yml
└── s3
├── .env.example
└── docker-compose-s3.yml
```

For each specific instance, copy the `.env.example` file to `.env` and update the values as needed.
```bash
Expand Down
37 changes: 37 additions & 0 deletions vdb_benchmark/vdbbench/benchmark/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# VDB Benchmark -- backend connection parameters
# ================================================
#
# Copy this file to .env and uncomment / edit the values you need.
# The benchmark CLI loads this file automatically (requires python-dotenv).
#
# Naming convention:
# {BACKEND}__{PARAM}
#
# Both parts are UPPER-CASED and separated by a double underscore (__).
# The PARAM name matches the backend's connection_params (see --help).
#
# Precedence (highest wins):
# CLI flags > environment / .env > YAML config > built-in defaults
#
# To verify which source each parameter comes from, run:
# python -m vdbbench.benchmark --backend milvus --config ... --what-if


# ── Milvus ────────────────────────────────────────────────────────
# MILVUS__HOST=127.0.0.1
# MILVUS__PORT=19530
# MILVUS__MAX_MESSAGE_LENGTH=514983574


# ── pgvector (PostgreSQL) ─────────────────────────────────────────
# PGVECTOR__HOST=127.0.0.1
# PGVECTOR__PORT=5432
# PGVECTOR__DBNAME=postgres
# PGVECTOR__USER=postgres
# PGVECTOR__PASSWORD=


# ── Elasticsearch ─────────────────────────────────────────────────
# ELASTICSEARCH__HOST=http://localhost:9200
# ELASTICSEARCH__API_KEY=
# ELASTICSEARCH__CLOUD_ID=
Loading
Loading