Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Named vectors #878

Merged
merged 50 commits into from
Feb 23, 2024
Merged
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
a240730
Refactor config
dirkkul Feb 15, 2024
aa3c43e
Support for named vectors
dirkkul Feb 15, 2024
f6eecb2
Add missing files
dirkkul Feb 15, 2024
c2c887a
Add support for batch
dirkkul Feb 15, 2024
f8b6855
Add support for remaining vectorizers
dirkkul Feb 16, 2024
ecaeef8
Add vector index configuration and basic export
dirkkul Feb 16, 2024
a7c0bdd
Add export of vector index config
dirkkul Feb 16, 2024
28ce9d0
Add vector index config to remaining vectorizers
dirkkul Feb 16, 2024
3b56d04
Add named vectors to batch and cleanup docstrings and add missing ref…
dirkkul Feb 16, 2024
ab04844
Remove accidentally added test
dirkkul Feb 16, 2024
ca2b36b
Add more docstrings and fix tests
dirkkul Feb 16, 2024
d6ab24c
Fix export and reimport of named vectors
dirkkul Feb 16, 2024
fc74291
fix old tests
dirkkul Feb 16, 2024
78c0671
Fix translation from source_properties to properties
dirkkul Feb 16, 2024
012151b
Fix another test
dirkkul Feb 16, 2024
d7f8277
Add aggregate handling
dirkkul Feb 19, 2024
b3a1023
Merge branch 'main' of https://github.com/weaviate/weaviate-python-cl…
tsmith023 Feb 20, 2024
5b2d616
Fix incorrect argument type in fetch_objects function
tsmith023 Feb 20, 2024
385d93e
fix mock broken in merge
tsmith023 Feb 20, 2024
873491d
tidy up tests
tsmith023 Feb 20, 2024
e43bbe6
use newer version with server-side fixes
tsmith023 Feb 20, 2024
00abe52
Merge branch 'main' of https://github.com/weaviate/weaviate-python-cl…
tsmith023 Feb 20, 2024
8114e75
fix 3.8 and 3.9 TypeAlias import
tsmith023 Feb 20, 2024
067ff98
Fix parsing of sourceProperties from schema in config
tsmith023 Feb 20, 2024
cad710a
correctly fix exporting and importing logic
tsmith023 Feb 20, 2024
cea8201
throw error when creating named vectors with old versions
tsmith023 Feb 20, 2024
cb1f844
add skip
tsmith023 Feb 20, 2024
1214fde
bump to latest stable/v1.24 build
tsmith023 Feb 20, 2024
579cd3b
uncomment assertion
tsmith023 Feb 20, 2024
420d4f8
update CI image
tsmith023 Feb 21, 2024
d7acf82
Merge branch 'main' of https://github.com/weaviate/weaviate-python-cl…
tsmith023 Feb 21, 2024
d02f632
fix old version
tsmith023 Feb 21, 2024
92e71a0
Add dimensions to openai vectorizer
dirkkul Feb 21, 2024
67fccde
Merge branch 'main' into named_vectors
dirkkul Feb 21, 2024
feadc7e
Merge pull request #904 from weaviate/openai_dimension
dirkkul Feb 21, 2024
4f97da0
support updating individual named vectors configs
tsmith023 Feb 21, 2024
018aab4
add sleeps to help avoid read-only flakes
tsmith023 Feb 21, 2024
f22bf86
increase sleep times
tsmith023 Feb 21, 2024
8a74cd9
throw error when updating quantizer type (not allowed)
tsmith023 Feb 21, 2024
0663dbf
fix config parsing for new Weaviate behaviour
tsmith023 Feb 21, 2024
faa00ec
fix to latest version
tsmith023 Feb 21, 2024
b163722
Fix assertion in test_batch_add
tsmith023 Feb 21, 2024
76fbcd4
bump ci ver to latest RC
tsmith023 Feb 22, 2024
9de532d
enforce all params to be KW in named vectors static methods
tsmith023 Feb 22, 2024
a26b525
change name in update, udpate docstrings, catch abnd reraise exceptions
tsmith023 Feb 22, 2024
67e05bb
allow old syntax of update vectorizer with new parameter, deprecate old
tsmith023 Feb 22, 2024
ace5801
refactor named vec configs to preserve `_to_dict` inheritance
tsmith023 Feb 23, 2024
dd2642c
comment out updating named vectors due to server instability
tsmith023 Feb 23, 2024
ff43777
allow vectorizer config in update but without namedvectors
tsmith023 Feb 23, 2024
6bb1891
only allow enabled in pqconfigupdate
tsmith023 Feb 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions integration/test_client.py
Original file line number Diff line number Diff line change
@@ -267,6 +267,9 @@ def test_create_export_and_recreate(client: weaviate.WeaviateClient, request: Su
def test_create_export_and_recreate_named_vectors(
client: weaviate.WeaviateClient, request: SubRequest
) -> None:
if client._connection._weaviate_version.is_lower_than(1, 24, 0):
pytest.skip("Named vectors are not supported in versions lower than 1.24.0")

name1 = request.node.name
name2 = request.node.name + "2"
client.collections.delete([name1, name2])