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?
파일 탐색기
최종 버전 다운로드 (.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
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/jasonjmcghee/portable-hnsw
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd portable-hnsw
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Python
쉬움 추천사전 준비물
poetry install
pyproject.toml에 명시된 라이브러리를 설치합니다.
poetry run python build_index.py <path to text file> [output folder]
파이썬 스크립트(또는 모듈)를 실행합니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
