portable-hnsw
What if an HNSW index was just a file, and you could serve it from a CDN, and search it directly in the browser?
File Explorer
Download Latest Version (.zip)- docs.parquet
- edges.parquet
- nodes.parquet
- docs.parquet
- edges.parquet
- frankenstein.txt
- nodes.parquet
- docs.parquet
- edges.parquet
- nodes.parquet
- build_index.py
- index.html
- jason.css
- LICENSE
- poetry.lock
- pyproject.toml
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/jasonjmcghee/portable-hnsw
Downloads the entire project code from GitHub to your computer.
cd portable-hnsw
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
poetry install
Installs the libraries listed in pyproject.toml.
poetry run python build_index.py <path to text file> [output folder]
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
