nucliadb-models 6.3.4.post3852__py3-none-any.whl → 6.3.5.post3879__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.

@@ -342,7 +342,7 @@ ResourceFilterExpression = Annotated[
342
342
 
343
343
  class FilterExpression(BaseModel, extra="forbid"):
344
344
  """Returns only documents that match this filter expression.
345
- Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search_filters
345
+ Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search-filters
346
346
 
347
347
  This allows building complex filtering expressions and replaces the following parameters:
348
348
  `fields`, `filters`, `range_*`, `resource_filters`, `keyword_filters`.
@@ -371,7 +371,7 @@ class FilterExpression(BaseModel, extra="forbid"):
371
371
 
372
372
  class CatalogFilterExpression(BaseModel, extra="forbid"):
373
373
  """Returns only documents that match this filter expression.
374
- Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search_filters
374
+ Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search-filters
375
375
 
376
376
  This allows building complex filtering expressions and replaces the following parameters:
377
377
  `filters`, `range_*`, `with_status`.
@@ -145,7 +145,7 @@ GraphPathQuery = Annotated[
145
145
 
146
146
  class GraphFilterExpression(BaseModel, extra="forbid"):
147
147
  """Returns only relations from documents that match this filter expression.
148
- Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search_filters
148
+ Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search-filters
149
149
  """
150
150
 
151
151
  field: FieldFilterExpression = Field(description="Filter to apply to fields")
@@ -158,7 +158,7 @@ class GraphSearchRequest(BaseGraphSearchRequest):
158
158
  title="Filter resource by an expression",
159
159
  description=(
160
160
  "Returns only relations from documents that match this filter expression."
161
- "Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search_filters "
161
+ "Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search-filters "
162
162
  ),
163
163
  )
164
164
  security: Optional[RequestSecurity] = SearchParamDefaults.security.to_pydantic_field()
@@ -186,7 +186,7 @@ class GraphNodesSearchRequest(BaseGraphSearchRequest):
186
186
  title="Filter resource by an expression",
187
187
  description=(
188
188
  "Returns only relations from documents that match this filter expression."
189
- "Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search_filters "
189
+ "Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search-filters "
190
190
  ),
191
191
  )
192
192
  security: Optional[RequestSecurity] = SearchParamDefaults.security.to_pydantic_field()
@@ -214,7 +214,7 @@ class GraphRelationsSearchRequest(BaseGraphSearchRequest):
214
214
  title="Filter resource by an expression",
215
215
  description=(
216
216
  "Returns only relations from documents that match this filter expression."
217
- "Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search_filters "
217
+ "Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search-filters "
218
218
  ),
219
219
  )
220
220
  security: Optional[RequestSecurity] = SearchParamDefaults.security.to_pydantic_field()
nucliadb_models/search.py CHANGED
@@ -449,7 +449,7 @@ class SearchParamDefaults:
449
449
  filters = ParamDefault(
450
450
  default=[],
451
451
  title="Filters",
452
- description="The list of filters to apply. Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search_filters", # noqa: E501
452
+ description="The list of filters to apply. Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search-filters", # noqa: E501
453
453
  )
