-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Python bindings for HNSW graph search functionality over plaintext iris codes using the PyO3 library and Maturin build layer. Provides basic Python bindings for iris code, vector store, and graph store data structures, data serialization of iris codes using base64 encoding compatible with Open IRIS, and serialization of vector and graph stores to and from file. Serialization of the vector store is implemented using the NDJSON ("Newline Delimited JSON") file format, which allows the use of a single large database file of iris code test data from which entries can be streamed rather than read into memory as a single block. Build and deployment instructions for the new Python bindings can be found in the `README.md` file of the new `iris-mpc-py` crate. Usage details are also found in `README.md`, and an example Python script exercising the functionality is available in `examples-py/test_integration.py`. --------- Co-authored-by: Bryan Gillespie <bryan@inversed.tech>
- Loading branch information
Showing
25 changed files
with
935 additions
and
20 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.