meilisearch-python-sdk 3.5.0__py3-none-any.whl → 3.6.0__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 meilisearch-python-sdk might be problematic. Click here for more details.

@@ -24,12 +24,24 @@ class FacetSearchResults(CamelBase):
24
24
 
25
25
  class Hybrid(CamelBase):
26
26
  semantic_ratio: float
27
- embedder: str | None = None
27
+ embedder: str
28
+
29
+
30
+ class MergeFacets(CamelBase):
31
+ max_values_per_facet: int
28
32
 
29
33
 
30
34
  class Federation(CamelBase):
31
35
  limit: int = 20
32
36
  offset: int = 0
37
+ facets_by_index: dict[str, list[str]] | None = None
38
+
39
+
40
+ class FederationMerged(CamelBase):
41
+ limit: int = 20
42
+ offset: int = 0
43
+ facets_by_index: dict[str, list[str]] | None = None
44
+ merge_facets: MergeFacets | None
33
45
 
34
46
 
35
47
  class SearchParams(CamelBase):
@@ -99,6 +111,7 @@ class SearchResultsFederated(CamelBase, Generic[T]):
99
111
  page: int | None = None
100
112
  hits_per_page: int | None = None
101
113
  semantic_hit_count: int | None = None
114
+ facets_by_index: JsonDict | None = None
102
115
 
103
116
 
104
117
  class SimilarSearchResults(CamelBase, Generic[T]):
@@ -49,18 +49,20 @@ class Distribution(CamelBase):
49
49
  class OpenAiEmbedder(CamelBase):
50
50
  source: str = "openAi"
51
51
  url: str | None = None
52
- model: str | None = None # Defaults to text-embedding-ada-002
53
- dimensions: int | None = None # Uses the model default
54
- api_key: str | None = None # Can be provided through a CLI option or environment variable
52
+ model: str | None = None
53
+ dimensions: int | None = None
54
+ api_key: str | None = None
55
55
  document_template: str | None = None
56
+ document_template_max_bytes: int | None = None
56
57
  distribution: Distribution | None = None
57
58
 
58
59
 
59
60
  class HuggingFaceEmbedder(CamelBase):
60
61
  source: str = "huggingFace"
61
- model: str | None = None # Defaults to BAAI/bge-base-en-v1.5
62
+ model: str | None = None
62
63
  revision: str | None = None
63
64
  document_template: str | None = None
65
+ document_template_max_bytes: int | None = None
64
66
  distribution: Distribution | None = None
65
67
 
66
68
 
@@ -71,6 +73,7 @@ class OllamaEmbedder(CamelBase):
71
73
  model: str
72
74
  dimensions: int | None = None
73
75
  document_template: str | None = None
76
+ document_template_max_bytes: int | None = None
74
77
  distribution: Distribution | None = None
75
78
 
76
79
 
@@ -80,6 +83,7 @@ class RestEmbedder(CamelBase):
80
83
  api_key: str | None = None
81
84
  dimensions: int
82
85
  document_template: str | None = None
86
+ document_template_max_bytes: int | None = None
83
87
  distribution: Distribution | None = None
84
88
  headers: JsonDict | None = None
85
89
  request: JsonDict
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: meilisearch-python-sdk
3
- Version: 3.5.0
3
+ Version: 3.6.0
4
4
  Summary: A Python client providing both async and sync support for the Meilisearch API
5
5
  Project-URL: repository, https://github.com/sanders41/meilisearch-python-sdk
6
6
  Project-URL: homepage, https://github.com/sanders41/meilisearch-python-sdk
@@ -37,10 +37,11 @@ Classifier: Programming Language :: Python :: 3.9
37
37
  Classifier: Programming Language :: Python :: 3.10
38
38
  Classifier: Programming Language :: Python :: 3.11
39
39
  Classifier: Programming Language :: Python :: 3.12
40
+ Classifier: Programming Language :: Python :: 3.13
40
41
  Classifier: Typing :: Typed
41
42
  Requires-Python: >=3.9
42
43
  Requires-Dist: aiofiles>=0.7
43
- Requires-Dist: camel-converter>=1.0.0
44
+ Requires-Dist: camel-converter[pydantic]>=1.0.0
44
45
  Requires-Dist: eval-type-backport>=0.2.0; python_version < '3.10'
45
46
  Requires-Dist: httpx[http2]>=0.17
46
47
  Requires-Dist: pydantic>=2.0.0
@@ -1,12 +1,12 @@
1
1
  meilisearch_python_sdk/__init__.py,sha256=SB0Jlm6FwT13J9xasZKseZzTWBk0hkfe1CWyWmIIZnE,258
2
- meilisearch_python_sdk/_client.py,sha256=8QSMTzpyIZQ9dOIsvhPNtvdbBfIk8e1LCBtE5V9Qdak,70166
2
+ meilisearch_python_sdk/_client.py,sha256=HvZ74xfKtOfxwujsj0INdlBycW2vMakQfWw5IbTrpX8,70330
3
3
  meilisearch_python_sdk/_http_requests.py,sha256=TwpqsOvfgaJ1lQXwam1q1_UC6NvRWy4m9W3c5KNe0RI,6741