454
454
  resource_filters = ParamDefault(
455
455
  default=[],
@@ -459,7 +459,7 @@ class SearchParamDefaults:
459
459
  faceted = ParamDefault(
460
460
  default=[],
461
461
  title="Faceted",
462
- description="The list of facets to calculate. The facets follow the same syntax as filters: https://docs.nuclia.dev/docs/rag/advanced/search_filters", # noqa: E501
462
+ description="The list of facets to calculate. The facets follow the same syntax as filters: https://docs.nuclia.dev/docs/rag/advanced/search-filters", # noqa: E501
463
463
  max_items=50,
464
464
  )
465
465
  autofilter = ParamDefault(
@@ -650,7 +650,7 @@ class SearchParamDefaults:
650
650
  title="Filter resource by an expression",
651
651
  description=(
652
652
  "Returns only documents that match this filter expression."
653
- "Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search_filters "
653
+ "Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search-filters "
654
654
  "This allows building complex filtering expressions and replaces the following parameters:"
655
655
  "`fields`, `filters`, `range_*`, `resource_filters`, `keyword_filters`."
656
656
  ),
@@ -660,7 +660,7 @@ class SearchParamDefaults:
660
660
  title="Filter resource by an expression",
661
661
  description=(
662
662
  "Returns only documents that match this filter expression."
663
- "Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search_filters "
663
+ "Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search-filters "
664
664
  "This allows building complex filtering expressions and replaces the following parameters:"
665
665
  "`filters`, `range_*`, `with_status`."
666
666
  ),
@@ -688,7 +688,7 @@ class CatalogRequest(BaseModel):
688
688
  filters: Union[list[str], list[Filter]] = Field(
689
689
  default=[],
690
690
  title="Filters",
691
- description="The list of filters to apply. Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search_filters", # noqa: E501
691
+ description="The list of filters to apply. Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search-filters", # noqa: E501
692
692
  )
693
693
  faceted: list[str] = SearchParamDefaults.faceted.to_pydantic_field()
694
694
  sort: Optional[SortOptions] = SearchParamDefaults.sort.to_pydantic_field()
@@ -771,7 +771,7 @@ class BaseSearchRequest(AuditMetadataBase):
771
771
  filters: Union[list[str], list[Filter]] = Field(
772
772
  default=[],
773
773
  title="Filters",
774
- description="The list of filters to apply. Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search_filters", # noqa: E501
774
+ description="The list of filters to apply. Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search-filters", # noqa: E501
775
775
  )
776
776
  top_k: int = SearchParamDefaults.top_k.to_pydantic_field()
777
777
  min_score: Optional[Union[float, MinScore]] = Field(
@@ -1407,7 +1407,7 @@ class AskRequest(AuditMetadataBase):
1407
1407
  filters: Union[list[str], list[Filter]] = Field(
1408
1408
  default=[],
1409
1409
  title="Filters",
1410
- description="The list of filters to apply. Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search_filters", # noqa: E501
1410
+ description="The list of filters to apply. Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search-filters", # noqa: E501
1411
1411
  )
1412
1412
  keyword_filters: Union[list[str], list[Filter]] = Field(
1413
1413
  default=[],
@@ -1416,7 +1416,7 @@ class AskRequest(AuditMetadataBase):
1416
1416
  "List of keyword filter expressions to apply to the retrieval step. "
1417
1417
  "The text block search will only be performed on the documents that contain the specified keywords. "
1418
1418
  "The filters are case-insensitive, and only alphanumeric characters and spaces are allowed. "
1419
- "Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search_filters" # noqa: E501
1419
+ "Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search-filters" # noqa: E501
1420
1420
  ),
1421
1421
  examples=[
1422
1422
  ["NLP", "BERT"],
@@ -1734,7 +1734,7 @@ class FindRequest(BaseSearchRequest):
1734
1734
  "List of keyword filter expressions to apply to the retrieval step. "
1735
1735
  "The text block search will only be performed on the documents that contain the specified keywords. "
1736
1736
  "The filters are case-insensitive, and only alphanumeric characters and spaces are allowed. "
1737
- "Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search_filters" # noqa: E501
1737
+ "Filtering examples can be found here: https://docs.nuclia.dev/docs/rag/advanced/search-filters" # noqa: E501
1738
1738
  ),
1739
1739
  examples=[
1740
1740
  ["NLP", "BERT"],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nucliadb_models
3
- Version: 6.3.4.post3852
3
+ Version: 6.3.5.post3879
4
4
  Author-email: Nuclia <nucliadb@nuclia.com>
5
5
  License: AGPL
6
6
  Project-URL: Homepage, https://nuclia.com
@@ -8,7 +8,7 @@ nucliadb_models/export_import.py,sha256=A1KTjwQCRtyVAWcgabXsdltI78rauXBmZX1ie6Rx
8
8
  nucliadb_models/external_index_providers.py,sha256=aVyj-P4kVqfqPjF13E_lUM0FZsq8-DTbIsh-kHOgt2s,1787
9
9
  nucliadb_models/extracted.py,sha256=wnTjMsSPk1iZFtn4eFrBC9fSOZkNTeHQ_B9CRyaL0cA,6444
10
10
  nucliadb_models/file.py,sha256=4pDfQtXaBNB-ExeXC7NIdt33RbJp_u53_x8ACVkHXCM,2174
11
- nucliadb_models/filters.py,sha256=mHep1AnMrrmity-M0Kb4rdYei8sAO6F6kWu2HVI6g8A,13199
11
+ nucliadb_models/filters.py,sha256=iUwxQcX8LuFbQekuPatM_YSwlTd0UxsowjC636zVMjQ,13199
12
12
  nucliadb_models/labels.py,sha256=AGNVzvt-FUQlTBiBCV-w4Lpq4Hey0b_jqhGzkrFbtFg,4510
13
13
  nucliadb_models/link.py,sha256=GDCBREpMFEPmIjvf56zlU9quxI8j4NnlhsaEYWxCHqU,2899
14
14
  nucliadb_models/metadata.py,sha256=fiIJfht0Eg5a65ud2FdmHzElZ8VGdrDQ-F65-VJI4IE,8151
@@ -16,7 +16,7 @@ nucliadb_models/notifications.py,sha256=jr2J3zncs880jYf2oZHYt0VFcnlZevsbkyX69ovT
16
16
  nucliadb_models/processing.py,sha256=UeU-VxbBlOzkNxviOS3a0X_k7Ye-jYu3UOdGuu21M8M,971
17
17
  nucliadb_models/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  nucliadb_models/resource.py,sha256=cjYloaRuCJFc3lGIxLZcX959oOq_N1f3V9bpPMYv4WA,9255
19
- nucliadb_models/search.py,sha256=gfoJvW1rkPmHCYPWRa-3TMqDJB5ANDyCtjgrD3K0NpQ,82051
19
+ nucliadb_models/search.py,sha256=0fkmldZIn8DfnXz24yFuXxQfzzD9HgDX8pGVIgMVm7w,82051
20
20
  nucliadb_models/security.py,sha256=RewdzQ55nPZ9V7B0NX9KHeWg6B4Hg_RkeiFv2TQyrjs,1402
21
21
  nucliadb_models/synonyms.py,sha256=qXTPHfspMgw22hCjAOdFOIoUsRZ7Ju3JW-Lw9Nz4VaI,942
22
22
  nucliadb_models/text.py,sha256=EdKn90H9wIEIclH_ZQ9casLF3C6D0oxC53RBtMe4Pew,3604
@@ -27,12 +27,12 @@ nucliadb_models/vectorsets.py,sha256=avxwO9JPX2k5sCniuNhh2MSsP7aRNvf1eB1-h3-Ju1o
27
27
  nucliadb_models/writer.py,sha256=OLtCGmicpVf56pXi2_myTAvStpnaBKKOVNtZzHkKKtw,8472
28
28
  nucliadb_models/agents/ingestion.py,sha256=mV7gV6VpYg4VNpc59K3275TMUJZbUzeUnp3SZzO5uxY,3137
29
29
  nucliadb_models/graph/__init__.py,sha256=eu_1UK7GlBQRg5IRUqJkxVMcBxkXeqX4SZL6fuvwjDg,897
30
- nucliadb_models/graph/requests.py,sha256=3orvG3NOQJinBigxQZvnzoAJY-X9pDpQuaf5Brz1eNI,7544
30
+ nucliadb_models/graph/requests.py,sha256=W0Dy1AV2H1JJiweoCRqzsvMReNksNZDd4QXzKWNScH4,7544
31
31
  nucliadb_models/graph/responses.py,sha256=3aimAHrd3YW1BXHU_ZXRoidlccRtkCcREkfCNotqgIQ,1651
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.post3852.dist-info/METADATA,sha256=pCUQUo2EgKcZOVFuwCVCwBSrvZvbSytZUuJY9DdCKT8,759
36
- nucliadb_models-6.3.4.post3852.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
37
- nucliadb_models-6.3.4.post3852.dist-info/top_level.txt,sha256=UrY1I8oeovIRwkXLYplssTrxQdUjhSEFDFbnwaIV3tA,16
38
- nucliadb_models-6.3.4.post3852.dist-info/RECORD,,
35
+ nucliadb_models-6.3.5.post3879.dist-info/METADATA,sha256=mU3gYi_fmEy_LwSrghl8T8edv8xkpxNJeOjo1n-45XU,759
36
+ nucliadb_models-6.3.5.post3879.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
37
+ nucliadb_models-6.3.5.post3879.dist-info/top_level.txt,sha256=UrY1I8oeovIRwkXLYplssTrxQdUjhSEFDFbnwaIV3tA,16
38
+ nucliadb_models-6.3.5.post3879.dist-info/RECORD,,