Spaces:
Running
Running
Kang Suhyun
commited on
Commit
•
58ea8e3
1
Parent(s):
2667b32
[#115|#116] Reintroduce Gemini (#118)
Browse files* gemini
* install google-cloud-aiplatform
* review
- model.py +17 -0
- poetry.lock +166 -1
- pyproject.toml +1 -0
- requirements.txt +5 -0
model.py
CHANGED
@@ -118,6 +118,21 @@ Text:
|
|
118 |
return result.removesuffix(suffix).strip()
|
119 |
|
120 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
class EeveModel(Model):
|
122 |
|
123 |
def _get_completion_kwargs(self):
|
@@ -145,6 +160,8 @@ supported_models: List[Model] = [
|
|
145 |
AnthropicModel("claude-3-opus-20240229"),
|
146 |
AnthropicModel("claude-3-sonnet-20240229"),
|
147 |
AnthropicModel("claude-3-haiku-20240307"),
|
|
|
|
|
148 |
Model("mistral-small-2402", provider="mistral"),
|
149 |
Model("mistral-large-2402", provider="mistral"),
|
150 |
Model("llama3-8b-8192", provider="groq"),
|
|
|
118 |
return result.removesuffix(suffix).strip()
|
119 |
|
120 |
|
121 |
+
class VertexModel(Model):
|
122 |
+
|
123 |
+
def __init__(self, name: str, vertex_credentials: str):
|
124 |
+
super().__init__(name, provider="vertex_ai")
|
125 |
+
self.vertex_credentials = vertex_credentials
|
126 |
+
|
127 |
+
def _get_completion_kwargs(self):
|
128 |
+
return {
|
129 |
+
"response_format": {
|
130 |
+
"type": "json_object"
|
131 |
+
},
|
132 |
+
"vertex_credentials": self.vertex_credentials
|
133 |
+
}
|
134 |
+
|
135 |
+
|
136 |
class EeveModel(Model):
|
137 |
|
138 |
def _get_completion_kwargs(self):
|
|
|
160 |
AnthropicModel("claude-3-opus-20240229"),
|
161 |
AnthropicModel("claude-3-sonnet-20240229"),
|
162 |
AnthropicModel("claude-3-haiku-20240307"),
|
163 |
+
VertexModel("gemini-1.5-pro-001",
|
164 |
+
vertex_credentials=os.getenv("VERTEX_CREDENTIALS")),
|
165 |
Model("mistral-small-2402", provider="mistral"),
|
166 |
Model("mistral-large-2402", provider="mistral"),
|
167 |
Model("llama3-8b-8192", provider="groq"),
|
poetry.lock
CHANGED
@@ -615,6 +615,17 @@ idna = ["idna (>=3.6)"]
|
|
615 |
trio = ["trio (>=0.23)"]
|
616 |
wmi = ["wmi (>=1.5.1)"]
|
617 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
618 |
[[package]]
|
619 |
name = "email-validator"
|
620 |
version = "2.1.1"
|
@@ -1007,6 +1018,85 @@ files = [
|
|
1007 |
google-auth = "*"
|
1008 |
httplib2 = ">=0.19.0"
|
1009 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1010 |
[[package]]
|
1011 |
name = "google-cloud-core"
|
1012 |
version = "2.4.1"
|
@@ -1043,6 +1133,24 @@ google-cloud-core = ">=1.4.1,<3.0.0dev"
|
|
1043 |
proto-plus = {version = ">=1.22.2,<2.0.0dev", markers = "python_version >= \"3.11\""}
|
1044 |
protobuf = ">=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.0 || >4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<5.0.0dev"
|
1045 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1046 |
[[package]]
|
1047 |
name = "google-cloud-secret-manager"
|
1048 |
version = "2.20.0"
|
@@ -3225,6 +3333,63 @@ files = [
|
|
3225 |
dev = ["Django (>=1.11)", "check-manifest", "colorama (<=0.4.1)", "coverage", "flake8", "nose2", "readme-renderer (<25.0)", "tox", "wheel", "zest.releaser[recommended]"]
|
3226 |
doc = ["Sphinx", "sphinx-rtd-theme"]
|
3227 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3228 |
[[package]]
|
3229 |
name = "shellingham"
|
3230 |
version = "1.5.4"
|
@@ -4013,4 +4178,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools",
|
|
4013 |
[metadata]
|
4014 |
lock-version = "2.0"
|
4015 |
python-versions = "^3.11"
|
4016 |
-
content-hash = "
|
|
|
615 |
trio = ["trio (>=0.23)"]
|
616 |
wmi = ["wmi (>=1.5.1)"]
|
617 |
|
618 |
+
[[package]]
|
619 |
+
name = "docstring-parser"
|
620 |
+
version = "0.16"
|
621 |
+
description = "Parse Python docstrings in reST, Google and Numpydoc format"
|
622 |
+
optional = false
|
623 |
+
python-versions = ">=3.6,<4.0"
|
624 |
+
files = [
|
625 |
+
{file = "docstring_parser-0.16-py3-none-any.whl", hash = "sha256:bf0a1387354d3691d102edef7ec124f219ef639982d096e26e3b60aeffa90637"},
|
626 |
+
{file = "docstring_parser-0.16.tar.gz", hash = "sha256:538beabd0af1e2db0146b6bd3caa526c35a34d61af9fd2887f3a8a27a739aa6e"},
|
627 |
+
]
|
628 |
+
|
629 |
[[package]]
|
630 |
name = "email-validator"
|
631 |
version = "2.1.1"
|
|
|
1018 |
google-auth = "*"
|
1019 |
httplib2 = ">=0.19.0"
|
1020 |
|
1021 |
+
[[package]]
|
1022 |
+
name = "google-cloud-aiplatform"
|
1023 |
+
version = "1.57.0"
|
1024 |
+
description = "Vertex AI API client library"
|
1025 |
+
optional = false
|
1026 |
+
python-versions = ">=3.8"
|
1027 |
+
files = [
|
1028 |
+
{file = "google-cloud-aiplatform-1.57.0.tar.gz", hash = "sha256:113905f100cb0a9ad744a2445a7675f92f28600233ba499614aa704d11a809b7"},
|
1029 |
+
{file = "google_cloud_aiplatform-1.57.0-py2.py3-none-any.whl", hash = "sha256:ca5391a56e0cc8f4ed39a2beb7be02f51936ff04fd5304775a72a86c345d0e47"},
|
1030 |
+
]
|
1031 |
+
|
1032 |
+
[package.dependencies]
|
1033 |
+
docstring-parser = "<1"
|
1034 |
+
google-api-core = {version = ">=1.34.1,<2.0.dev0 || >=2.8.dev0,<3.0.0dev", extras = ["grpc"]}
|
1035 |
+
google-auth = ">=2.14.1,<3.0.0dev"
|
1036 |
+
google-cloud-bigquery = ">=1.15.0,<3.20.0 || >3.20.0,<4.0.0dev"
|
1037 |
+
google-cloud-resource-manager = ">=1.3.3,<3.0.0dev"
|
1038 |
+
google-cloud-storage = ">=1.32.0,<3.0.0dev"
|
1039 |
+
packaging = ">=14.3"
|
1040 |
+
proto-plus = ">=1.22.0,<2.0.0dev"
|
1041 |
+
protobuf = ">=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.0 || >4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<5.0.0dev"
|
1042 |
+
pydantic = "<3"
|
1043 |
+
shapely = "<3.0.0dev"
|
1044 |
+
|
1045 |
+
[package.extras]
|
1046 |
+
autologging = ["mlflow (>=1.27.0,<=2.1.1)"]
|
1047 |
+
cloud-profiler = ["tensorboard-plugin-profile (>=2.4.0,<3.0.0dev)", "tensorflow (>=2.4.0,<3.0.0dev)", "werkzeug (>=2.0.0,<2.1.0dev)"]
|
1048 |
+
datasets = ["pyarrow (>=10.0.1)", "pyarrow (>=14.0.0)", "pyarrow (>=3.0.0,<8.0dev)"]
|
1049 |
+
endpoint = ["requests (>=2.28.1)"]
|
1050 |
+
full = ["cloudpickle (<3.0)", "docker (>=5.0.3)", "explainable-ai-sdk (>=1.0.0)", "fastapi (>=0.71.0,<=0.109.1)", "google-cloud-bigquery", "google-cloud-bigquery-storage", "google-cloud-logging (<4.0)", "google-vizier (>=0.1.6)", "httpx (>=0.23.0,<0.25.0)", "immutabledict", "lit-nlp (==0.4.0)", "mlflow (>=1.27.0,<=2.1.1)", "nest-asyncio (>=1.0.0,<1.6.0)", "numpy (>=1.15.0)", "pandas (>=1.0.0)", "pandas (>=1.0.0,<2.2.0)", "pyarrow (>=10.0.1)", "pyarrow (>=14.0.0)", "pyarrow (>=3.0.0,<8.0dev)", "pyarrow (>=6.0.1)", "pydantic (<2)", "pyyaml (>=5.3.1,<7)", "ray[default] (>=2.4,<2.5.dev0 || >2.9.0,!=2.9.1,!=2.9.2,<=2.9.3)", "ray[default] (>=2.5,<=2.9.3)", "requests (>=2.28.1)", "setuptools (<70.0.0)", "starlette (>=0.17.1)", "tensorboard-plugin-profile (>=2.4.0,<3.0.0dev)", "tensorflow (>=2.3.0,<3.0.0dev)", "tensorflow (>=2.3.0,<3.0.0dev)", "tensorflow (>=2.4.0,<3.0.0dev)", "urllib3 (>=1.21.1,<1.27)", "uvicorn[standard] (>=0.16.0)", "werkzeug (>=2.0.0,<2.1.0dev)"]
|
1051 |
+
langchain = ["langchain (>=0.1.16,<0.3)", "langchain-core (<0.2)", "langchain-google-vertexai (<2)", "openinference-instrumentation-langchain (>=0.1.19,<0.2)", "tenacity (<=8.3)"]
|
1052 |
+
langchain-testing = ["absl-py", "cloudpickle (>=3.0,<4.0)", "langchain (>=0.1.16,<0.3)", "langchain-core (<0.2)", "langchain-google-vertexai (<2)", "openinference-instrumentation-langchain (>=0.1.19,<0.2)", "opentelemetry-exporter-gcp-trace (<2)", "opentelemetry-sdk (<2)", "pydantic (>=2.6.3,<3)", "pytest-xdist", "tenacity (<=8.3)"]
|
1053 |
+
lit = ["explainable-ai-sdk (>=1.0.0)", "lit-nlp (==0.4.0)", "pandas (>=1.0.0)", "tensorflow (>=2.3.0,<3.0.0dev)"]
|
1054 |
+
metadata = ["numpy (>=1.15.0)", "pandas (>=1.0.0)"]
|
1055 |
+
pipelines = ["pyyaml (>=5.3.1,<7)"]
|
1056 |
+
prediction = ["docker (>=5.0.3)", "fastapi (>=0.71.0,<=0.109.1)", "httpx (>=0.23.0,<0.25.0)", "starlette (>=0.17.1)", "uvicorn[standard] (>=0.16.0)"]
|
1057 |
+
preview = ["cloudpickle (<3.0)", "google-cloud-logging (<4.0)"]
|
1058 |
+
private-endpoints = ["requests (>=2.28.1)", "urllib3 (>=1.21.1,<1.27)"]
|
1059 |
+
rapid-evaluation = ["nest-asyncio (>=1.0.0,<1.6.0)", "pandas (>=1.0.0,<2.2.0)"]
|
1060 |
+
ray = ["google-cloud-bigquery", "google-cloud-bigquery-storage", "immutabledict", "pandas (>=1.0.0,<2.2.0)", "pyarrow (>=6.0.1)", "pydantic (<2)", "ray[default] (>=2.4,<2.5.dev0 || >2.9.0,!=2.9.1,!=2.9.2,<=2.9.3)", "ray[default] (>=2.5,<=2.9.3)", "setuptools (<70.0.0)"]
|
1061 |
+
ray-testing = ["google-cloud-bigquery", "google-cloud-bigquery-storage", "immutabledict", "pandas (>=1.0.0,<2.2.0)", "pyarrow (>=6.0.1)", "pydantic (<2)", "pytest-xdist", "ray[default] (>=2.4,<2.5.dev0 || >2.9.0,!=2.9.1,!=2.9.2,<=2.9.3)", "ray[default] (>=2.5,<=2.9.3)", "ray[train] (==2.9.3)", "scikit-learn", "setuptools (<70.0.0)", "tensorflow", "torch (>=2.0.0,<2.1.0)", "xgboost", "xgboost-ray"]
|
1062 |
+
reasoningengine = ["cloudpickle (>=3.0,<4.0)", "opentelemetry-exporter-gcp-trace (<2)", "opentelemetry-sdk (<2)", "pydantic (>=2.6.3,<3)"]
|
1063 |
+
tensorboard = ["tensorboard-plugin-profile (>=2.4.0,<3.0.0dev)", "tensorflow (>=2.3.0,<3.0.0dev)", "tensorflow (>=2.4.0,<3.0.0dev)", "werkzeug (>=2.0.0,<2.1.0dev)"]
|
1064 |
+
testing = ["bigframes", "cloudpickle (<3.0)", "docker (>=5.0.3)", "explainable-ai-sdk (>=1.0.0)", "fastapi (>=0.71.0,<=0.109.1)", "google-api-core (>=2.11,<3.0.0)", "google-cloud-bigquery", "google-cloud-bigquery-storage", "google-cloud-logging (<4.0)", "google-vizier (>=0.1.6)", "grpcio-testing", "httpx (>=0.23.0,<0.25.0)", "immutabledict", "ipython", "kfp (>=2.6.0,<3.0.0)", "lit-nlp (==0.4.0)", "mlflow (>=1.27.0,<=2.1.1)", "nest-asyncio (>=1.0.0,<1.6.0)", "nltk", "numpy (>=1.15.0)", "pandas (>=1.0.0)", "pandas (>=1.0.0,<2.2.0)", "pyarrow (>=10.0.1)", "pyarrow (>=14.0.0)", "pyarrow (>=3.0.0,<8.0dev)", "pyarrow (>=6.0.1)", "pydantic (<2)", "pyfakefs", "pytest-asyncio", "pytest-xdist", "pyyaml (>=5.3.1,<7)", "ray[default] (>=2.4,<2.5.dev0 || >2.9.0,!=2.9.1,!=2.9.2,<=2.9.3)", "ray[default] (>=2.5,<=2.9.3)", "requests (>=2.28.1)", "requests-toolbelt (<1.0.0)", "scikit-learn", "sentencepiece (>=0.2.0)", "setuptools (<70.0.0)", "starlette (>=0.17.1)", "tensorboard-plugin-profile (>=2.4.0,<3.0.0dev)", "tensorflow (==2.13.0)", "tensorflow (==2.16.1)", "tensorflow (>=2.3.0,<3.0.0dev)", "tensorflow (>=2.3.0,<3.0.0dev)", "tensorflow (>=2.4.0,<3.0.0dev)", "torch (>=2.0.0,<2.1.0)", "torch (>=2.2.0)", "urllib3 (>=1.21.1,<1.27)", "uvicorn[standard] (>=0.16.0)", "werkzeug (>=2.0.0,<2.1.0dev)", "xgboost"]
|
1065 |
+
tokenization = ["sentencepiece (>=0.2.0)"]
|
1066 |
+
vizier = ["google-vizier (>=0.1.6)"]
|
1067 |
+
xai = ["tensorflow (>=2.3.0,<3.0.0dev)"]
|
1068 |
+
|
1069 |
+
[[package]]
|
1070 |
+
name = "google-cloud-bigquery"
|
1071 |
+
version = "3.25.0"
|
1072 |
+
description = "Google BigQuery API client library"
|
1073 |
+
optional = false
|
1074 |
+
python-versions = ">=3.7"
|
1075 |
+
files = [
|
1076 |
+
{file = "google-cloud-bigquery-3.25.0.tar.gz", hash = "sha256:5b2aff3205a854481117436836ae1403f11f2594e6810a98886afd57eda28509"},
|
1077 |
+
{file = "google_cloud_bigquery-3.25.0-py2.py3-none-any.whl", hash = "sha256:7f0c371bc74d2a7fb74dacbc00ac0f90c8c2bec2289b51dd6685a275873b1ce9"},
|
1078 |
+
]
|
1079 |
+
|
1080 |
+
[package.dependencies]
|
1081 |
+
google-api-core = {version = ">=1.34.1,<2.0.dev0 || >=2.11.dev0,<3.0.0dev", extras = ["grpc"]}
|
1082 |
+
google-auth = ">=2.14.1,<3.0.0dev"
|
1083 |
+
google-cloud-core = ">=1.6.0,<3.0.0dev"
|
1084 |
+
google-resumable-media = ">=0.6.0,<3.0dev"
|
1085 |
+
packaging = ">=20.0.0"
|
1086 |
+
python-dateutil = ">=2.7.2,<3.0dev"
|
1087 |
+
requests = ">=2.21.0,<3.0.0dev"
|
1088 |
+
|
1089 |
+
[package.extras]
|
1090 |
+
all = ["Shapely (>=1.8.4,<3.0.0dev)", "db-dtypes (>=0.3.0,<2.0.0dev)", "geopandas (>=0.9.0,<1.0dev)", "google-cloud-bigquery-storage (>=2.6.0,<3.0.0dev)", "grpcio (>=1.47.0,<2.0dev)", "grpcio (>=1.49.1,<2.0dev)", "importlib-metadata (>=1.0.0)", "ipykernel (>=6.0.0)", "ipython (>=7.23.1,!=8.1.0)", "ipywidgets (>=7.7.0)", "opentelemetry-api (>=1.1.0)", "opentelemetry-instrumentation (>=0.20b0)", "opentelemetry-sdk (>=1.1.0)", "pandas (>=1.1.0)", "proto-plus (>=1.15.0,<2.0.0dev)", "protobuf (>=3.19.5,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev)", "pyarrow (>=3.0.0)", "tqdm (>=4.7.4,<5.0.0dev)"]
|
1091 |
+
bigquery-v2 = ["proto-plus (>=1.15.0,<2.0.0dev)", "protobuf (>=3.19.5,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev)"]
|
1092 |
+
bqstorage = ["google-cloud-bigquery-storage (>=2.6.0,<3.0.0dev)", "grpcio (>=1.47.0,<2.0dev)", "grpcio (>=1.49.1,<2.0dev)", "pyarrow (>=3.0.0)"]
|
1093 |
+
geopandas = ["Shapely (>=1.8.4,<3.0.0dev)", "geopandas (>=0.9.0,<1.0dev)"]
|
1094 |
+
ipython = ["ipykernel (>=6.0.0)", "ipython (>=7.23.1,!=8.1.0)"]
|
1095 |
+
ipywidgets = ["ipykernel (>=6.0.0)", "ipywidgets (>=7.7.0)"]
|
1096 |
+
opentelemetry = ["opentelemetry-api (>=1.1.0)", "opentelemetry-instrumentation (>=0.20b0)", "opentelemetry-sdk (>=1.1.0)"]
|
1097 |
+
pandas = ["db-dtypes (>=0.3.0,<2.0.0dev)", "importlib-metadata (>=1.0.0)", "pandas (>=1.1.0)", "pyarrow (>=3.0.0)"]
|
1098 |
+
tqdm = ["tqdm (>=4.7.4,<5.0.0dev)"]
|
1099 |
+
|
1100 |
[[package]]
|
1101 |
name = "google-cloud-core"
|
1102 |
version = "2.4.1"
|
|
|
1133 |
proto-plus = {version = ">=1.22.2,<2.0.0dev", markers = "python_version >= \"3.11\""}
|
1134 |
protobuf = ">=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.0 || >4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<5.0.0dev"
|
1135 |
|
1136 |
+
[[package]]
|
1137 |
+
name = "google-cloud-resource-manager"
|
1138 |
+
version = "1.12.3"
|
1139 |
+
description = "Google Cloud Resource Manager API client library"
|
1140 |
+
optional = false
|
1141 |
+
python-versions = ">=3.7"
|
1142 |
+
files = [
|
1143 |
+
{file = "google-cloud-resource-manager-1.12.3.tar.gz", hash = "sha256:809851824119834e4f2310b2c4f38621c1d16b2bb14d5b9f132e69c79d355e7f"},
|
1144 |
+
{file = "google_cloud_resource_manager-1.12.3-py2.py3-none-any.whl", hash = "sha256:92be7d6959927b76d90eafc4028985c37975a46ded5466a018f02e8649e113d4"},
|
1145 |
+
]
|
1146 |
+
|
1147 |
+
[package.dependencies]
|
1148 |
+
google-api-core = {version = ">=1.34.1,<2.0.dev0 || >=2.11.dev0,<3.0.0dev", extras = ["grpc"]}
|
1149 |
+
google-auth = ">=2.14.1,<2.24.0 || >2.24.0,<2.25.0 || >2.25.0,<3.0.0dev"
|
1150 |
+
grpc-google-iam-v1 = ">=0.12.4,<1.0.0dev"
|
1151 |
+
proto-plus = ">=1.22.3,<2.0.0dev"
|
1152 |
+
protobuf = ">=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.0 || >4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<5.0.0dev"
|
1153 |
+
|
1154 |
[[package]]
|
1155 |
name = "google-cloud-secret-manager"
|
1156 |
version = "2.20.0"
|
|
|
3333 |
dev = ["Django (>=1.11)", "check-manifest", "colorama (<=0.4.1)", "coverage", "flake8", "nose2", "readme-renderer (<25.0)", "tox", "wheel", "zest.releaser[recommended]"]
|
3334 |
doc = ["Sphinx", "sphinx-rtd-theme"]
|
3335 |
|
3336 |
+
[[package]]
|
3337 |
+
name = "shapely"
|
3338 |
+
version = "2.0.4"
|
3339 |
+
description = "Manipulation and analysis of geometric objects"
|
3340 |
+
optional = false
|
3341 |
+
python-versions = ">=3.7"
|
3342 |
+
files = [
|
3343 |
+
{file = "shapely-2.0.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:011b77153906030b795791f2fdfa2d68f1a8d7e40bce78b029782ade3afe4f2f"},
|
3344 |
+
{file = "shapely-2.0.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:9831816a5d34d5170aa9ed32a64982c3d6f4332e7ecfe62dc97767e163cb0b17"},
|
3345 |
+
{file = "shapely-2.0.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:5c4849916f71dc44e19ed370421518c0d86cf73b26e8656192fcfcda08218fbd"},
|
3346 |
+
{file = "shapely-2.0.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:841f93a0e31e4c64d62ea570d81c35de0f6cea224568b2430d832967536308e6"},
|
3347 |
+
{file = "shapely-2.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b4431f522b277c79c34b65da128029a9955e4481462cbf7ebec23aab61fc58"},
|
3348 |
+
{file = "shapely-2.0.4-cp310-cp310-win32.whl", hash = "sha256:92a41d936f7d6743f343be265ace93b7c57f5b231e21b9605716f5a47c2879e7"},
|
3349 |
+
{file = "shapely-2.0.4-cp310-cp310-win_amd64.whl", hash = "sha256:30982f79f21bb0ff7d7d4a4e531e3fcaa39b778584c2ce81a147f95be1cd58c9"},
|
3350 |
+
{file = "shapely-2.0.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:de0205cb21ad5ddaef607cda9a3191eadd1e7a62a756ea3a356369675230ac35"},
|
3351 |
+
{file = "shapely-2.0.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:7d56ce3e2a6a556b59a288771cf9d091470116867e578bebced8bfc4147fbfd7"},
|
3352 |
+
{file = "shapely-2.0.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:58b0ecc505bbe49a99551eea3f2e8a9b3b24b3edd2a4de1ac0dc17bc75c9ec07"},
|
3353 |
+
{file = "shapely-2.0.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:790a168a808bd00ee42786b8ba883307c0e3684ebb292e0e20009588c426da47"},
|
3354 |
+
{file = "shapely-2.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4310b5494271e18580d61022c0857eb85d30510d88606fa3b8314790df7f367d"},
|
3355 |
+
{file = "shapely-2.0.4-cp311-cp311-win32.whl", hash = "sha256:63f3a80daf4f867bd80f5c97fbe03314348ac1b3b70fb1c0ad255a69e3749879"},
|
3356 |
+
{file = "shapely-2.0.4-cp311-cp311-win_amd64.whl", hash = "sha256:c52ed79f683f721b69a10fb9e3d940a468203f5054927215586c5d49a072de8d"},
|
3357 |
+
{file = "shapely-2.0.4-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:5bbd974193e2cc274312da16b189b38f5f128410f3377721cadb76b1e8ca5328"},
|
3358 |
+
{file = "shapely-2.0.4-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:41388321a73ba1a84edd90d86ecc8bfed55e6a1e51882eafb019f45895ec0f65"},
|
3359 |
+
{file = "shapely-2.0.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0776c92d584f72f1e584d2e43cfc5542c2f3dd19d53f70df0900fda643f4bae6"},
|
3360 |
+
{file = "shapely-2.0.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c75c98380b1ede1cae9a252c6dc247e6279403fae38c77060a5e6186c95073ac"},
|
3361 |
+
{file = "shapely-2.0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c3e700abf4a37b7b8b90532fa6ed5c38a9bfc777098bc9fbae5ec8e618ac8f30"},
|
3362 |
+
{file = "shapely-2.0.4-cp312-cp312-win32.whl", hash = "sha256:4f2ab0faf8188b9f99e6a273b24b97662194160cc8ca17cf9d1fb6f18d7fb93f"},
|
3363 |
+
{file = "shapely-2.0.4-cp312-cp312-win_amd64.whl", hash = "sha256:03152442d311a5e85ac73b39680dd64a9892fa42bb08fd83b3bab4fe6999bfa0"},
|
3364 |
+
{file = "shapely-2.0.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:994c244e004bc3cfbea96257b883c90a86e8cbd76e069718eb4c6b222a56f78b"},
|
3365 |
+
{file = "shapely-2.0.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:05ffd6491e9e8958b742b0e2e7c346635033d0a5f1a0ea083547fcc854e5d5cf"},
|
3366 |
+
{file = "shapely-2.0.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2fbdc1140a7d08faa748256438291394967aa54b40009f54e8d9825e75ef6113"},
|
3367 |
+
{file = "shapely-2.0.4-cp37-cp37m-win32.whl", hash = "sha256:5af4cd0d8cf2912bd95f33586600cac9c4b7c5053a036422b97cfe4728d2eb53"},
|
3368 |
+
{file = "shapely-2.0.4-cp37-cp37m-win_amd64.whl", hash = "sha256:464157509ce4efa5ff285c646a38b49f8c5ef8d4b340f722685b09bb033c5ccf"},
|
3369 |
+
{file = "shapely-2.0.4-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:489c19152ec1f0e5c5e525356bcbf7e532f311bff630c9b6bc2db6f04da6a8b9"},
|
3370 |
+
{file = "shapely-2.0.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:b79bbd648664aa6f44ef018474ff958b6b296fed5c2d42db60078de3cffbc8aa"},
|
3371 |
+
{file = "shapely-2.0.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:674d7baf0015a6037d5758496d550fc1946f34bfc89c1bf247cabdc415d7747e"},
|
3372 |
+
{file = "shapely-2.0.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6cd4ccecc5ea5abd06deeaab52fcdba372f649728050c6143cc405ee0c166679"},
|
3373 |
+
{file = "shapely-2.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fb5cdcbbe3080181498931b52a91a21a781a35dcb859da741c0345c6402bf00c"},
|
3374 |
+
{file = "shapely-2.0.4-cp38-cp38-win32.whl", hash = "sha256:55a38dcd1cee2f298d8c2ebc60fc7d39f3b4535684a1e9e2f39a80ae88b0cea7"},
|
3375 |
+
{file = "shapely-2.0.4-cp38-cp38-win_amd64.whl", hash = "sha256:ec555c9d0db12d7fd777ba3f8b75044c73e576c720a851667432fabb7057da6c"},
|
3376 |
+
{file = "shapely-2.0.4-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:3f9103abd1678cb1b5f7e8e1af565a652e036844166c91ec031eeb25c5ca8af0"},
|
3377 |
+
{file = "shapely-2.0.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:263bcf0c24d7a57c80991e64ab57cba7a3906e31d2e21b455f493d4aab534aaa"},
|
3378 |
+
{file = "shapely-2.0.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ddf4a9bfaac643e62702ed662afc36f6abed2a88a21270e891038f9a19bc08fc"},
|
3379 |
+
{file = "shapely-2.0.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:485246fcdb93336105c29a5cfbff8a226949db37b7473c89caa26c9bae52a242"},
|
3380 |
+
{file = "shapely-2.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8de4578e838a9409b5b134a18ee820730e507b2d21700c14b71a2b0757396acc"},
|
3381 |
+
{file = "shapely-2.0.4-cp39-cp39-win32.whl", hash = "sha256:9dab4c98acfb5fb85f5a20548b5c0abe9b163ad3525ee28822ffecb5c40e724c"},
|
3382 |
+
{file = "shapely-2.0.4-cp39-cp39-win_amd64.whl", hash = "sha256:31c19a668b5a1eadab82ff070b5a260478ac6ddad3a5b62295095174a8d26398"},
|
3383 |
+
{file = "shapely-2.0.4.tar.gz", hash = "sha256:5dc736127fac70009b8d309a0eeb74f3e08979e530cf7017f2f507ef62e6cfb8"},
|
3384 |
+
]
|
3385 |
+
|
3386 |
+
[package.dependencies]
|
3387 |
+
numpy = ">=1.14,<3"
|
3388 |
+
|
3389 |
+
[package.extras]
|
3390 |
+
docs = ["matplotlib", "numpydoc (==1.1.*)", "sphinx", "sphinx-book-theme", "sphinx-remove-toctrees"]
|
3391 |
+
test = ["pytest", "pytest-cov"]
|
3392 |
+
|
3393 |
[[package]]
|
3394 |
name = "shellingham"
|
3395 |
version = "1.5.4"
|
|
|
4178 |
[metadata]
|
4179 |
lock-version = "2.0"
|
4180 |
python-versions = "^3.11"
|
4181 |
+
content-hash = "e327ce56cfbcce631b653dc29c42407477ab2316604be63824fe888edc376882"
|
pyproject.toml
CHANGED
@@ -9,6 +9,7 @@ readme = "README.md"
|
|
9 |
python = "^3.11"
|
10 |
apscheduler = "^3.10.4"
|
11 |
firebase-admin = "^6.5.0"
|
|
|
12 |
google-cloud-secret-manager = "^2.20.0"
|
13 |
google-generativeai = "^0.5.4"
|
14 |
gradio = "^4.32.1"
|
|
|
9 |
python = "^3.11"
|
10 |
apscheduler = "^3.10.4"
|
11 |
firebase-admin = "^6.5.0"
|
12 |
+
google-cloud-aiplatform = "^1.57.0"
|
13 |
google-cloud-secret-manager = "^2.20.0"
|
14 |
google-generativeai = "^0.5.4"
|
15 |
gradio = "^4.32.1"
|
requirements.txt
CHANGED
@@ -18,6 +18,7 @@ cryptography==42.0.8 ; python_version >= "3.11" and python_version < "4.0"
|
|
18 |
cycler==0.12.1 ; python_version >= "3.11" and python_version < "4.0"
|
19 |
distro==1.9.0 ; python_version >= "3.11" and python_version < "4.0"
|
20 |
dnspython==2.6.1 ; python_version >= "3.11" and python_version < "4.0"
|
|
|
21 |
email-validator==2.1.1 ; python_version >= "3.11" and python_version < "4.0"
|
22 |
fastapi-cli==0.0.4 ; python_version >= "3.11" and python_version < "4.0"
|
23 |
fastapi==0.111.0 ; python_version >= "3.11" and python_version < "4.0"
|
@@ -33,8 +34,11 @@ google-api-core[grpc]==2.19.0 ; python_version >= "3.11" and python_version < "4
|
|
33 |
google-api-python-client==2.132.0 ; python_version >= "3.11" and python_version < "4.0"
|
34 |
google-auth-httplib2==0.2.0 ; python_version >= "3.11" and python_version < "4.0"
|
35 |
google-auth==2.29.0 ; python_version >= "3.11" and python_version < "4.0"
|
|
|
|
|
36 |
google-cloud-core==2.4.1 ; python_version >= "3.11" and python_version < "4.0"
|
37 |
google-cloud-firestore==2.16.0 ; python_version >= "3.11" and python_version < "4.0" and platform_python_implementation != "PyPy"
|
|
|
38 |
google-cloud-secret-manager==2.20.0 ; python_version >= "3.11" and python_version < "4.0"
|
39 |
google-cloud-storage==2.16.0 ; python_version >= "3.11" and python_version < "4.0"
|
40 |
google-crc32c==1.5.0 ; python_version >= "3.11" and python_version < "4.0"
|
@@ -99,6 +103,7 @@ rpds-py==0.18.1 ; python_version >= "3.11" and python_version < "4.0"
|
|
99 |
rsa==4.9 ; python_version >= "3.11" and python_version < "4"
|
100 |
ruff==0.4.7 ; python_version >= "3.11" and python_version < "4.0" and sys_platform != "emscripten"
|
101 |
semantic-version==2.10.0 ; python_version >= "3.11" and python_version < "4.0"
|
|
|
102 |
shellingham==1.5.4 ; python_version >= "3.11" and python_version < "4.0"
|
103 |
six==1.16.0 ; python_version >= "3.11" and python_version < "4.0"
|
104 |
sniffio==1.3.1 ; python_version >= "3.11" and python_version < "4.0"
|
|
|
18 |
cycler==0.12.1 ; python_version >= "3.11" and python_version < "4.0"
|
19 |
distro==1.9.0 ; python_version >= "3.11" and python_version < "4.0"
|
20 |
dnspython==2.6.1 ; python_version >= "3.11" and python_version < "4.0"
|
21 |
+
docstring-parser==0.16 ; python_version >= "3.11" and python_version < "4.0"
|
22 |
email-validator==2.1.1 ; python_version >= "3.11" and python_version < "4.0"
|
23 |
fastapi-cli==0.0.4 ; python_version >= "3.11" and python_version < "4.0"
|
24 |
fastapi==0.111.0 ; python_version >= "3.11" and python_version < "4.0"
|
|
|
34 |
google-api-python-client==2.132.0 ; python_version >= "3.11" and python_version < "4.0"
|
35 |
google-auth-httplib2==0.2.0 ; python_version >= "3.11" and python_version < "4.0"
|
36 |
google-auth==2.29.0 ; python_version >= "3.11" and python_version < "4.0"
|
37 |
+
google-cloud-aiplatform==1.57.0 ; python_version >= "3.11" and python_version < "4.0"
|
38 |
+
google-cloud-bigquery==3.25.0 ; python_version >= "3.11" and python_version < "4.0"
|
39 |
google-cloud-core==2.4.1 ; python_version >= "3.11" and python_version < "4.0"
|
40 |
google-cloud-firestore==2.16.0 ; python_version >= "3.11" and python_version < "4.0" and platform_python_implementation != "PyPy"
|
41 |
+
google-cloud-resource-manager==1.12.3 ; python_version >= "3.11" and python_version < "4.0"
|
42 |
google-cloud-secret-manager==2.20.0 ; python_version >= "3.11" and python_version < "4.0"
|
43 |
google-cloud-storage==2.16.0 ; python_version >= "3.11" and python_version < "4.0"
|
44 |
google-crc32c==1.5.0 ; python_version >= "3.11" and python_version < "4.0"
|
|
|
103 |
rsa==4.9 ; python_version >= "3.11" and python_version < "4"
|
104 |
ruff==0.4.7 ; python_version >= "3.11" and python_version < "4.0" and sys_platform != "emscripten"
|
105 |
semantic-version==2.10.0 ; python_version >= "3.11" and python_version < "4.0"
|
106 |
+
shapely==2.0.4 ; python_version >= "3.11" and python_version < "4.0"
|
107 |
shellingham==1.5.4 ; python_version >= "3.11" and python_version < "4.0"
|
108 |
six==1.16.0 ; python_version >= "3.11" and python_version < "4.0"
|
109 |
sniffio==1.3.1 ; python_version >= "3.11" and python_version < "4.0"
|