nucliadb-models 6.3.4.post3663__py3-none-any.whl → 6.3.4.post3680__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 +6 -0
- {nucliadb_models-6.3.4.post3663.dist-info → nucliadb_models-6.3.4.post3680.dist-info}/METADATA +1 -1
- {nucliadb_models-6.3.4.post3663.dist-info → nucliadb_models-6.3.4.post3680.dist-info}/RECORD +5 -5
- {nucliadb_models-6.3.4.post3663.dist-info → nucliadb_models-6.3.4.post3680.dist-info}/WHEEL +1 -1
- {nucliadb_models-6.3.4.post3663.dist-info → nucliadb_models-6.3.4.post3680.dist-info}/top_level.txt +0 -0
nucliadb_models/conversation.py
CHANGED
|
@@ -84,6 +84,7 @@ class FieldConversation(BaseModel):
|
|
|
84
84
|
pages: Optional[int] = None
|
|
85
85
|
size: Optional[int] = None
|
|
86
86
|
total: Optional[int] = None
|
|
87
|
+
extract_strategy: Optional[str] = None
|
|
87
88
|
|
|
88
89
|
|
|
89
90
|
# Creation and update classes (Those used on writer endpoints)
|
|
@@ -116,6 +117,10 @@ class InputMessage(BaseModel):
|
|
|
116
117
|
|
|
117
118
|
class InputConversationField(BaseModel):
|
|
118
119
|
messages: List[InputMessage] = []
|
|
120
|
+
extract_strategy: Optional[str] = Field(
|
|
121
|
+
default=None,
|
|
122
|
+
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.",
|
|
123
|
+
)
|
|
119
124
|
|
|
120
125
|
|
|
121
126
|
# Processing classes (Those used to sent to push endpoints)
|
|
@@ -145,4 +150,5 @@ class PushMessage(BaseModel):
|
|
|
145
150
|
|
|
146
151
|
class PushConversation(BaseModel):
|
|
147
152
|
messages: List[PushMessage] = []
|
|
153
|
+
extract_strategy: Optional[str] = None
|
|
148
154
|
classification_labels: list[ClassificationLabel] = []
|
{nucliadb_models-6.3.4.post3663.dist-info → nucliadb_models-6.3.4.post3680.dist-info}/RECORD
RENAMED
|
@@ -2,7 +2,7 @@ nucliadb_models/__init__.py,sha256=qSmhNKACMwdbU1rklMWlmJKmlRaWvrSksTtwEVkiydQ,1
|
|
|
2
2
|
nucliadb_models/common.py,sha256=JEEY7_AxRCBPHUF6J8XptR_QnGEjRBd02Kqm5WOySYc,7828
|
|
3
3
|
nucliadb_models/configuration.py,sha256=7iUgSCkmFinu6clCfT54P5tuz5Lvf6eJVmahYjwI7qk,2525
|
|
4
4
|
nucliadb_models/content_types.py,sha256=2B3TJpPYJqd-9xGiNiHJFngSIrVyNsZlN4PeB-HafIk,3682
|
|
5
|
-
nucliadb_models/conversation.py,sha256=
|
|
5
|
+
nucliadb_models/conversation.py,sha256=_ubB_22-ovyS8PbRi4TZX5qf1WZ6nAvXIVJtu21BMeM,4339
|
|
6
6
|
nucliadb_models/entities.py,sha256=IqsbF0dSCWkp222sd_R2Ste0iG1eoBPNh1Fh6mNVcu0,2608
|
|
7
7
|
nucliadb_models/export_import.py,sha256=A1KTjwQCRtyVAWcgabXsdltI78rauXBmZX1ie6Rx_pQ,1325
|
|
8
8
|
nucliadb_models/external_index_providers.py,sha256=aVyj-P4kVqfqPjF13E_lUM0FZsq8-DTbIsh-kHOgt2s,1787
|
|
@@ -32,7 +32,7 @@ nucliadb_models/graph/responses.py,sha256=UXDwFY4va6p6T3kgNJSA4iZ7PrLBR5ibyXw_mo
|
|
|
32
32
|
nucliadb_models/internal/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
|
|
33
33
|
nucliadb_models/internal/predict.py,sha256=5rgUPrH_98gerySOZ-TR2PX_qzCGF1_8VxyOu3bGhis,2281
|
|
34
34
|
nucliadb_models/internal/shards.py,sha256=uZLsMkYWrJDHq3xy_w7snSeV2X3aDBuht9GC_MG3sKc,1976
|
|
35
|
-
nucliadb_models-6.3.4.
|
|
36
|
-
nucliadb_models-6.3.4.
|
|
37
|
-
nucliadb_models-6.3.4.
|
|
38
|
-
nucliadb_models-6.3.4.
|
|
35
|
+
nucliadb_models-6.3.4.post3680.dist-info/METADATA,sha256=12JT5xLHXiXsIvVSA0eYmR_D5umUbZeo7G0CcL0gHis,759
|
|
36
|
+
nucliadb_models-6.3.4.post3680.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
|
|
37
|
+
nucliadb_models-6.3.4.post3680.dist-info/top_level.txt,sha256=UrY1I8oeovIRwkXLYplssTrxQdUjhSEFDFbnwaIV3tA,16
|
|
38
|
+
nucliadb_models-6.3.4.post3680.dist-info/RECORD,,
|
{nucliadb_models-6.3.4.post3663.dist-info → nucliadb_models-6.3.4.post3680.dist-info}/top_level.txt
RENAMED
|
File without changes
|