This chapter covers the core features and capabilities of Vector Search Setup.
# Run the interactive demo with built-in sample data
python src/vector_search_setup.py --demo
# Build an index from a JSONL file
python src/vector_search_setup.py --build-index data.jsonl --output my_index.json
# Query an existing index
python src/vector_search_setup.py --query "machine learning algorithms" --index my_index.json --top-k 5
# Run performance benchmark
python src/vector_search_setup.py --benchmark --dim 128 --num-vectors 5000Follow this guide to get Vector Search Setup up and running in your environment.
vector-search-setup/
├── README.md
├── LICENSE
├── src/
│ └── vector_search_setup.py # Core engine (~400 lines)
└── examples/
├── basic_usage.py # Programmatic usage example
└── sample_documents.jsonl # Sample data for index building
| Flag | Description |
|---|---|
--demo | Run demo with built-in sample data |
--build-index FILE | Build index from JSONL file |
--output FILE | Output path for built index (default: index.json) |
--query TEXT | Search query text |
--index FILE | Path to a saved index file |
--top-k N | Number of results (default: 5) |
--exact | Use exact (brute force) search |
--benchmark | Run performance benchmark |
--dim N | Vector dimension for benchmark (default: 64) |
--num-vectors N | Number of vectors for benchmark (default: 1000) |
Get the full Vector Search Setup and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.