-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable passing Python dictionaries in index.add (#28)
This PR changes the external interface for indexing. Collections translates Python maps to input passages, but index didn't. We update that so we can pass dictionaries with either `text` or `embeddings` keys. There are a few internal interface changes as well. Notably, add_batch to collection passed by value, and that's been fixed.
- Loading branch information
Showing
34 changed files
with
637 additions
and
472 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[bumpversion] | ||
current_version = 0.3.1 | ||
commit = True | ||
tag = True | ||
|
||
[bumpversion:file:version.txt] | ||
search = {current_version} | ||
replace = {new_version} | ||
|
||
[bumpversion:file:vcpkg.json] | ||
search = "version-string": "{current_version}" | ||
replace = "version-string": "{new_version}" | ||
|
||
[bumpversion:file:lintdb/version.h] | ||
search = #define LINTDB_VERSION_STRING "{current_version}" | ||
replace = #define LINTDB_VERSION_STRING "{new_version}" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
[submodule "tools/vcpkg"] | ||
path = tools/vcpkg | ||
url = https://github.com/Microsoft/vcpkg.git | ||
ignore = dirty | ||
[submodule "lib/tokenizers-cpp"] | ||
path = lib/tokenizers-cpp | ||
url = https://github.com/DeployQL/tokenizers-cpp.git |
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.