4
- meilisearch_python_sdk/_task.py,sha256=dB0cpX1u7HDM1OW_TC8gSiGJe985bNCz7hPMZW_qogY,12352
4
+ meilisearch_python_sdk/_task.py,sha256=WpUwj-CuFtMbbljNOrFUGzp41k5LuZ_riw08IWLwp4M,12347
5
5
  meilisearch_python_sdk/_utils.py,sha256=k6SYMJSiVjfF-vlhQRMaE1ziJsVf5FrL94mFwrMfdLY,957
6
- meilisearch_python_sdk/_version.py,sha256=xrNY8UGfJPo6Zzc_jnHNnSunmOWjJ2loI3iSY-UCmY8,18
7
- meilisearch_python_sdk/decorators.py,sha256=hNrMvuLJKPNQDULkL1yMZYG7A9OVYbT7nass4URtEZM,8684
6
+ meilisearch_python_sdk/_version.py,sha256=hT6veETpVNpRqhpKNh8-nn9DTHHxeJX2gMeYNPF1jGk,18
7
+ meilisearch_python_sdk/decorators.py,sha256=njMn40P-qOzKGGQLCDpsBKWyj2ai10s4XG4IUBSHoD4,8674
8
8
  meilisearch_python_sdk/errors.py,sha256=0sAKYt47-zFpKsEU6W8Qnvf4uHBynKtlGPpPl-5laSA,2085
9
- meilisearch_python_sdk/index.py,sha256=cr1VpUih5LabDL0yTiBP7wJnDIOkZd21ewDTojcdah0,333340
9
+ meilisearch_python_sdk/index.py,sha256=RWbJAKajw_wI96Zifjc4crmn0HDvwxfUiPYobIXx7p8,330996
10
10
  meilisearch_python_sdk/json_handler.py,sha256=q_87zSnJfDNuVEI9cEvuOQOGBC7AGWJMEqCh2kGAAqA,2107
11
11
  meilisearch_python_sdk/plugins.py,sha256=YySzTuVr4IrogTgrP8q-gZPsew8TwedopjWnTj5eV48,3607
12
12
  meilisearch_python_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -16,11 +16,11 @@ meilisearch_python_sdk/models/client.py,sha256=wBZzO1n6DDQq7F9Acf1rCWYEYRY19g04u
16
16
  meilisearch_python_sdk/models/documents.py,sha256=eT3FHrPND-g2IzNRyOHQApTTJ1WbFcGlqgxZ6aKrRgI,247
17
17
  meilisearch_python_sdk/models/health.py,sha256=hvruti7ylsk7bAh8RPOhTPcRrjx6MPgdkDFX9vZ5Qks,95
18
18
  meilisearch_python_sdk/models/index.py,sha256=GGwuhx5Wsn5iyj1ov3f4eWjfw6ttM8WzvyrnSsC4vRg,1132
19
- meilisearch_python_sdk/models/search.py,sha256=LH64_TunWxfCJOhxMCnFA-bMZOf7fVx6s3G9qhnfDTc,3121
20
- meilisearch_python_sdk/models/settings.py,sha256=A8SocaQldrdo1chvxhS522zZR4foJcvZy7Cg2GiBi_M,3968
19
+ meilisearch_python_sdk/models/search.py,sha256=Wmv8LmhwMVGoZnndkhw16RuoxxC203jlcOO2Q_VZIU4,3439
20
+ meilisearch_python_sdk/models/settings.py,sha256=wg9nmmZd9cP2WrgtHqIgLXdJH4BlCmAuS793QRK6cjc,4007
21
21
  meilisearch_python_sdk/models/task.py,sha256=P3NLaZhrY8H02Q9lDEkoq-3Z6_qGESglOxs4dNRyMWg,2100
22
22
  meilisearch_python_sdk/models/version.py,sha256=YDu-aj5H-d6nSaWRTXzlwWghmZAoiknaw250UyEd48I,215
23
- meilisearch_python_sdk-3.5.0.dist-info/METADATA,sha256=nyBheqJZbF0Z5kbO0Pber_hSqMk3rgPbuk8kq7ifAIM,9710
24
- meilisearch_python_sdk-3.5.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
25
- meilisearch_python_sdk-3.5.0.dist-info/licenses/LICENSE,sha256=xVzevI1TrlKfM0plmJ7vfK1Muu0V9n-dGE8RnDrOFlM,1069
26
- meilisearch_python_sdk-3.5.0.dist-info/RECORD,,
23
+ meilisearch_python_sdk-3.6.0.dist-info/METADATA,sha256=LDdB-Iz1FUXpvVoAqfCFL1vsA30zF4-BZiH3ANJiu3I,9771
24
+ meilisearch_python_sdk-3.6.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
25
+ meilisearch_python_sdk-3.6.0.dist-info/licenses/LICENSE,sha256=xVzevI1TrlKfM0plmJ7vfK1Muu0V9n-dGE8RnDrOFlM,1069
26
+ meilisearch_python_sdk-3.6.0.dist-info/RECORD,,