Documentation / 01
From delivery
to your first query.
Deploy in your own environment with the supplied image, signed license and native vectorhood command.
Start with your delivery
Extract your deployment archive for the deployment host's operating system and CPU, then open a terminal in that directory. The archive includes the installer, CLI, release settings and signed license. Your image is included as an archive or supplied through a registry.
Need a deployment bundle? Contact [email protected] with your target environment.
Use the delivered license and verifier configuration. There is no signing-key generation step in customer deployment.
Route 01
Local Docker host
Install and start Docker with Compose v2, then run:
sh install.sh
vectorhood statusThe installer loads or pulls your image, verifies the license, prepares persistent configuration and starts the services. It installs the CLI into a writable directory on your PATH, or prints the one-time PATH change needed.
The local query endpoint is 127.0.0.1:50051; feed is 127.0.0.1:50052. The CLI uses them automatically. Initial search readiness can follow container startup.
Embedding dimension and image options
The default embedding dimension is 1024. Choose it before loading data. A different dimension requires a new collection and matching embeddings.
sh install.sh --dimension 768
sh install.sh --image REGISTRY/vectorhood@sha256:DIGESTUse --bin-dir to choose an existing directory on PATH. Use vectorhood --help for installation and connection overrides.
Route 02
Your AWS account
Prepare Docker, Terraform, AWS CLI and the AWS Session Manager plugin. Authenticate a profile authorized for your deployment and review the resources and costs in the Terraform plan.
sh install.sh --target aws --profile your-profile --region us-east-1
vectorhood connectThe installer prepares the supplied image and license in your account before applying the reviewed infrastructure plan. connect opens SSM tunnels for the CLI. Keep that process running, and run vectorhood status in another terminal.
Retain the installation directory and Terraform state. They identify your deployment and are needed for subsequent changes and teardown. Each installation is bound to its AWS account; use a separate installation home for another cluster.
Review infrastructure changes
vectorhood plan
vectorhood plan --applyReview every plan before applying. Runtime readiness commands inspect the service; they do not provision machines. Scale infrastructure through your deployment configuration.
Verify the runtime CPU path
From v0.1.2, amd64 customer images automatically select an optimized server on compatible CPUs and operating systems, with a compatible fallback for other supported hosts. Keep the supplied image entrypoint and use the immutable image reference from your delivery.
On each Docker deployment host, or through an SSM session on each AWS service instance, run:
docker run --rm --network none REGISTRY/vectorhood@sha256:DIGEST build-infoCompatible amd64 hosts report selected_cpu_target: x86-64-v3 and true avx2, fma and f16c compiled features. Arm64 and older x86-64 hosts use their compatible server path. Record the version, image digest and CPU report with your performance measurements. This command belongs to the server image, separate from the installed customer CLI.
Feed embedded documents
Vectorhood accepts your model's vectors; it does not create embeddings from raw text. Each parent-document request contains all of its segments. Keep document IDs stable for whole-document replacement.
vectorhood feed documents.jsonl
vectorhood progress --wait --timeout 600Feed acknowledgement means durable acceptance. Indexing, publication and activation happen afterwards. A bounded progress wait helps distinguish acceptance from search readiness.
A small, runnable format example (dimension 3)
Use a separate scratch installation created with sh install.sh --dimension 3 for these short vectors. They do not fit the default 1024-dimensional installation.
{"id":"example","segments":[{"vector":[1,0,0],"text":"An example document"}]}Save the line above as documents.jsonl. Save this line as queries.jsonl:
{"vector":[1,0,0]}vectorhood feed documents.jsonl
vectorhood progress --wait --timeout 600
vectorhood query queries.jsonl --k 10For quoted constraints, supply the original full parent_text with the document. A phrase can span segment boundaries; concatenating chunk text is not a substitute for the original parent text. Constraint evaluation applies to the parent; results are ranked chunks.
Query and update
vectorhood query queries.jsonl --k 10
cat documents.jsonl | vectorhood feedQueries use vectors of the configured dimension. Both feed and query accept JSONL on standard input. Feed reserves increasing versions in the installation directory; use --version-offset only when coordinating with other writers. An upsert replaces the parent document with the same ID.