Skip to main content

Quickstart

This quickstart gets you from an API key to a searchable VectorAmp dataset. By the end, you will have:

  • created a dataset backed by SABLE,
  • added searchable text,
  • run semantic search,
  • asked a cited question,
  • and seen where to plug in real ingestion sources.
Best first run

Use a small real document set as soon as possible: one policy, one product doc, one contract excerpt, or one support article. VectorAmp’s strengths — citations, filters, hybrid search, and governed scoping — show up much better on real knowledge than on toy strings.

Prerequisites

You need:

info

The examples below use placeholder IDs such as ds_123. Use the dataset ID returned by your own account.

1. Configure credentials

export VECTORAMP_API_KEY=vsk_<64hex>
export VECTORAMP_BASE_URL=https://api.vectoramp.com

Or store credentials locally:

vectoramp config set --api-key vsk_<64hex>
vectoramp config set --base-url https://api.vectoramp.com

2. Create a dataset

A dataset is the retrieval boundary your application queries. It owns vectors, metadata, index configuration, and search behavior. For most first runs, only the name is required.

vectoramp datasets create product-docs
vectoramp config use ds_123
tip

VectorAmp defaults to the managed VectorAmp-Embedding-4B embedding model, infers the embedding dimension, uses cosine similarity, and indexes with SABLE. Use OpenAI or hybrid search when your workload needs those tradeoffs.

3. Add searchable content

For the smallest possible test, add text directly. For production, prefer ingestion sources and jobs so parsing, chunking, embedding, retries, and audit trails are handled consistently.

vectoramp --dataset ds_123 datasets add-texts \
"SABLE is VectorAmp's filter-aware vector index for governed retrieval."

vectoramp --dataset ds_123 datasets add-texts \
"VectorAmp returns cited answers grounded in retrieved source context."

4. Search the dataset

Search is the lowest-level retrieval primitive. Use it when your application wants ranked chunks, documents, or metadata and will handle the final UI or model prompt itself.

vectoramp --dataset ds_123 datasets search \
"What makes VectorAmp useful for governed retrieval?" \
--top-k 5

5. Ask a cited question

Use ask when you want VectorAmp to retrieve evidence and produce an answer grounded in that evidence.

vectoramp --dataset ds_123 datasets ask \
"Why is SABLE important?" \
--stream

6. Add filters before you ship

Real retrieval almost always needs scope. Add metadata when you ingest content so searches can enforce boundaries such as tenant, customer, source, role, document type, region, version, or timestamp.

Example filter intent:

{
"tenant_id": "org_123",
"doc_type": "policy",
"visibility": "internal",
"region": "us"
}

Use filters when you are building:

  • multi-tenant SaaS search,
  • role-scoped internal knowledge bases,
  • support tools scoped to one customer,
  • compliance assistants restricted to approved policy sources,
  • agent tools that must not retrieve outside their allowed context.

7. Move from sample text to ingestion

After the first successful search, switch to an ingestion path:

Validate your first dataset

Before you call the quickstart “done,” check:

  • Search returns the source text you expect for obvious questions.
  • Cited answers include evidence, not just fluent prose.
  • Metadata appears on results and can be used for filtering.
  • A query outside the content’s scope returns no result or a low-confidence answer.
  • The dataset name, API key, and environment match the app you are testing.

Next steps