Skip to content

Conversation

@Denise2004
Copy link
Contributor

Add CLI Support for Elastic Cloud

Summary

Adds command-line interface (CLI) support for Elastic Cloud, enabling users to run VectorDBBench tests via CLI commands for different Elastic Cloud index types.

Changes

  • New file: vectordb_bench/backend/clients/elastic_cloud/cli.py
    • Implemented four CLI commands:
      ElasticCloudHNSW - Standard HNSW index
      ElasticCloudHNSWInt8 - HNSW with Int8 quantization
      ElasticCloudHNSWInt4 - HNSW with Int4 quantization
      ElasticCloudHNSWBBQ - HNSW with BBQ quantization
  • Modified: vectordb_bench/cli/vectordbbench.py
    • Imported and registered the four Elastic Cloud CLI commands. Commands are now available in the main CLI interface

Copy link
Contributor

@alwayslove2013 alwayslove2013 left a comment

Choose a reason for hiding this comment

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

nice work~

@sre-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: alwayslove2013, Denise2004
To complete the pull request process, please assign xuanyang-cn after the PR has been reviewed.
You can assign the PR to them by writing /assign @xuanyang-cn in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@alwayslove2013
Copy link
Contributor

@Denise2004, there are still some lint issues. Please fix it, and we will merge it~

pip install black ruff --upgrade
make format
make lint

@alwayslove2013
Copy link
Contributor

@Denise2004, I was wondering if you could prepare some examples for the README. I believe that would be a big help to users.
like command line, yml

@Denise2004 Denise2004 closed this Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants