nucliadb-models 6.7.0.post4811__py3-none-any.whl → 6.7.1.post4815__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 -1
- {nucliadb_models-6.7.0.post4811.dist-info → nucliadb_models-6.7.1.post4815.dist-info}/METADATA +1 -1
- {nucliadb_models-6.7.0.post4811.dist-info → nucliadb_models-6.7.1.post4815.dist-info}/RECORD +5 -5
- {nucliadb_models-6.7.0.post4811.dist-info → nucliadb_models-6.7.1.post4815.dist-info}/WHEEL +0 -0
- {nucliadb_models-6.7.0.post4811.dist-info → nucliadb_models-6.7.1.post4815.dist-info}/top_level.txt +0 -0
nucliadb_models/conversation.py
CHANGED
|
@@ -111,11 +111,15 @@ class InputMessage(BaseModel):
|
|
|
111
111
|
|
|
112
112
|
@field_validator("ident", mode="after")
|
|
113
113
|
@classmethod
|
|
114
|
-
def
|
|
114
|
+
def validate_ident(cls, value: str) -> str:
|
|
115
115
|
# The split value "0" is reserved by learning
|
|
116
116
|
# Used to mark questions to override in the QA agent
|
|
117
117
|
if value == "0":
|
|
118
118
|
raise ValueError('Message ident cannot be "0"')
|
|
119
|
+
# Ident cannot contain "/" as it is used in the text
|
|
120
|
+
# block match ids (paragraph ids)
|
|
121
|
+
if "/" in value:
|
|
122
|
+
raise ValueError('Message ident cannot contain "/"')
|
|
119
123
|
return value
|
|
120
124
|
|
|
121
125
|
|
{nucliadb_models-6.7.0.post4811.dist-info → nucliadb_models-6.7.1.post4815.dist-info}/RECORD
RENAMED
|
@@ -2,7 +2,7 @@ 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=i8tvQxUj6Hw0Nc2oqCGxxzSA1CCY6h7I0ucop9akops,4859
|
|
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
|
|
@@ -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.
|
|
36
|
-
nucliadb_models-6.7.
|
|
37
|
-
nucliadb_models-6.7.
|
|
38
|
-
nucliadb_models-6.7.
|
|
35
|
+
nucliadb_models-6.7.1.post4815.dist-info/METADATA,sha256=BgKSb8cwfWTfX2z7BWecIiir5dCcKBkeVPZuhMUE_XA,794
|
|
36
|
+
nucliadb_models-6.7.1.post4815.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
37
|
+
nucliadb_models-6.7.1.post4815.dist-info/top_level.txt,sha256=UrY1I8oeovIRwkXLYplssTrxQdUjhSEFDFbnwaIV3tA,16
|
|
38
|
+
nucliadb_models-6.7.1.post4815.dist-info/RECORD,,
|
|
File without changes
|
{nucliadb_models-6.7.0.post4811.dist-info → nucliadb_models-6.7.1.post4815.dist-info}/top_level.txt
RENAMED
|
File without changes
|