nucliadb 6.9.2.post5260__py3-none-any.whl → 6.9.2.post5264__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 might be problematic. Click here for more details.
- nucliadb/reader/api/v1/learning_config.py +21 -0
- {nucliadb-6.9.2.post5260.dist-info → nucliadb-6.9.2.post5264.dist-info}/METADATA +6 -6
- {nucliadb-6.9.2.post5260.dist-info → nucliadb-6.9.2.post5264.dist-info}/RECORD +6 -6
- {nucliadb-6.9.2.post5260.dist-info → nucliadb-6.9.2.post5264.dist-info}/WHEEL +0 -0
- {nucliadb-6.9.2.post5260.dist-info → nucliadb-6.9.2.post5264.dist-info}/entry_points.txt +0 -0
- {nucliadb-6.9.2.post5260.dist-info → nucliadb-6.9.2.post5264.dist-info}/top_level.txt +0 -0
|
@@ -128,6 +128,27 @@ async def get_schema_for_configuration_updates(
|
|
|
128
128
|
)
|
|
129
129
|
|
|
130
130
|
|
|
131
|
+
@api.get(
|
|
132
|
+
path=f"/{KB_PREFIX}/{{kbid}}/generative_providers",
|
|
133
|
+
status_code=200,
|
|
134
|
+
summary="Available models for a knowledge box",
|
|
135
|
+
description="Get all available models for a knowledge box grouped by provider",
|
|
136
|
+
response_model=None,
|
|
137
|
+
tags=["Models"],
|
|
138
|
+
)
|
|
139
|
+
@requires_one([NucliaDBRoles.READER, NucliaDBRoles.MANAGER])
|
|
140
|
+
@version(1)
|
|
141
|
+
async def get_models_group_by_providers(
|
|
142
|
+
request: Request, kbid: str, x_nucliadb_account: str = Header(default="", include_in_schema=False)
|
|
143
|
+
):
|
|
144
|
+
return await learning_config_proxy(
|
|
145
|
+
request,
|
|
146
|
+
"GET",
|
|
147
|
+
f"/generative_providers/{kbid}",
|
|
148
|
+
headers={"account-id": x_nucliadb_account},
|
|
149
|
+
)
|
|
150
|
+
|
|
151
|
+
|
|
131
152
|
@api.get(
|
|
132
153
|
path=f"/nua/schema",
|
|
133
154
|
status_code=200,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nucliadb
|
|
3
|
-
Version: 6.9.2.
|
|
3
|
+
Version: 6.9.2.post5264
|
|
4
4
|
Summary: NucliaDB
|
|
5
5
|
Author-email: Nuclia <nucliadb@nuclia.com>
|
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
|
@@ -18,11 +18,11 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
18
18
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
19
19
|
Requires-Python: <4,>=3.10
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
|
-
Requires-Dist: nucliadb-telemetry[all]>=6.9.2.
|
|
22
|
-
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.9.2.
|
|
23
|
-
Requires-Dist: nucliadb-protos>=6.9.2.
|
|
24
|
-
Requires-Dist: nucliadb-models>=6.9.2.
|
|
25
|
-
Requires-Dist: nidx-protos>=6.9.2.
|
|
21
|
+
Requires-Dist: nucliadb-telemetry[all]>=6.9.2.post5264
|
|
22
|
+
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.9.2.post5264
|
|
23
|
+
Requires-Dist: nucliadb-protos>=6.9.2.post5264
|
|
24
|
+
Requires-Dist: nucliadb-models>=6.9.2.post5264
|
|
25
|
+
Requires-Dist: nidx-protos>=6.9.2.post5264
|
|
26
26
|
Requires-Dist: nucliadb-admin-assets>=1.0.0.post1224
|
|
27
27
|
Requires-Dist: nuclia-models>=0.50.0
|
|
28
28
|
Requires-Dist: uvicorn[standard]
|
|
@@ -207,7 +207,7 @@ nucliadb/reader/api/v1/__init__.py,sha256=ieP8lsCCwG66Jupv8II5MSTj6nh3eCtLcF4utH
|
|
|
207
207
|
nucliadb/reader/api/v1/download.py,sha256=F48YM3BPwuHwDgYk0jjRHHJHh732QUb4nCAS5xyNqzg,10819
|
|
208
208
|
nucliadb/reader/api/v1/export_import.py,sha256=x4VBNDFjnlY1nIt5kdq0eZTB_DeRzGzT8T7uB7wUhNU,6448
|
|
209
209
|
nucliadb/reader/api/v1/knowledgebox.py,sha256=lmKDGbpDC30XTH1yhDWwrHdV8-uc5KGfI73zlmxImGA,4973
|
|
210
|
-
nucliadb/reader/api/v1/learning_config.py,sha256=
|
|
210
|
+
nucliadb/reader/api/v1/learning_config.py,sha256=BIhhBN6NlpcoqqmLmk3YThqa49kLsypuAVRTXXj1ZEY,7476
|
|
211
211
|
nucliadb/reader/api/v1/resource.py,sha256=WTBIEywfHfy4sIffnVm9s__3--JpHi9hprVpK0Ddd04,14164
|
|
212
212
|
nucliadb/reader/api/v1/router.py,sha256=eyNmEGSP9zHkCIG5XlAXl6sukq950B7gFT3X2peMtIE,1011
|
|
213
213
|
nucliadb/reader/api/v1/services.py,sha256=Fcj4fRDBNnIwnf5Q3VZxpP_6UwdPYOtyEZUGr9_lhqo,13438
|
|
@@ -385,8 +385,8 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
|
|
|
385
385
|
nucliadb/writer/tus/s3.py,sha256=vu1BGg4VqJ_x2P1u2BxqPKlSfw5orT_a3R-Ln5oPUpU,8483
|
|
386
386
|
nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
|
|
387
387
|
nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
|
|
388
|
-
nucliadb-6.9.2.
|
|
389
|
-
nucliadb-6.9.2.
|
|
390
|
-
nucliadb-6.9.2.
|
|
391
|
-
nucliadb-6.9.2.
|
|
392
|
-
nucliadb-6.9.2.
|
|
388
|
+
nucliadb-6.9.2.post5264.dist-info/METADATA,sha256=epYSJeMAEPTSAq-9O6CX5OKwDROuWwHK1zfNi8s_7Ak,4118
|
|
389
|
+
nucliadb-6.9.2.post5264.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
390
|
+
nucliadb-6.9.2.post5264.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
|
|
391
|
+
nucliadb-6.9.2.post5264.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
|
|
392
|
+
nucliadb-6.9.2.post5264.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|