nucliadb-models 6.7.0.post4752__py3-none-any.whl → 6.7.0.post4761__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.
Potentially problematic release.
This version of nucliadb-models might be problematic. Click here for more details.
- nucliadb_models/conversation.py +5 -0
- nucliadb_models/file.py +8 -0
- nucliadb_models/link.py +8 -0
- nucliadb_models/text.py +8 -0
- {nucliadb_models-6.7.0.post4752.dist-info → nucliadb_models-6.7.0.post4761.dist-info}/METADATA +1 -1
- {nucliadb_models-6.7.0.post4752.dist-info → nucliadb_models-6.7.0.post4761.dist-info}/RECORD +8 -8
- {nucliadb_models-6.7.0.post4752.dist-info → nucliadb_models-6.7.0.post4761.dist-info}/WHEEL +0 -0
- {nucliadb_models-6.7.0.post4752.dist-info → nucliadb_models-6.7.0.post4761.dist-info}/top_level.txt +0 -0
nucliadb_models/conversation.py
CHANGED
|
@@ -79,6 +79,7 @@ class FieldConversation(BaseModel):
|
|
|
79
79
|
size: Optional[int] = None
|
|
80
80
|
total: Optional[int] = None
|
|
81
81
|
extract_strategy: Optional[str] = None
|
|
82
|
+
split_strategy: Optional[str] = None
|
|
82
83
|
|
|
83
84
|
|
|
84
85
|
# Creation and update classes (Those used on writer endpoints)
|
|
@@ -115,3 +116,7 @@ class InputConversationField(BaseModel):
|
|
|
115
116
|
default=None,
|
|
116
117
|
description="Id of the Nuclia extract strategy used at processing time. If not set, the default strategy was used. Extract strategies are defined at the learning configuration api.",
|
|
117
118
|
)
|
|
119
|
+
split_strategy: Optional[str] = Field(
|
|
120
|
+
default=None,
|
|
121
|
+
description="Id of the Nuclia split strategy used at processing time. If not set, the default strategy was used. Split strategies are defined at the learning configuration api.",
|
|
122
|
+
)
|
nucliadb_models/file.py
CHANGED
|
@@ -35,6 +35,10 @@ class FieldFile(BaseModel):
|
|
|
35
35
|
default=None,
|
|
36
36
|
description="Id of the Nuclia extract strategy used at processing time. If not set, the default strategy was used. Extract strategies are defined at the learning configuration api.",
|
|
37
37
|
)
|
|
38
|
+
split_strategy: Optional[str] = Field(
|
|
39
|
+
default=None,
|
|
40
|
+
description="Id of the Nuclia split strategy used at processing time. If not set, the default strategy was used. Split strategies are defined at the learning configuration api.",
|
|
41
|
+
)
|
|
38
42
|
|
|
39
43
|
|
|
40
44
|
# Creation and update classes (Those used on writer endpoints)
|
|
@@ -48,3 +52,7 @@ class FileField(BaseModel):
|
|
|
48
52
|
default=None,
|
|
49
53
|
description="Id of the Nuclia extract strategy to use at processing time. If not set, the default strategy will be used. Extract strategies are defined at the learning configuration api.",
|
|
50
54
|
)
|
|
55
|
+
split_strategy: Optional[str] = Field(
|
|
56
|
+
default=None,
|
|
57
|
+
description="Id of the Nuclia split strategy used at processing time. If not set, the default strategy was used. Split strategies are defined at the learning configuration api.",
|
|
58
|
+
)
|
nucliadb_models/link.py
CHANGED
|
@@ -37,6 +37,10 @@ class FieldLink(BaseModel):
|
|
|
37
37
|
default=None,
|
|
38
38
|
description="Id of the Nuclia extract strategy used at processing time. If not set, the default strategy was used. Extract strategies are defined at the learning configuration api.",
|
|
39
39
|
)
|
|
40
|
+
split_strategy: Optional[str] = Field(
|
|
41
|
+
default=None,
|
|
42
|
+
description="Id of the Nuclia split strategy used at processing time. If not set, the default strategy was used. Split strategies are defined at the learning configuration api.",
|
|
43
|
+
)
|
|
40
44
|
|
|
41
45
|
|
|
42
46
|
# Creation and update classes (Those used on writer endpoints)
|
|
@@ -54,3 +58,7 @@ class LinkField(BaseModel):
|
|
|
54
58
|
default=None,
|
|
55
59
|
description="Id of the Nuclia extract strategy to use at processing time. If not set, the default strategy will be used. Extract strategies are defined at the learning configuration api.",
|
|
56
60
|
)
|
|
61
|
+
split_strategy: Optional[str] = Field(
|
|
62
|
+
default=None,
|
|
63
|
+
description="Id of the Nuclia split strategy used at processing time. If not set, the default strategy was used. Split strategies are defined at the learning configuration api.",
|
|
64
|
+
)
|
nucliadb_models/text.py
CHANGED
|
@@ -59,6 +59,10 @@ class FieldText(BaseModel):
|
|
|
59
59
|
default=None,
|
|
60
60
|
description="Id of the Nuclia extract strategy used at processing time. If not set, the default strategy was used. Extract strategies are defined at the learning configuration api.",
|
|
61
61
|
)
|
|
62
|
+
split_strategy: Optional[str] = Field(
|
|
63
|
+
default=None,
|
|
64
|
+
description="Id of the Nuclia split strategy used at processing time. If not set, the default strategy was used. Split strategies are defined at the learning configuration api.",
|
|
65
|
+
)
|
|
62
66
|
|
|
63
67
|
|
|
64
68
|
# Creation and update classes (Those used on writer endpoints)
|
|
@@ -80,6 +84,10 @@ If you need to store more text, consider using a file field instead or splitting
|
|
|
80
84
|
default=None,
|
|
81
85
|
description="Id of the Nuclia extract strategy to use at processing time. If not set, the default strategy will be used. Extract strategies are defined at the learning configuration api.",
|
|
82
86
|
)
|
|
87
|
+
split_strategy: Optional[str] = Field(
|
|
88
|
+
default=None,
|
|
89
|
+
description="Id of the Nuclia split strategy used at processing time. If not set, the default strategy was used. Split strategies are defined at the learning configuration api.",
|
|
90
|
+
)
|
|
83
91
|
|
|
84
92
|
@model_validator(mode="after")
|
|
85
93
|
def check_text_format(self) -> Self:
|
{nucliadb_models-6.7.0.post4752.dist-info → nucliadb_models-6.7.0.post4761.dist-info}/RECORD
RENAMED
|
@@ -2,15 +2,15 @@ nucliadb_models/__init__.py,sha256=3y8-htogKuCZcbhaUZdSjTeEjUSeec9aRWyL8AlKCyM,1
|
|
|
2
2
|
nucliadb_models/common.py,sha256=YW84w1NAQARObs2nXw6YBgdxQJeVCmTZZr5lSqj-IdQ,7904
|
|
3
3
|
nucliadb_models/configuration.py,sha256=aTV5mBwYFlwiV1_nWyVAXaCh7F6lDVTVh28Xfwy8ox8,2448
|
|
4
4
|
nucliadb_models/content_types.py,sha256=36Ga-iGf4ivCqgtXC7imFgegrwHB117s9eqP62JtGv0,3456
|
|
5
|
-
nucliadb_models/conversation.py,sha256=
|
|
5
|
+
nucliadb_models/conversation.py,sha256=ynS65VNgySOyDEHRFaBgcR8_eU6raYlg6lwdQJqCnwg,3689
|
|
6
6
|
nucliadb_models/entities.py,sha256=i-7Y8qmFRRTih5zw0ajv1U_iiXexe66M3TK8hUikQZk,2356
|
|
7
7
|
nucliadb_models/export_import.py,sha256=mNm9IArOLnC6TLupkwqVFhxD5d08mpIVOVFneECv8UA,1073
|
|
8
8
|
nucliadb_models/external_index_providers.py,sha256=IIKjJjLixWQC1zrbzam2FDcAo5UUxShZfueZSxqZu8Y,1535
|
|
9
9
|
nucliadb_models/extracted.py,sha256=Zh79jrOcqedVYc36qM4D5qrOn5RutTuJAHusEeyIDiU,6245
|
|
10
|
-
nucliadb_models/file.py,sha256=
|
|
10
|
+
nucliadb_models/file.py,sha256=tXtgB9c7i2ADsnJ7HdbXyroAmXadGvOeA49htBh7BZo,2263
|
|
11
11
|
nucliadb_models/filters.py,sha256=NQI2-4AFzzJuZy8NeY3jXlTbbU5wxiwMCP-5DrD-7lE,14759
|
|
12
12
|
nucliadb_models/labels.py,sha256=9zqRgkpZuX3kUPwsTTgCH7JyOWK7dM5pwyuHJR86YdU,3949
|
|
13
|
-
nucliadb_models/link.py,sha256=
|
|
13
|
+
nucliadb_models/link.py,sha256=PF5hHLwdOed5TMBTxtokkgWtMh1bFnORZjybh0NwVCw,2526
|
|
14
14
|
nucliadb_models/metadata.py,sha256=MFVYnpXMBoY4ylMg029o7yDKGxhK7NB0c0FSshzJHm4,8356
|
|
15
15
|
nucliadb_models/notifications.py,sha256=mna8-AoD_29Wds0Thl0AF0zpERnJmYGLZX1w1fUopMY,4036
|
|
16
16
|
nucliadb_models/processing.py,sha256=nhKuHQjqCdb9zJVkYGPTLub23tK9e_lwL5OCDVymZjY,719
|
|
@@ -19,7 +19,7 @@ nucliadb_models/resource.py,sha256=RzCos0QRgSMkaV-p7EoceSmt7UTzt9G9be5BKF-iGrQ,9
|
|
|
19
19
|
nucliadb_models/search.py,sha256=UtENf6-osZ6TvV7EzqrBN67GfZtrBhCZEo3qBi15ejs,91648
|
|
20
20
|
nucliadb_models/security.py,sha256=opxaDLfvk3aU0sjesK0jGrYLx5h4YCwlKKN0moYs_ig,1150
|
|
21
21
|
nucliadb_models/synonyms.py,sha256=afbaVqSQSxGLwi2PusVaLSRpkOtA5AZmWOKd1f4nl2E,690
|
|
22
|
-
nucliadb_models/text.py,sha256=
|
|
22
|
+
nucliadb_models/text.py,sha256=60bxZnOjRHnDdezR8VfR3AZsXTOwePFPs2BKB8wxBak,3414
|
|
23
23
|
nucliadb_models/trainset.py,sha256=BgUfgdClpwhk6UoOq5x6mbpOopgSmqg8he2bBzEzGqg,2406
|
|
24
24
|
nucliadb_models/utils.py,sha256=OnWaDwZGwja8Spd_gpryuUpAMGIMhh-DNDGpoUYyb-A,2460
|
|
25
25
|
nucliadb_models/vectors.py,sha256=_Z157PojPIwoeF5LStO0gz8IwxKy2styHjhdBkLd_44,1329
|
|
@@ -32,7 +32,7 @@ nucliadb_models/graph/responses.py,sha256=Sdq8OgFAL1YT-1lJyLLrkqcScvj7YTEqAUwQ-k
|
|
|
32
32
|
nucliadb_models/internal/__init__.py,sha256=zG33bUz1rHFPtvqQPWn4rDwBJt3FJodGuQYD45quiQg,583
|
|
33
33
|
nucliadb_models/internal/predict.py,sha256=Pnx6MmLfK65eExe1XnVxqmSlvMwdowewwks9BOEoqMw,2029
|
|
34
34
|
nucliadb_models/internal/shards.py,sha256=__y1OZtWGiNcPQEWfSFOj8yw458WGi7mM4vZe0K-L1Y,1691
|
|
35
|
-
nucliadb_models-6.7.0.
|
|
36
|
-
nucliadb_models-6.7.0.
|
|
37
|
-
nucliadb_models-6.7.0.
|
|
38
|
-
nucliadb_models-6.7.0.
|
|
35
|
+
nucliadb_models-6.7.0.post4761.dist-info/METADATA,sha256=jwgaczbOASHYW862GvxesVtidvkzsAxch3Y-EqeL_2Q,794
|
|
36
|
+
nucliadb_models-6.7.0.post4761.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
37
|
+
nucliadb_models-6.7.0.post4761.dist-info/top_level.txt,sha256=UrY1I8oeovIRwkXLYplssTrxQdUjhSEFDFbnwaIV3tA,16
|
|
38
|
+
nucliadb_models-6.7.0.post4761.dist-info/RECORD,,
|
|
File without changes
|
{nucliadb_models-6.7.0.post4752.dist-info → nucliadb_models-6.7.0.post4761.dist-info}/top_level.txt
RENAMED
|
File without changes
|