airweave-sdk 0.8.48__py3-none-any.whl → 0.8.51__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- airweave/core/client_wrapper.py +2 -2
- airweave/types/collection.py +2 -2
- airweave/types/filter.py +4 -4
- {airweave_sdk-0.8.48.dist-info → airweave_sdk-0.8.51.dist-info}/METADATA +1 -1
- {airweave_sdk-0.8.48.dist-info → airweave_sdk-0.8.51.dist-info}/RECORD +6 -6
- {airweave_sdk-0.8.48.dist-info → airweave_sdk-0.8.51.dist-info}/WHEEL +0 -0
airweave/core/client_wrapper.py
CHANGED
|
@@ -26,10 +26,10 @@ class BaseClientWrapper:
|
|
|
26
26
|
|
|
27
27
|
def get_headers(self) -> typing.Dict[str, str]:
|
|
28
28
|
headers: typing.Dict[str, str] = {
|
|
29
|
-
"User-Agent": "airweave-sdk/v0.8.
|
|
29
|
+
"User-Agent": "airweave-sdk/v0.8.51",
|
|
30
30
|
"X-Fern-Language": "Python",
|
|
31
31
|
"X-Fern-SDK-Name": "airweave-sdk",
|
|
32
|
-
"X-Fern-SDK-Version": "v0.8.
|
|
32
|
+
"X-Fern-SDK-Version": "v0.8.51",
|
|
33
33
|
**(self.get_custom_headers() or {}),
|
|
34
34
|
}
|
|
35
35
|
if self._framework_name is not None:
|
airweave/types/collection.py
CHANGED
|
@@ -34,12 +34,12 @@ class Collection(UniversalBaseModel):
|
|
|
34
34
|
|
|
35
35
|
vector_size: int = pydantic.Field()
|
|
36
36
|
"""
|
|
37
|
-
Vector dimensions used by this collection. Determines which embedding model is used: 3072 (text-embedding-3-large), 1536 (text-embedding-3-small), or 384 (MiniLM-L6-v2).
|
|
37
|
+
Vector dimensions used by this collection. Determines which embedding model is used: 3072 (text-embedding-3-large), 1536 (text-embedding-3-small), 1024 (mistral-embed), or 384 (MiniLM-L6-v2).
|
|
38
38
|
"""
|
|
39
39
|
|
|
40
40
|
embedding_model_name: str = pydantic.Field()
|
|
41
41
|
"""
|
|
42
|
-
Name of the embedding model used for this collection (e.g., 'text-embedding-3-large', 'text-embedding-3-small'). This ensures queries use the same model as the indexed data.
|
|
42
|
+
Name of the embedding model used for this collection (e.g., 'text-embedding-3-large', 'text-embedding-3-small', 'mistral-embed'). This ensures queries use the same model as the indexed data.
|
|
43
43
|
"""
|
|
44
44
|
|
|
45
45
|
sync_config: typing.Optional[SyncConfig] = pydantic.Field(default=None)
|
airweave/types/filter.py
CHANGED
|
@@ -42,12 +42,12 @@ class Filter(UniversalBaseModel):
|
|
|
42
42
|
from .min_should import MinShould # noqa: E402, F401, I001
|
|
43
43
|
from .nested import Nested # noqa: E402, F401, I001
|
|
44
44
|
from .nested_condition import NestedCondition # noqa: E402, F401, I001
|
|
45
|
-
from .should import Should # noqa: E402, F401, I001
|
|
46
|
-
from .filter_must_not import FilterMustNot # noqa: E402, F401, I001
|
|
47
|
-
from .filter_should_item import FilterShouldItem # noqa: E402, F401, I001
|
|
48
|
-
from .filter_must_not_item import FilterMustNotItem # noqa: E402, F401, I001
|
|
49
45
|
from .min_should_conditions_item import MinShouldConditionsItem # noqa: E402, F401, I001
|
|
46
|
+
from .filter_must_not import FilterMustNot # noqa: E402, F401, I001
|
|
50
47
|
from .must import Must # noqa: E402, F401, I001
|
|
48
|
+
from .filter_must_not_item import FilterMustNotItem # noqa: E402, F401, I001
|
|
49
|
+
from .should import Should # noqa: E402, F401, I001
|
|
51
50
|
from .filter_must_item import FilterMustItem # noqa: E402, F401, I001
|
|
51
|
+
from .filter_should_item import FilterShouldItem # noqa: E402, F401, I001
|
|
52
52
|
|
|
53
53
|
update_forward_refs(Filter)
|
|
@@ -8,7 +8,7 @@ airweave/collections/types/search_collections_readable_id_search_post_request.py
|
|
|
8
8
|
airweave/collections/types/search_collections_readable_id_search_post_response.py,sha256=wJD5mKSwLRyjI2xEXr-5ikHVljSMiXAWzt12JK9wsks,297
|
|
9
9
|
airweave/core/__init__.py,sha256=GkNNgA0CeqvpCzo2vVtAafE8YcnGV-VGtbU5op93lbc,3624
|
|
10
10
|
airweave/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
11
|
-
airweave/core/client_wrapper.py,sha256=
|
|
11
|
+
airweave/core/client_wrapper.py,sha256=99QhOXCZoRCA3hJ1izkhCsM98ReK0Z-bx6GDnd9ETUE,3330
|
|
12
12
|
airweave/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
13
13
|
airweave/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
14
14
|
airweave/core/force_multipart.py,sha256=cH981xLy0kZVKiZZkFoeUjgJ2Zuq7KXB2aRAnmHzRDc,477
|
|
@@ -58,7 +58,7 @@ airweave/types/body_connect_slack_with_token_connections_direct_token_slack_post
|
|
|
58
58
|
airweave/types/body_resync_with_execution_config_admin_resync_sync_id_post.py,sha256=m6PmikZYrck764dYRvMFl0zJg8clLQtxVD2-gx-DdIw,965
|
|
59
59
|
airweave/types/checkout_session_request.py,sha256=YNE_3CeNVj-BJCsbvoRBJOpS9fEYJaWg4ylz8XigSg4,860
|
|
60
60
|
airweave/types/checkout_session_response.py,sha256=FHvMzPRo8xLlRmLjJ2Wqse3pRHm73Q-kQoQTalQLQ7Q,654
|
|
61
|
-
airweave/types/collection.py,sha256=
|
|
61
|
+
airweave/types/collection.py,sha256=FUrJ6O-fizNRIVgLyyVag_EB2n3UTNMfk9fCzTXiu1E,3131
|
|
62
62
|
airweave/types/collection_status.py,sha256=V3P_DRsEmXmLlD9JuEMmSIzaIpOX5FIh0-oIfwLVcDo,175
|
|
63
63
|
airweave/types/collection_update.py,sha256=H0TrG3m18BNOSlzLci0Ljq77gqfOpAjq4xEBZ3cwnm0,1178
|
|
64
64
|
airweave/types/config_field.py,sha256=3UDStrO4GzOxn8drfxX6Vad-SVQxKAGMbKp22HXdrDs,810
|
|
@@ -92,7 +92,7 @@ airweave/types/except_.py,sha256=Fi6uQ7elnIHIMqK8KUvhBi5_qt0Ma5SL1fonmxuwPaQ,138
|
|
|
92
92
|
airweave/types/feature_flag.py,sha256=Km1QLZ2w9qMbejsmJobmjp7deTuq73Ty1hfx4-jrHyo,323
|
|
93
93
|
airweave/types/field_condition.py,sha256=gqTGY0fKkWD9jMr0B64RzQRGuI_tHMk-gZIJqxTqi18,1999
|
|
94
94
|
airweave/types/fields.py,sha256=3twBT8sYhvfgC2uJSpvbS8S7fua_mdDX7dGqR3WyVD8,609
|
|
95
|
-
airweave/types/filter.py,sha256=
|
|
95
|
+
airweave/types/filter.py,sha256=dFnZIkZfs7hd12DzWy19ip9sNE4Bvx8xzQLI8zTCA5I,1787
|
|
96
96
|
airweave/types/filter_must_item.py,sha256=r4vc7x8Bd55uDUXj3tPKQ01-_d9J-6Q1IAlRuzdtuNM,613
|
|
97
97
|
airweave/types/filter_must_not.py,sha256=EZkCNFMcAC6RMqf-_cVN9dCG94kzTNEnudFzkLM-LMs,731
|
|
98
98
|
airweave/types/filter_must_not_item.py,sha256=OKD-F6go78FVrgDJjVOWx32Z_Md6R70sO90gU_0ifvg,616
|
|
@@ -199,6 +199,6 @@ airweave/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdt
|
|
|
199
199
|
airweave/types/value.py,sha256=S3a570nh8Mw1lWvnsuMb_er16fHbq29xPueGQ9uiXek,117
|
|
200
200
|
airweave/types/values_count.py,sha256=49rET8mgdAT7bgzdeDG58OTCkQjBfHD3QROOPq5nunQ,1042
|
|
201
201
|
airweave/version.py,sha256=1gjLeITonHtLphREnhUUC2qTGYzVdtPWqRj32DQBk7g,79
|
|
202
|
-
airweave_sdk-0.8.
|
|
203
|
-
airweave_sdk-0.8.
|
|
204
|
-
airweave_sdk-0.8.
|
|
202
|
+
airweave_sdk-0.8.51.dist-info/METADATA,sha256=S0FQf1UYi4p9w1UnHxPLBjR-W-5G2JXK5mdxUNiVnEI,5916
|
|
203
|
+
airweave_sdk-0.8.51.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
204
|
+
airweave_sdk-0.8.51.dist-info/RECORD,,
|
|
File without changes
|