nucliadb-models 6.9.0.post5097__py3-none-any.whl → 6.9.0.post5110__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/external_index_providers.py +5 -19
- {nucliadb_models-6.9.0.post5097.dist-info → nucliadb_models-6.9.0.post5110.dist-info}/METADATA +1 -1
- {nucliadb_models-6.9.0.post5097.dist-info → nucliadb_models-6.9.0.post5110.dist-info}/RECORD +5 -5
- {nucliadb_models-6.9.0.post5097.dist-info → nucliadb_models-6.9.0.post5110.dist-info}/WHEEL +0 -0
- {nucliadb_models-6.9.0.post5097.dist-info → nucliadb_models-6.9.0.post5110.dist-info}/top_level.txt +0 -0
|
@@ -22,32 +22,18 @@ from pydantic import BaseModel
|
|
|
22
22
|
class ExternalIndexProviderType(str, Enum):
|
|
23
23
|
"""
|
|
24
24
|
Enum for the different external index providers.
|
|
25
|
-
For now
|
|
25
|
+
For now none are supported, but we may add some in the future.
|
|
26
26
|
"""
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
UNSET = "unset"
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
class ExternalIndexProviderBase(BaseModel):
|
|
32
32
|
type: ExternalIndexProviderType
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
class
|
|
36
|
-
|
|
37
|
-
List of cloud providers supported by Pinecone serverless vector database.
|
|
38
|
-
"""
|
|
39
|
-
|
|
40
|
-
AWS_US_EAST_1 = "aws_us_east_1"
|
|
41
|
-
AWS_US_WEST_2 = "aws_us_west_2"
|
|
42
|
-
AWS_EU_WEST_1 = "aws_eu_west_1"
|
|
43
|
-
GCP_US_CENTRAL1 = "gcp_us_central1"
|
|
44
|
-
AZURE_EASTUS2 = "azure_eastus2"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
class PineconeIndexProvider(ExternalIndexProviderBase):
|
|
48
|
-
type: ExternalIndexProviderType = ExternalIndexProviderType.PINECONE
|
|
49
|
-
api_key: str
|
|
50
|
-
serverless_cloud: PineconeServerlessCloud
|
|
35
|
+
class DummyIndexProvider(ExternalIndexProviderBase):
|
|
36
|
+
type: ExternalIndexProviderType = ExternalIndexProviderType.UNSET
|
|
51
37
|
|
|
52
38
|
|
|
53
|
-
ExternalIndexProvider = Union[
|
|
39
|
+
ExternalIndexProvider = Union[DummyIndexProvider,]
|
{nucliadb_models-6.9.0.post5097.dist-info → nucliadb_models-6.9.0.post5110.dist-info}/RECORD
RENAMED
|
@@ -5,7 +5,7 @@ nucliadb_models/content_types.py,sha256=36Ga-iGf4ivCqgtXC7imFgegrwHB117s9eqP62Jt
|
|
|
5
5
|
nucliadb_models/conversation.py,sha256=t1u7CBMLJxoNad1RPeh9dmsXgMOzs2NCIDvhJa4RYxQ,5121
|
|
6
6
|
nucliadb_models/entities.py,sha256=i-7Y8qmFRRTih5zw0ajv1U_iiXexe66M3TK8hUikQZk,2356
|
|
7
7
|
nucliadb_models/export_import.py,sha256=mNm9IArOLnC6TLupkwqVFhxD5d08mpIVOVFneECv8UA,1073
|
|
8
|
-
nucliadb_models/external_index_providers.py,sha256=
|
|
8
|
+
nucliadb_models/external_index_providers.py,sha256=pL3leo4MkuJOnKlU1Sg6GT_mnK_VUBxGui-RPmDYVWU,1126
|
|
9
9
|
nucliadb_models/extracted.py,sha256=Owz7LC3le3Dvau3TtRiO8NY84meOf6IxN-RrOqqpMPs,5593
|
|
10
10
|
nucliadb_models/file.py,sha256=tXtgB9c7i2ADsnJ7HdbXyroAmXadGvOeA49htBh7BZo,2263
|
|
11
11
|
nucliadb_models/filters.py,sha256=NQI2-4AFzzJuZy8NeY3jXlTbbU5wxiwMCP-5DrD-7lE,14759
|
|
@@ -33,7 +33,7 @@ nucliadb_models/graph/responses.py,sha256=Sdq8OgFAL1YT-1lJyLLrkqcScvj7YTEqAUwQ-k
|
|
|
33
33
|
nucliadb_models/internal/__init__.py,sha256=zG33bUz1rHFPtvqQPWn4rDwBJt3FJodGuQYD45quiQg,583
|
|
34
34
|
nucliadb_models/internal/predict.py,sha256=Pnx6MmLfK65eExe1XnVxqmSlvMwdowewwks9BOEoqMw,2029
|
|
35
35
|
nucliadb_models/internal/shards.py,sha256=__y1OZtWGiNcPQEWfSFOj8yw458WGi7mM4vZe0K-L1Y,1691
|
|
36
|
-
nucliadb_models-6.9.0.
|
|
37
|
-
nucliadb_models-6.9.0.
|
|
38
|
-
nucliadb_models-6.9.0.
|
|
39
|
-
nucliadb_models-6.9.0.
|
|
36
|
+
nucliadb_models-6.9.0.post5110.dist-info/METADATA,sha256=mBlrs54rIJUAy6NNcL43rbOqpwyxZkGWu1SmsMiTvrg,794
|
|
37
|
+
nucliadb_models-6.9.0.post5110.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
38
|
+
nucliadb_models-6.9.0.post5110.dist-info/top_level.txt,sha256=UrY1I8oeovIRwkXLYplssTrxQdUjhSEFDFbnwaIV3tA,16
|
|
39
|
+
nucliadb_models-6.9.0.post5110.dist-info/RECORD,,
|
|
File without changes
|
{nucliadb_models-6.9.0.post5097.dist-info → nucliadb_models-6.9.0.post5110.dist-info}/top_level.txt
RENAMED
|
File without changes
|