├── .eslintrc.json ├── .github └── workflows │ ├── release.yml │ └── test.yml ├── .gitignore ├── .idea ├── .gitignore ├── aws.xml ├── codeStyles │ ├── Project.xml │ └── codeStyleConfig.xml ├── inspectionProfiles │ └── Project_Default.xml ├── jsLibraryMappings.xml ├── jsLinters │ └── eslint.xml ├── modules.xml ├── prettier.xml ├── repo-refactor.iml └── vcs.xml ├── .prettierignore ├── .prettierrc ├── README.md ├── hnswlib ├── ALGO_PARAMS.md ├── CMakeLists.txt ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── TESTING_RECALL.md ├── examples │ ├── cpp │ │ ├── EXAMPLES.md │ │ ├── example_filter.ts │ │ ├── example_mt_filter.ts │ │ ├── example_mt_replace_deleted.ts │ │ ├── example_mt_search.ts │ │ ├── example_replace_deleted.ts │ │ └── example_search.ts │ └── python │ │ ├── EXAMPLES.md │ │ ├── example.py │ │ ├── example_filter.py │ │ ├── example_replace_deleted.py │ │ ├── example_search.py │ │ ├── example_serialization.py │ │ └── pyw_hnswlib.py ├── hnswlib │ ├── bruteforce.h │ ├── bruteforce.ts │ ├── hnswalg.h │ ├── hnswalg.ts │ ├── hnswlib.h │ ├── hnswlib.ts │ ├── space_ip.h │ ├── space_ip.ts │ ├── space_l2.h │ ├── space_l2.ts │ ├── visited_list_pool.h │ └── visited_list_pool.ts ├── pyproject.toml ├── python_bindings │ ├── LazyIndex.py │ ├── __init__.py │ ├── bindings.ts │ └── setup.py ├── setup.py └── tests │ ├── cpp │ ├── download_bigann.py │ ├── main.ts │ ├── multiThreadLoad_test.ts │ ├── multiThread_replace_test.ts │ ├── searchKnnCloserFirst_test.ts │ ├── searchKnnWithFilter_test.ts │ ├── sift_1b.ts │ ├── sift_test.ts │ ├── update_gen_data.py │ └── updates_test.ts │ └── python │ ├── bindings_test.py │ ├── bindings_test_filter.py │ ├── bindings_test_getdata.py │ ├── bindings_test_labels.py │ ├── bindings_test_metadata.py │ ├── bindings_test_pickle.py │ ├── bindings_test_recall.py │ ├── bindings_test_replace.py │ ├── bindings_test_resize.py │ ├── bindings_test_spaces.py │ ├── bindings_test_stress_mt_replace.py │ ├── git_tester.py │ └── speedtest.py ├── img.png ├── package.json ├── src ├── index.ts ├── langs │ └── javascript.ts ├── lib │ ├── git.ts │ ├── langs.ts │ └── openai.ts ├── log.ts └── refactor.ts ├── tsconfig.json └── yarn.lock /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/aws.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/.idea/aws.xml -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/.idea/codeStyles/Project.xml -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/.idea/codeStyles/codeStyleConfig.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/jsLibraryMappings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/.idea/jsLibraryMappings.xml -------------------------------------------------------------------------------- /.idea/jsLinters/eslint.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/.idea/jsLinters/eslint.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/prettier.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/.idea/prettier.xml -------------------------------------------------------------------------------- /.idea/repo-refactor.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/.idea/repo-refactor.iml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | coverage 2 | dist 3 | node_modules 4 | test/__snapshots__ -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/README.md -------------------------------------------------------------------------------- /hnswlib/ALGO_PARAMS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/ALGO_PARAMS.md -------------------------------------------------------------------------------- /hnswlib/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/CMakeLists.txt -------------------------------------------------------------------------------- /hnswlib/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/LICENSE -------------------------------------------------------------------------------- /hnswlib/MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/MANIFEST.in -------------------------------------------------------------------------------- /hnswlib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/Makefile -------------------------------------------------------------------------------- /hnswlib/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/README.md -------------------------------------------------------------------------------- /hnswlib/TESTING_RECALL.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/TESTING_RECALL.md -------------------------------------------------------------------------------- /hnswlib/examples/cpp/EXAMPLES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/examples/cpp/EXAMPLES.md -------------------------------------------------------------------------------- /hnswlib/examples/cpp/example_filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/examples/cpp/example_filter.ts -------------------------------------------------------------------------------- /hnswlib/examples/cpp/example_mt_filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/examples/cpp/example_mt_filter.ts -------------------------------------------------------------------------------- /hnswlib/examples/cpp/example_mt_replace_deleted.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/examples/cpp/example_mt_replace_deleted.ts -------------------------------------------------------------------------------- /hnswlib/examples/cpp/example_mt_search.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/examples/cpp/example_mt_search.ts -------------------------------------------------------------------------------- /hnswlib/examples/cpp/example_replace_deleted.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/examples/cpp/example_replace_deleted.ts -------------------------------------------------------------------------------- /hnswlib/examples/cpp/example_search.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/examples/cpp/example_search.ts -------------------------------------------------------------------------------- /hnswlib/examples/python/EXAMPLES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/examples/python/EXAMPLES.md -------------------------------------------------------------------------------- /hnswlib/examples/python/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/examples/python/example.py -------------------------------------------------------------------------------- /hnswlib/examples/python/example_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/examples/python/example_filter.py -------------------------------------------------------------------------------- /hnswlib/examples/python/example_replace_deleted.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/examples/python/example_replace_deleted.py -------------------------------------------------------------------------------- /hnswlib/examples/python/example_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/examples/python/example_search.py -------------------------------------------------------------------------------- /hnswlib/examples/python/example_serialization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/examples/python/example_serialization.py -------------------------------------------------------------------------------- /hnswlib/examples/python/pyw_hnswlib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/examples/python/pyw_hnswlib.py -------------------------------------------------------------------------------- /hnswlib/hnswlib/bruteforce.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/hnswlib/bruteforce.h -------------------------------------------------------------------------------- /hnswlib/hnswlib/bruteforce.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/hnswlib/bruteforce.ts -------------------------------------------------------------------------------- /hnswlib/hnswlib/hnswalg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/hnswlib/hnswalg.h -------------------------------------------------------------------------------- /hnswlib/hnswlib/hnswalg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/hnswlib/hnswalg.ts -------------------------------------------------------------------------------- /hnswlib/hnswlib/hnswlib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/hnswlib/hnswlib.h -------------------------------------------------------------------------------- /hnswlib/hnswlib/hnswlib.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/hnswlib/hnswlib.ts -------------------------------------------------------------------------------- /hnswlib/hnswlib/space_ip.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/hnswlib/space_ip.h -------------------------------------------------------------------------------- /hnswlib/hnswlib/space_ip.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/hnswlib/space_ip.ts -------------------------------------------------------------------------------- /hnswlib/hnswlib/space_l2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/hnswlib/space_l2.h -------------------------------------------------------------------------------- /hnswlib/hnswlib/space_l2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/hnswlib/space_l2.ts -------------------------------------------------------------------------------- /hnswlib/hnswlib/visited_list_pool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/hnswlib/visited_list_pool.h -------------------------------------------------------------------------------- /hnswlib/hnswlib/visited_list_pool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/hnswlib/visited_list_pool.ts -------------------------------------------------------------------------------- /hnswlib/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/pyproject.toml -------------------------------------------------------------------------------- /hnswlib/python_bindings/LazyIndex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/python_bindings/LazyIndex.py -------------------------------------------------------------------------------- /hnswlib/python_bindings/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hnswlib/python_bindings/bindings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/python_bindings/bindings.ts -------------------------------------------------------------------------------- /hnswlib/python_bindings/setup.py: -------------------------------------------------------------------------------- 1 | ../setup.py -------------------------------------------------------------------------------- /hnswlib/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/setup.py -------------------------------------------------------------------------------- /hnswlib/tests/cpp/download_bigann.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/cpp/download_bigann.py -------------------------------------------------------------------------------- /hnswlib/tests/cpp/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/cpp/main.ts -------------------------------------------------------------------------------- /hnswlib/tests/cpp/multiThreadLoad_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/cpp/multiThreadLoad_test.ts -------------------------------------------------------------------------------- /hnswlib/tests/cpp/multiThread_replace_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/cpp/multiThread_replace_test.ts -------------------------------------------------------------------------------- /hnswlib/tests/cpp/searchKnnCloserFirst_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/cpp/searchKnnCloserFirst_test.ts -------------------------------------------------------------------------------- /hnswlib/tests/cpp/searchKnnWithFilter_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/cpp/searchKnnWithFilter_test.ts -------------------------------------------------------------------------------- /hnswlib/tests/cpp/sift_1b.ts: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /hnswlib/tests/cpp/sift_test.ts: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /hnswlib/tests/cpp/update_gen_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/cpp/update_gen_data.py -------------------------------------------------------------------------------- /hnswlib/tests/cpp/updates_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/cpp/updates_test.ts -------------------------------------------------------------------------------- /hnswlib/tests/python/bindings_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/python/bindings_test.py -------------------------------------------------------------------------------- /hnswlib/tests/python/bindings_test_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/python/bindings_test_filter.py -------------------------------------------------------------------------------- /hnswlib/tests/python/bindings_test_getdata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/python/bindings_test_getdata.py -------------------------------------------------------------------------------- /hnswlib/tests/python/bindings_test_labels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/python/bindings_test_labels.py -------------------------------------------------------------------------------- /hnswlib/tests/python/bindings_test_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/python/bindings_test_metadata.py -------------------------------------------------------------------------------- /hnswlib/tests/python/bindings_test_pickle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/python/bindings_test_pickle.py -------------------------------------------------------------------------------- /hnswlib/tests/python/bindings_test_recall.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/python/bindings_test_recall.py -------------------------------------------------------------------------------- /hnswlib/tests/python/bindings_test_replace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/python/bindings_test_replace.py -------------------------------------------------------------------------------- /hnswlib/tests/python/bindings_test_resize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/python/bindings_test_resize.py -------------------------------------------------------------------------------- /hnswlib/tests/python/bindings_test_spaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/python/bindings_test_spaces.py -------------------------------------------------------------------------------- /hnswlib/tests/python/bindings_test_stress_mt_replace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/python/bindings_test_stress_mt_replace.py -------------------------------------------------------------------------------- /hnswlib/tests/python/git_tester.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/python/git_tester.py -------------------------------------------------------------------------------- /hnswlib/tests/python/speedtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/hnswlib/tests/python/speedtest.py -------------------------------------------------------------------------------- /img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/img.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/package.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/langs/javascript.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/src/langs/javascript.ts -------------------------------------------------------------------------------- /src/lib/git.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/src/lib/git.ts -------------------------------------------------------------------------------- /src/lib/langs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/src/lib/langs.ts -------------------------------------------------------------------------------- /src/lib/openai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/src/lib/openai.ts -------------------------------------------------------------------------------- /src/log.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/src/log.ts -------------------------------------------------------------------------------- /src/refactor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/src/refactor.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonluca/repo-refactor/HEAD/yarn.lock --------------------------------------------------------------------------------