LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
Prompt service v2 refactor (#1149)
Deepak Kba48b87454fb
diff --git a/.gitignore b/.gitignoreindex a7588844a..d17204e57 100644--- a/.gitignore+++ b/.gitignore@@ -578,6 +578,9 @@ sketch.history.ionide+## Windsurf ###+.windsurfrules+### Windows #### Windows thumbnail cache filesThumbs.dbdiff --git a/backend/account_v2/constants.py b/backend/account_v2/constants.pyindex 15c113790..40dda4cb1 100644--- a/backend/account_v2/constants.py+++ b/backend/account_v2/constants.py@@ -18,6 +18,8 @@ class Common:USER_ROLE = "role"MAX_EMAIL_IN_REQUEST = 10LOG_EVENTS_ID = "log_events_id"+ REQUEST_ID = "request_id"+ X_REQUEST_ID = "X-Request-ID"class UserModel:diff --git a/backend/account_v2/custom_auth_middleware.py b/backend/account_v2/custom_auth_middleware.pyindex 178b349cf..2dac99495 100644--- a/backend/account_v2/custom_auth_middleware.py+++ b/backend/account_v2/custom_auth_middleware.py@@ -16,6 +16,8 @@ class CustomAuthMiddleware:# One-time configuration and initialization.def __call__(self, request: HttpRequest) -> HttpResponse:+ # Add request_id in StateStore+ StateStore.set(Common.REQUEST_ID, request.id)# Returns result without authenticated if added in whitelisted pathsif any(request.path.startswith(path) for path in settings.WHITELISTED_PATHS):return self.get_response(request)diff --git a/backend/backend/settings/base.py b/backend/backend/settings/base.pyindex 188f82647..12d4fb8e4 100644--- a/backend/backend/settings/base.py+++ b/backend/backend/settings/base.py@@ -305,7 +305,7 @@ DATABASES = {}MIDDLEWARE = [- "log_request_id.middleware.RequestIDMiddleware",+ "middleware.request_id.CustomRequestIDMiddleware","corsheaders.middleware.CorsMiddleware",TENANT_MIDDLEWARE,"django.middleware.security.SecurityMiddleware",@@ -497,6 +497,11 @@ SOCIAL_AUTH_GOOGLE_OAUTH2_AUTH_EXTRA_ARGUMENTS = {}SOCIAL_AUTH_GOOGLE_OAUTH2_USE_UNIQUE_USER_ID = True+# Request ID middleware settings+LOG_REQUEST_ID_HEADER = "X-Request-ID"+REQUEST_ID_RESPONSE_HEADER = "X-Request-ID"+GENERATE_REQUEST_ID_IF_NOT_IN_HEADER = True+NO_REQUEST_ID = "N/A"# Always keep this line at the bottom of the file.if missing_settings:diff --git a/backend/middleware/request_id.py b/backend/middleware/request_id.pynew file mode 100644index 000000000..1dc427775--- /dev/null+++ b/backend/middleware/request_id.py@@ -0,0 +1,9 @@+import uuid++from log_request_id.middleware import RequestIDMiddleware+++class CustomRequestIDMiddleware(RequestIDMiddleware):++ def _generate_id(self):+ return str(uuid.uuid4())diff --git a/backend/plugins/.gitignore b/backend/plugins/.gitignorenew file mode 100644index 000000000..5d66e53bd--- /dev/null+++ b/backend/plugins/.gitignore@@ -0,0 +1 @@+modifierdiff --git a/backend/prompt_studio/prompt_studio_core_v2/prompt_studio_helper.py b/backend/prompt_studio/prompt_studio_core_v2/prompt_studio_helper.pyindex 3495e9d8b..e681e2d8c 100644--- a/backend/prompt_studio/prompt_studio_core_v2/prompt_studio_helper.py+++ b/backend/prompt_studio/prompt_studio_core_v2/prompt_studio_helper.py@@ -856,8 +856,10 @@ class PromptStudioHelper:prompt_port=settings.PROMPT_PORT,)include_metadata = {TSPKeys.INCLUDE_METADATA: True}-- answer = responder.answer_prompt(payload, include_metadata)+ headers = {Common.X_REQUEST_ID: StateStore.get(Common.REQUEST_ID)}+ answer = responder.answer_prompt(+ payload=payload, params=include_metadata, headers=headers+ )# TODO: Make use of dataclassesif answer["status"] == "ERROR":# TODO: Publish to FE logs from here@@ -1143,8 +1145,10 @@ class PromptStudioHelper:prompt_port=settings.PROMPT_PORT,)include_metadata = {TSPKeys.INCLUDE_METADATA: True}-- answer = responder.single_pass_extraction(payload, include_metadata)+ headers = {Common.X_REQUEST_ID: StateStore.get(Common.REQUEST_ID)}+ answer = responder.single_pass_extraction(+ payload=payload, params=include_metadata, headers=headers+ )# TODO: Make use of dataclassesif answer["status"] == "ERROR":error_message = answer.get("error", None)diff --git a/prompt-service/pdm.lock b/prompt-service/pdm.lockindex 3adc1fd73..fd826cdbd 100644--- a/prompt-service/pdm.lock+++ b/prompt-service/pdm.lock@@ -2,10 +2,10 @@# It is not intended for manual editing.[metadata]-groups = ["default", "deploy"]+groups = ["default", "deploy", "test"]strategy = ["cross_platform", "inherit_metadata"]lock_version = "4.4.2"-content_hash = "sha256:72a0b62c8dc771afa1bef4cae6098f3199f328714696d9afe11a5a3f34a9a6e6"+content_hash = "sha256:65bebad5a1ba989d0aae7968cb9622ac55a152901bb9b8d98b6c7dc76575cc9a"[[package]]name = "adlfs"@@ -103,7 +103,7 @@ files = [[[package]]name = "aiohttp"-version = "3.11.14"+version = "3.11.15"requires_python = ">=3.9"summary = "Async http client/server framework (asyncio)"groups = ["default"]@@ -118,55 +118,55 @@ dependencies = ["yarl<2.0,>=1.17.0",]files = [- {file = "aiohttp-3.11.14-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e2bc827c01f75803de77b134afdbf74fa74b62970eafdf190f3244931d7a5c0d"},- {file = "aiohttp-3.11.14-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e365034c5cf6cf74f57420b57682ea79e19eb29033399dd3f40de4d0171998fa"},- {file = "aiohttp-3.11.14-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c32593ead1a8c6aabd58f9d7ee706e48beac796bb0cb71d6b60f2c1056f0a65f"},- {file = "aiohttp-3.11.14-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b4e7c7ec4146a94a307ca4f112802a8e26d969018fabed526efc340d21d3e7d0"},- {file = "aiohttp-3.11.14-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c8b2df9feac55043759aa89f722a967d977d80f8b5865a4153fc41c93b957efc"},- {file = "aiohttp-3.11.14-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c7571f99525c76a6280f5fe8e194eeb8cb4da55586c3c61c59c33a33f10cfce7"},- {file = "aiohttp-3.11.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b59d096b5537ec7c85954cb97d821aae35cfccce3357a2cafe85660cc6295628"},- {file = "aiohttp-3.11.14-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b42dbd097abb44b3f1156b4bf978ec5853840802d6eee2784857be11ee82c6a0"},- {file = "aiohttp-3.11.14-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:b05774864c87210c531b48dfeb2f7659407c2dda8643104fb4ae5e2c311d12d9"},- {file = "aiohttp-3.11.14-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:4e2e8ef37d4bc110917d038807ee3af82700a93ab2ba5687afae5271b8bc50ff"},- {file = "aiohttp-3.11.14-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:e9faafa74dbb906b2b6f3eb9942352e9e9db8d583ffed4be618a89bd71a4e914"},- {file = "aiohttp-3.11.14-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:7e7abe865504f41b10777ac162c727af14e9f4db9262e3ed8254179053f63e6d"},- {file = "aiohttp-3.11.14-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:4848ae31ad44330b30f16c71e4f586cd5402a846b11264c412de99fa768f00f3"},- {file = "aiohttp-3.11.14-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:2d0b46abee5b5737cb479cc9139b29f010a37b1875ee56d142aefc10686a390b"},- {file = "aiohttp-3.11.14-cp310-cp310-win32.whl", hash = "sha256:a0d2c04a623ab83963576548ce098baf711a18e2c32c542b62322a0b4584b990"},- {file = "aiohttp-3.11.14-cp310-cp310-win_amd64.whl", hash = "sha256:5409a59d5057f2386bb8b8f8bbcfb6e15505cedd8b2445db510563b5d7ea1186"},- {file = "aiohttp-3.11.14-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:f296d637a50bb15fb6a229fbb0eb053080e703b53dbfe55b1e4bb1c5ed25d325"},- {file = "aiohttp-3.11.14-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ec6cd1954ca2bbf0970f531a628da1b1338f594bf5da7e361e19ba163ecc4f3b"},- {file = "aiohttp-3.11.14-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:572def4aad0a4775af66d5a2b5923c7de0820ecaeeb7987dcbccda2a735a993f"},- {file = "aiohttp-3.11.14-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1c68e41c4d576cd6aa6c6d2eddfb32b2acfb07ebfbb4f9da991da26633a3db1a"},- {file = "aiohttp-3.11.14-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:99b8bbfc8111826aa8363442c0fc1f5751456b008737ff053570f06a151650b3"},- {file = "aiohttp-3.11.14-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4b0a200e85da5c966277a402736a96457b882360aa15416bf104ca81e6f5807b"},- {file = "aiohttp-3.11.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d173c0ac508a2175f7c9a115a50db5fd3e35190d96fdd1a17f9cb10a6ab09aa1"},- {file = "aiohttp-3.11.14-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:413fe39fd929329f697f41ad67936f379cba06fcd4c462b62e5b0f8061ee4a77"},- {file = "aiohttp-3.11.14-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:65c75b14ee74e8eeff2886321e76188cbe938d18c85cff349d948430179ad02c"},- {file = "aiohttp-3.11.14-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:321238a42ed463848f06e291c4bbfb3d15ba5a79221a82c502da3e23d7525d06"},- {file = "aiohttp-3.11.14-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:59a05cdc636431f7ce843c7c2f04772437dd816a5289f16440b19441be6511f1"},- {file = "aiohttp-3.11.14-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:daf20d9c3b12ae0fdf15ed92235e190f8284945563c4b8ad95b2d7a31f331cd3"},- {file = "aiohttp-3.11.14-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:05582cb2d156ac7506e68b5eac83179faedad74522ed88f88e5861b78740dc0e"},- {file = "aiohttp-3.11.14-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:12c5869e7ddf6b4b1f2109702b3cd7515667b437da90a5a4a50ba1354fe41881"},- {file = "aiohttp-3.11.14-cp311-cp311-win32.whl", hash = "sha256:92868f6512714efd4a6d6cb2bfc4903b997b36b97baea85f744229f18d12755e"},- {file = "aiohttp-3.11.14-cp311-cp311-win_amd64.whl", hash = "sha256:bccd2cb7aa5a3bfada72681bdb91637094d81639e116eac368f8b3874620a654"},- {file = "aiohttp-3.11.14-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:14fc03508359334edc76d35b2821832f092c8f092e4b356e74e38419dfe7b6de"},- {file = "aiohttp-3.11.14-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:92007c89a8cb7be35befa2732b0b32bf3a394c1b22ef2dff0ef12537d98a7bda"},- {file = "aiohttp-3.11.14-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:6d3986112e34eaa36e280dc8286b9dd4cc1a5bcf328a7f147453e188f6fe148f"},- {file = "aiohttp-3.11.14-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:749f1eb10e51dbbcdba9df2ef457ec060554842eea4d23874a3e26495f9e87b1"},- {file = "aiohttp-3.11.14-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:781c8bd423dcc4641298c8c5a2a125c8b1c31e11f828e8d35c1d3a722af4c15a"},- {file = "aiohttp-3.11.14-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:997b57e38aa7dc6caab843c5e042ab557bc83a2f91b7bd302e3c3aebbb9042a1"},- {file = "aiohttp-3.11.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a8b0321e40a833e381d127be993b7349d1564b756910b28b5f6588a159afef3"},- {file = "aiohttp-3.11.14-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8778620396e554b758b59773ab29c03b55047841d8894c5e335f12bfc45ebd28"},- {file = "aiohttp-3.11.14-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:e906da0f2bcbf9b26cc2b144929e88cb3bf943dd1942b4e5af066056875c7618"},- {file = "aiohttp-3.11.14-cp39-cp39-musllinux_1_2_armv7l.whl", hash = "sha256:87f0e003fb4dd5810c7fbf47a1239eaa34cd929ef160e0a54c570883125c4831"},- {file = "aiohttp-3.11.14-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:7f2dadece8b85596ac3ab1ec04b00694bdd62abc31e5618f524648d18d9dd7fa"},- {file = "aiohttp-3.11.14-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:fe846f0a98aa9913c2852b630cd39b4098f296e0907dd05f6c7b30d911afa4c3"},- {file = "aiohttp-3.11.14-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:ced66c5c6ad5bcaf9be54560398654779ec1c3695f1a9cf0ae5e3606694a000a"},- {file = "aiohttp-3.11.14-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:a40087b82f83bd671cbeb5f582c233d196e9653220404a798798bfc0ee189fff"},- {file = "aiohttp-3.11.14-cp39-cp39-win32.whl", hash = "sha256:95d7787f2bcbf7cb46823036a8d64ccfbc2ffc7d52016b4044d901abceeba3db"},- {file = "aiohttp-3.11.14-cp39-cp39-win_amd64.whl", hash = "sha256:22a8107896877212130c58f74e64b77f7007cb03cea8698be317272643602d45"},- {file = "aiohttp-3.11.14.tar.gz", hash = "sha256:d6edc538c7480fa0a3b2bdd705f8010062d74700198da55d16498e1b49549b9c"},+ {file = "aiohttp-3.11.15-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:078b1ce274f967951b42a65d5b7ec115b7886343a5271f2eed330458ea87bb48"},+ {file = "aiohttp-3.11.15-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:48d790d05c76b6cb93a1259b44d3f0019b61d507f8ebf0d49da3ef5ac858b05d"},+ {file = "aiohttp-3.11.15-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e13767424425bb607931a0b9e703b95d2693650011ef8f0166b4cd80066b66b9"},+ {file = "aiohttp-3.11.15-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7ac49c32901489343b4dab064ab520f6b879a03fb4f9667c84620b66f07bed69"},+ {file = "aiohttp-3.11.15-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:576b56a34d26ea8a8f0e1a30b8a069ba4ab121fb8eb796d1b89fedda7c74c553"},+ {file = "aiohttp-3.11.15-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:71ed71d9431e770550aab27a77ef9d30d33ce6f558ab7818be7205ae6aca635d"},+ {file = "aiohttp-3.11.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c982b2cbd7b8f4b31e9faf2de09e22b060a6cd0a693f20892dda41a8fb0f46ef"},+ {file = "aiohttp-3.11.15-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f00e7540a60460fbeaffff4a7dcf72fe8b710f8280a542a4d798273787c64e72"},+ {file = "aiohttp-3.11.15-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:9b97fae7f75a0b666ce4281627856d1b1a85477f26c2e8b266292e770c17df36"},+ {file = "aiohttp-3.11.15-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:a449c48f5b02c0c14f5310881558ca861bff8e00b1f79be4cf6a53f638464c30"},+ {file = "aiohttp-3.11.15-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:8c6e39f0bb2418f839841f92b3cd64077ff5166d724c984ab450ca08d5e51d92"},+ {file = "aiohttp-3.11.15-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:e792131352418dde7b0c598e217e89ecf6a26889f46f35f910e5544ffdebf3ae"},+ {file = "aiohttp-3.11.15-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:c28cbae1ce76dc48d0fcccb045ac21d00dcc1b306bb745910cf35585ce89404e"},+ {file = "aiohttp-3.11.15-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:d9c8417a24063f35b526f8bf14f6f4bdea6f3f49850457337b6ea928901adbbc"},+ {file = "aiohttp-3.11.15-cp310-cp310-win32.whl", hash = "sha256:a50b86eb9cf74fa5b6f1386e08e1520dcbe83d7dfd4c8bf6f2ca72b03d42e79f"},+ {file = "aiohttp-3.11.15-cp310-cp310-win_amd64.whl", hash = "sha256:a0361cafb50b185356a5f346c169aea1d14783df99e6da714d626b104586e0b5"},+ {file = "aiohttp-3.11.15-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:5bd37d615cd26d09321bd0168305f8508778712cf38aeffeed550274fb48a2ee"},+ {file = "aiohttp-3.11.15-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:a3d706afcc808f6add4208dfa13f911fd93c2a3dab6be484fee4fd0602a0867e"},+ {file = "aiohttp-3.11.15-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:43625253e3dc018d34867b70909149f15f29eac0382802afe027f2fbf17bcb9c"},+ {file = "aiohttp-3.11.15-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:437eee9e057a7907b11e4af2b18df56b6c795b28e0a3ac250691936cf6bf40eb"},+ {file = "aiohttp-3.11.15-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ec3dd04138bd30e6a3403dbd3ab5a5ccfb501597c5a95196cd816936ed55b777"},+ {file = "aiohttp-3.11.15-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:85d73479b79172e7d667b466c170ca6097a334c09ecd83c95c210546031251b5"},+ {file = "aiohttp-3.11.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ae3a5d9f2fbe736fec7d24be25c57aa78c2d78d96540439ea68a8abbed9906fc"},+ {file = "aiohttp-3.11.15-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:269d145c593a65f78fb9a64dece90341561ddb2e91a96d42681132b2f706c42a"},+ {file = "aiohttp-3.11.15-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0987dcf32e4c47f22634d32e4b0ffbc368bbcf2b33b408cd1a3d2dc0a6a5cd34"},+ {file = "aiohttp-3.11.15-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:7cf4b2b5a0f7a738ecd759eaeaef800fc7c57683b7be9d8a43fcb86ca62701b4"},+ {file = "aiohttp-3.11.15-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:f1e0369f0dc8c895e718ce37147f56d46142d37596be183ab7a34192c5e6e4c5"},+ {file = "aiohttp-3.11.15-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:82ddf7f642b9c0b08063f3cf4e2818b22901bce8ebad05c232d9e295e77436a0"},+ {file = "aiohttp-3.11.15-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:0c7eba0f90e27ec4af64db051f35387fa17128e6eeb58ee0f2318f2627168cc2"},+ {file = "aiohttp-3.11.15-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:5a61df20fa77792e83307e266f76790f7cb67980dd476948948de212ee7ec64c"},+ {file = "aiohttp-3.11.15-cp311-cp311-win32.whl", hash = "sha256:be11989cbc0728f81c0d022cef140ef8adb20d3012ad8f0ac61853bef571eb52"},+ {file = "aiohttp-3.11.15-cp311-cp311-win_amd64.whl", hash = "sha256:357355c9d51c8b12bbc7de43b27ce4b51f14cce050e00b5a87d0d5527d779395"},+ {file = "aiohttp-3.11.15-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:03ce9d2f01aef26cd6aaba2f330273c2364237db2f499b93c3e9f2e249f83cd2"},+ {file = "aiohttp-3.11.15-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:1bee0f9e2d4088b57243d63afcb06256bd2d9ff683080f51e74fa790c8cfedfd"},+ {file = "aiohttp-3.11.15-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:7e20bd6aa51a5209c9131395e20ce126e8e317c0cf78a8180f026b4d73f018f6"},+ {file = "aiohttp-3.11.15-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:23397670f3739b6f3c4019da8226190f6cce5ab2008b664ed96a6d1f0fe7f069"},+ {file = "aiohttp-3.11.15-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fc270fe480e7e425c45054543f58510fe649f70b77f514171909bbfe585105c0"},+ {file = "aiohttp-3.11.15-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:84370ff70c1677ee0c4db40fe2baee6ffc72e9d32def3ff18739c1390c62329f"},+ {file = "aiohttp-3.11.15-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:379882ab6a40e6e0879ad8e84dca74ddbadff94af4f314b59b7da89c8463a669"},+ {file = "aiohttp-3.11.15-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:74afb637cd06760afe0aa55a3ce82178ef4c950be65935add8f3809f701f36ca"},+ {file = "aiohttp-3.11.15-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:558de86eef9a886e43c6ae5b75cecdce81203da5832d19d11da8de417967d478"},+ {file = "aiohttp-3.11.15-cp39-cp39-musllinux_1_2_armv7l.whl", hash = "sha256:41f82df6f0f895f0f843bc86762bea45b4d0fe876de49239ffc89d2365426399"},+ {file = "aiohttp-3.11.15-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:38368a32530dcdeccfa47544cf66724118d9cc8a889c057e116723ab62994380"},+ {file = "aiohttp-3.11.15-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:204f6695b47a7d130ddf6680158920825d0d32202a870e0bc56a2ec637935b1a"},+ {file = "aiohttp-3.11.15-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:4b85486e8914d4e778343f5322834aada678eaf4c5315e50d41d9b74817ff97b"},+ {file = "aiohttp-3.11.15-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:79a08d675167c50f41d106d67bbcbc9e86e1b43d305c4b9f982d5c656a94a9ba"},+ {file = "aiohttp-3.11.15-cp39-cp39-win32.whl", hash = "sha256:20dda85988a4f506bf5a457b416b238e32ab944a2deb878ddf0af92df9254a9b"},+ {file = "aiohttp-3.11.15-cp39-cp39-win_amd64.whl", hash = "sha256:3cfd9f4aeaec4a75a0b4986a9977ac0a09b3d87ae83415e4b461e86715c80897"},+ {file = "aiohttp-3.11.15.tar.gz", hash = "sha256:b9b9a1e592ac8fcc4584baea240e41f77415e0de98932fdf19565aa3b6a02d0b"},][[package]]@@ -402,7 +402,7 @@ files = [[[package]]name = "azure-storage-blob"-version = "12.25.0"+version = "12.25.1"requires_python = ">=3.8"summary = "Microsoft Azure Blob Storage Client Library for Python"groups = ["default"]@@ -413,8 +413,27 @@ dependencies = ["typing-extensions>=4.6.0",]files = [- {file = "azure_storage_blob-12.25.0-py3-none-any.whl", hash = "sha256:a38e18bf10258fb19028f343db0d3d373280c6427a619c98c06d76485805b755"},- {file = "azure_storage_blob-12.25.0.tar.gz", hash = "sha256:42364ca8f9f49dbccd0acc10144ed47bb6770bf78719970b51915f048891abba"},+ {file = "azure_storage_blob-12.25.1-py3-none-any.whl", hash = "sha256:1f337aab12e918ec3f1b638baada97550673911c4ceed892acc8e4e891b74167"},+ {file = "azure_storage_blob-12.25.1.tar.gz", hash = "sha256:4f294ddc9bc47909ac66b8934bd26b50d2000278b10ad82cc109764fdc6e0e3b"},+]++[[package]]+name = "banks"+version = "2.1.1"+requires_python = ">=3.9"+summary = "A prompt programming language"+groups = ["default"]+dependencies = [+ "deprecated",+ "eval-type-backport; python_version < \"3.10\"",+ "griffe",+ "jinja2",+ "platformdirs",+ "pydantic",+]+files = [+ {file = "banks-2.1.1-py3-none-any.whl", hash = "sha256:06e4ee46a0ff2fcdf5f64a5f028a7b7ceb719d5c7b9339f5aa90b24936fbb7f5"},+ {file = "banks-2.1.1.tar.gz", hash = "sha256:95ec9c8f3c173c9f1c21eb2451ba0e21dda87f1ceb738854fabadb54bc387b86"},][[package]]@@ -437,7 +456,7 @@ name = "blinker"version = "1.9.0"requires_python = ">=3.9"summary = "Fast, simple object-to-object and broadcast signaling"-groups = ["default"]+groups = ["default", "test"]files = [{file = "blinker-1.9.0-py3-none-any.whl", hash = "sha256:ba0efaa9080b619ff2f3459d1d500c57bddea4a6b424b60a91141db6fd2f08bc"},{file = "blinker-1.9.0.tar.gz", hash = "sha256:b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf"},@@ -602,7 +621,7 @@ name = "click"version = "8.1.8"requires_python = ">=3.7"summary = "Composable command line interface toolkit"-groups = ["default"]+groups = ["default", "test"]dependencies = ["colorama; platform_system == \"Windows\"",]@@ -616,8 +635,7 @@ name = "colorama"version = "0.4.6"requires_python = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"summary = "Cross-platform colored terminal text."-groups = ["default"]-marker = "platform_system == \"Windows\""+groups = ["default", "test"]files = [{file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"},{file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},@@ -765,7 +783,7 @@ name = "exceptiongroup"version = "1.2.2"requires_python = ">=3.7"summary = "Backport of PEP 654 (exception groups)"-groups = ["default"]+groups = ["default", "test"]marker = "python_version < \"3.11\""files = [{file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"},@@ -798,7 +816,7 @@ name = "flask"version = "3.1.0"requires_python = ">=3.9"summary = "A simple framework for building complex web applications."-groups = ["default"]+groups = ["default", "test"]dependencies = ["Jinja2>=3.1.2","Werkzeug>=3.1",@@ -812,6 +830,22 @@ files = [{file = "flask-3.1.0.tar.gz", hash = "sha256:5f873c5184c897c8d9d1b05df1e3d01b14910ce69607a117bd3277098a5836ac"},]+[[package]]+name = "flask-wtf"+version = "1.2.2"+requires_python = ">=3.9"+summary = "Form rendering, validation, and CSRF protection for Flask with WTForms."+groups = ["test"]+dependencies = [+ "flask",+ "itsdangerous",+ "wtforms",+]+files = [+ {file = "flask_wtf-1.2.2-py3-none-any.whl", hash = "sha256:e93160c5c5b6b571cf99300b6e01b72f9a101027cab1579901f8b10c5daf0b70"},+ {file = "flask_wtf-1.2.2.tar.gz", hash = "sha256:79d2ee1e436cf570bccb7d916533fa18757a2f18c290accffab1b9a0b684666b"},+]+[[package]]name = "frozenlist"version = "1.5.0"@@ -955,7 +989,7 @@ files = [[[package]]name = "google-api-python-client"-version = "2.165.0"+version = "2.166.0"requires_python = ">=3.7"summary = "Google API Client Library for Python"groups = ["default"]@@ -967,8 +1001,8 @@ dependencies = ["uritemplate<5,>=3.0.1",]files = [- {file = "google_api_python_client-2.165.0-py2.py3-none-any.whl", hash = "sha256:4eaab7d4a20be0d3d1dde462fa95e9e0ccc2a3e177a656701bf73fe738ddef7d"},- {file = "google_api_python_client-2.165.0.tar.gz", hash = "sha256:0d2aee76727a104705630bebbc43669c864b766924e9329051ef7b7e2468eb72"},+ {file = "google_api_python_client-2.166.0-py2.py3-none-any.whl", hash = "sha256:dd8cc74d9fc18538ab05cbd2e93cb4f82382f910c5f6945db06c91f1deae6e45"},+ {file = "google_api_python_client-2.166.0.tar.gz", hash = "sha256:b8cf843bd9d736c134aef76cf1dc7a47c9283a2ef24267b97207b9dd43b30ef7"},][[package]]@@ -1018,7 +1052,7 @@ files = [[[package]]name = "google-cloud-aiplatform"-version = "1.85.0"+version = "1.87.0"requires_python = ">=3.8"summary = "Vertex AI API client library"groups = ["default"]@@ -1037,28 +1071,28 @@ dependencies = ["typing-extensions",]files = [- {file = "google_cloud_aiplatform-1.85.0-py3-none-any.whl", hash = "sha256:5064519a81aa355bcba708795c0b122b08af90612eec1b2a3b892dbdb98a81b4"},- {file = "google_cloud_aiplatform-1.85.0.tar.gz", hash = "sha256:8f4845f02c0fe77903342d250c7522f870333e2f9738ccd197c8e7cc3e95f11d"},+ {file = "google_cloud_aiplatform-1.87.0-py2.py3-none-any.whl", hash = "sha256:23421cb288550e1b35c5a81f471618e0c34c32dfc73db895498ac01c9a5fa46c"},+ {file = "google_cloud_aiplatform-1.87.0.tar.gz", hash = "sha256:3628c573d677d72c7ad62e9c898ff7073c915241e86fd563ff2ee581d281e494"},][[package]]name = "google-cloud-bigquery"-version = "3.30.0"-requires_python = ">=3.7"+version = "3.31.0"+requires_python = ">=3.9"summary = "Google BigQuery API client library"groups = ["default"]dependencies = [- "google-api-core[grpc]<3.0.0dev,>=2.11.1",- "google-auth<3.0.0dev,>=2.14.1",- "google-cloud-core<3.0.0dev,>=2.4.1",- "google-resumable-media<3.0dev,>=2.0.0",- "packaging>=20.0.0",- "python-dateutil<3.0dev,>=2.7.3",- "requests<3.0.0dev,>=2.21.0",+ "google-api-core[grpc]<3.0.0,>=2.11.1",+ "google-auth<3.0.0,>=2.14.1",+ "google-cloud-core<3.0.0,>=2.4.1",+ "google-resumable-media<3.0.0,>=2.0.0",+ "packaging>=24.2.0",+ "python-dateutil<3.0.0,>=2.8.2",+ "requests<3.0.0,>=2.21.0",]files = [- {file = "google_cloud_bigquery-3.30.0-py2.py3-none-any.whl", hash = "sha256:f4d28d846a727f20569c9b2d2f4fa703242daadcb2ec4240905aa485ba461877"},- {file = "google_cloud_bigquery-3.30.0.tar.gz", hash = "sha256:7e27fbafc8ed33cc200fe05af12ecd74d279fe3da6692585a3cef7aee90575b6"},+ {file = "google_cloud_bigquery-3.31.0-py3-none-any.whl", hash = "sha256:97f4a3219854ff01d6a3a57312feecb0b6e13062226b823f867e2d3619c4787b"},+ {file = "google_cloud_bigquery-3.31.0.tar.gz", hash = "sha256:b89dc716dbe4abdb7a4f873f7050100287bc98514e0614c5d54cd6a8e9fb0991"},][[package]]@@ -1115,33 +1149,33 @@ files = [[[package]]name = "google-crc32c"-version = "1.7.1rc1"+version = "1.7.1"requires_python = ">=3.9"summary = "A python wrapper of the C library 'Google CRC32C'"groups = ["default"]files = [- {file = "google_crc32c-1.7.1rc1-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:a215fe73997464838e3d94f813f3119b567cd0fa444d860f7e56590bd6146577"},- {file = "google_crc32c-1.7.1rc1-cp310-cp310-macosx_12_0_x86_64.whl", hash = "sha256:1939d413824747af2df853485eb92a8b7c9552b4b87f6683fb35f8ecfb8e7616"},- {file = "google_crc32c-1.7.1rc1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:c718478a374d4b411327c562580f2fa45ae7cc5faa4e286f6abcbef9e0abb52a"},- {file = "google_crc32c-1.7.1rc1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d392785d7c31addaeaa31bac13ba742047152890bd9b6016c0bbbfddaeae02b8"},- {file = "google_crc32c-1.7.1rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e67294b42b6541de494e5043c7649e5c966965e9074886bd429ba60eccf60061"},- {file = "google_crc32c-1.7.1rc1-cp310-cp310-win_amd64.whl", hash = "sha256:bd546bb8856d568e64fbfe0e0928a0beea6db9055e6dc9102f11c56d4d66fc29"},- {file = "google_crc32c-1.7.1rc1-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:42c50ef057a3c8737587673b5299302245f9621de750202044dc6953567d1177"},- {file = "google_crc32c-1.7.1rc1-cp311-cp311-macosx_12_0_x86_64.whl", hash = "sha256:76ed36c7a7474791aed1a198ea7145b19e5e7e5dd3e99b4564ef4f816c609356"},- {file = "google_crc32c-1.7.1rc1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cd39e2cfdf237a09f47074f39c379431a716a11324408fa55a992c93d7e5c880"},- {file = "google_crc32c-1.7.1rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5b173495fd837410eb332ba8a6a52fdee3a7a90e137fee40ca459712f7aad942"},- {file = "google_crc32c-1.7.1rc1-cp311-cp311-win_amd64.whl", hash = "sha256:7ef6e8c51503978b5a87f86c161b6bb706d11ffce90c01aeab8112b25470219d"},- {file = "google_crc32c-1.7.1rc1-cp39-cp39-macosx_12_0_arm64.whl", hash = "sha256:36237e47224b961c4c94b83795b3c5fb9f8450711e367a9e8415b9f48f265eec"},- {file = "google_crc32c-1.7.1rc1-cp39-cp39-macosx_12_0_x86_64.whl", hash = "sha256:e721f5b592edf6d2164cb10f900f64aa0d2f6d7bc39363510e1ea83e69907dbc"},- {file = "google_crc32c-1.7.1rc1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:ae896e43b6f66f841b2a655633a29a38c7010cfc1d374138614b760db90cd23c"},- {file = "google_crc32c-1.7.1rc1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:421c176e07fef5586eabeb5c27e3c779996acb0b7f4d3f259a76d30065e4f30e"},- {file = "google_crc32c-1.7.1rc1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:08c9bd3eddb830b994c97644eb68b29062f2a995c55a3f9a9165396c7b02427d"},- {file = "google_crc32c-1.7.1rc1-cp39-cp39-win_amd64.whl", hash = "sha256:060144e3121b3b8c136c73e2489c04b007ff0a83c3415bb29a173e97cd5189b3"},- {file = "google_crc32c-1.7.1rc1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3ef223657c12b6a8b8ea4f4d892e87f0917245a360b2924dbff88a3df335564c"},- {file = "google_crc32c-1.7.1rc1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7933c69e41688c5a97bb61a6359c6de9cf92785ab23353b3fcc13be2b4a73e29"},- {file = "google_crc32c-1.7.1rc1-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c06d1c694cdb3b2ad5fffc1675ed57f5aa6385adfad2e56a4e8182d45c39f959"},- {file = "google_crc32c-1.7.1rc1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:55cfceac1ab2da26d770c643b84086d5a1f799f02f772d0cd4eb35b74f5e4458"},- {file = "google_crc32c-1.7.1rc1.tar.gz", hash = "sha256:f11ee7e5de5298bdc3175e407f43c75f3203d28835ca66c95ceb5dfe9048eada"},+ {file = "google_crc32c-1.7.1-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:b07d48faf8292b4db7c3d64ab86f950c2e94e93a11fd47271c28ba458e4a0d76"},+ {file = "google_crc32c-1.7.1-cp310-cp310-macosx_12_0_x86_64.whl", hash = "sha256:7cc81b3a2fbd932a4313eb53cc7d9dde424088ca3a0337160f35d91826880c1d"},+ {file = "google_crc32c-1.7.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:1c67ca0a1f5b56162951a9dae987988679a7db682d6f97ce0f6381ebf0fbea4c"},+ {file = "google_crc32c-1.7.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fc5319db92daa516b653600794d5b9f9439a9a121f3e162f94b0e1891c7933cb"},+ {file = "google_crc32c-1.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dcdf5a64adb747610140572ed18d011896e3b9ae5195f2514b7ff678c80f1603"},+ {file = "google_crc32c-1.7.1-cp310-cp310-win_amd64.whl", hash = "sha256:754561c6c66e89d55754106739e22fdaa93fafa8da7221b29c8b8e8270c6ec8a"},+ {file = "google_crc32c-1.7.1-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:6fbab4b935989e2c3610371963ba1b86afb09537fd0c633049be82afe153ac06"},+ {file = "google_crc32c-1.7.1-cp311-cp311-macosx_12_0_x86_64.whl", hash = "sha256:ed66cbe1ed9cbaaad9392b5259b3eba4a9e565420d734e6238813c428c3336c9"},+ {file = "google_crc32c-1.7.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ee6547b657621b6cbed3562ea7826c3e11cab01cd33b74e1f677690652883e77"},+ {file = "google_crc32c-1.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d68e17bad8f7dd9a49181a1f5a8f4b251c6dbc8cc96fb79f1d321dfd57d66f53"},+ {file = "google_crc32c-1.7.1-cp311-cp311-win_amd64.whl", hash = "sha256:6335de12921f06e1f774d0dd1fbea6bf610abe0887a1638f64d694013138be5d"},+ {file = "google_crc32c-1.7.1-cp39-cp39-macosx_12_0_arm64.whl", hash = "sha256:9fc196f0b8d8bd2789352c6a522db03f89e83a0ed6b64315923c396d7a932315"},+ {file = "google_crc32c-1.7.1-cp39-cp39-macosx_12_0_x86_64.whl", hash = "sha256:bb5e35dcd8552f76eed9461a23de1030920a3c953c1982f324be8f97946e7127"},+ {file = "google_crc32c-1.7.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f2226b6a8da04f1d9e61d3e357f2460b9551c5e6950071437e122c958a18ae14"},+ {file = "google_crc32c-1.7.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f2b3522222746fff0e04a9bd0a23ea003ba3cccc8cf21385c564deb1f223242"},+ {file = "google_crc32c-1.7.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3bda0fcb632d390e3ea8b6b07bf6b4f4a66c9d02dcd6fbf7ba00a197c143f582"},+ {file = "google_crc32c-1.7.1-cp39-cp39-win_amd64.whl", hash = "sha256:713121af19f1a617054c41f952294764e0c5443d5a5d9034b2cd60f5dd7e0349"},+ {file = "google_crc32c-1.7.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a8e9afc74168b0b2232fb32dd202c93e46b7d5e4bf03e66ba5dc273bb3559589"},+ {file = "google_crc32c-1.7.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fa8136cc14dd27f34a3221c0f16fd42d8a40e4778273e61a3c19aedaa44daf6b"},+ {file = "google_crc32c-1.7.1-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:85fef7fae11494e747c9fd1359a527e5970fc9603c90764843caabd3a16a0a48"},+ {file = "google_crc32c-1.7.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6efb97eb4369d52593ad6f75e7e10d053cf00c48983f7a973105bc70b0ac4d82"},+ {file = "google_crc32c-1.7.1.tar.gz", hash = "sha256:2bff2305f98846f3e825dbeec9ee406f89da7962accdb29356e4eadc251bd472"},][[package]]@@ -1246,6 +1280,20 @@ files = [{file = "greenlet-3.1.1.tar.gz", hash = "sha256:4ce3ac6cdb6adf7946475d7ef31777c26d94bccc377e070a7986bd2d5c515467"},]+[[package]]+name = "griffe"+version = "1.7.2"+requires_python = ">=3.9"+summary = "Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API."+groups = ["default"]+dependencies = [+ "colorama>=0.4",+]+files = [+ {file = "griffe-1.7.2-py3-none-any.whl", hash = "sha256:1ed9c2e338a75741fc82083fe5a1bc89cb6142efe126194cc313e34ee6af5423"},+ {file = "griffe-1.7.2.tar.gz", hash = "sha256:98d396d803fab3b680c2608f300872fd57019ed82f0672f5b5323a9ad18c540c"},+]+[[package]]name = "grpc-google-iam-v1"version = "0.14.2"@@ -1488,7 +1536,7 @@ files = [[[package]]name = "huggingface-hub"-version = "0.29.3"+version = "0.30.1"requires_python = ">=3.8.0"summary = "Client library to download and publish models, datasets and other repos on the huggingface.co hub"groups = ["default"]@@ -1502,8 +1550,8 @@ dependencies = ["typing-extensions>=3.7.4.3",]files = [- {file = "huggingface_hub-0.29.3-py3-none-any.whl", hash = "sha256:0b25710932ac649c08cdbefa6c6ccb8e88eef82927cacdb048efb726429453aa"},- {file = "huggingface_hub-0.29.3.tar.gz", hash = "sha256:64519a25716e0ba382ba2d3fb3ca082e7c7eb4a2fc634d200e8380006e0760e5"},+ {file = "huggingface_hub-0.30.1-py3-none-any.whl", hash = "sha256:0f6aa5ec5a4e68e5b9e45d556b4e5ea180c58f5a5ffa734e7f38c9d573028959"},+ {file = "huggingface_hub-0.30.1.tar.gz", hash = "sha256:f379e8b8d0791295602538856638460ae3cf679c7f304201eb80fb98c771950e"},][[package]]@@ -1533,7 +1581,7 @@ name = "importlib-metadata"version = "8.6.1"requires_python = ">=3.9"summary = "Read metadata from Python packages"-groups = ["default"]+groups = ["default", "test"]marker = "python_version < \"3.10\""dependencies = ["zipp>=3.20",@@ -1543,6 +1591,17 @@ files = [{file = "importlib_metadata-8.6.1.tar.gz", hash = "sha256:310b41d755445d74569f993ccfc22838295d9fe005425094fad953d7f15c8580"},]+[[package]]+name = "iniconfig"+version = "2.1.0"+requires_python = ">=3.8"+summary = "brain-dead simple config-ini parsing"+groups = ["test"]+files = [+ {file = "iniconfig-2.1.0-py3-none-any.whl", hash = "sha256:9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760"},+ {file = "iniconfig-2.1.0.tar.gz", hash = "sha256:3abbd2e30b36733fee78f9c7f7308f2d0050e88f0087fd25c2645f63c773e1c7"},+]+[[package]]name = "isodate"version = "0.7.2"@@ -1559,7 +1618,7 @@ name = "itsdangerous"version = "2.2.0"requires_python = ">=3.8"summary = "Safely pass data to untrusted environments and back."-groups = ["default"]+groups = ["default", "test"]files = [{file = "itsdangerous-2.2.0-py3-none-any.whl", hash = "sha256:c6242fc49e35958c8b15141343aa660db5fc54d4f13a1db01a3f5891b98700ef"},{file = "itsdangerous-2.2.0.tar.gz", hash = "sha256:e0050c0b7da1eea53ffaf149c0cfbb5c6e2e2b69c4bef22c81fa6eb73e5f6173"},@@ -1570,7 +1629,7 @@ name = "jinja2"version = "3.1.6"requires_python = ">=3.7"summary = "A very fast and expressive template engine."-groups = ["default"]+groups = ["default", "test"]dependencies = ["MarkupSafe>=2.0",]@@ -1707,7 +1766,7 @@ files = [[[package]]name = "llama-cloud"-version = "0.1.16"+version = "0.1.17"requires_python = "<4,>=3.8"summary = ""groups = ["default"]@@ -1717,8 +1776,8 @@ dependencies = ["pydantic>=1.10",]files = [- {file = "llama_cloud-0.1.16-py3-none-any.whl", hash = "sha256:a484cf762d2741282f96033c0c09f6c8ad1b93b4efb7520088647fd845d341d4"},- {file = "llama_cloud-0.1.16.tar.gz", hash = "sha256:fc68b24471907958d4862a3db1e973513de76d42f58c29d935b92c06cb1f4e3e"},+ {file = "llama_cloud-0.1.17-py3-none-any.whl", hash = "sha256:4c13267c23d336227176d33ef9cd091f77aded4e1c9c6e7031a3b0ecfe7d5c8d"},+ {file = "llama_cloud-0.1.17.tar.gz", hash = "sha256:f351fa0f1f5b6b9bce650eda78fc84511ba72c09bdafd4525fde6b7a4aac20f3"},][[package]]@@ -1780,7 +1839,7 @@ files = [[[package]]name = "llama-index-core"-version = "0.12.25"+version = "0.12.27"requires_python = "<4.0,>=3.9"summary = "Interface between LLMs and your data"groups = ["default"]@@ -1788,6 +1847,7 @@ dependencies = ["PyYAML>=6.0.1","SQLAlchemy[asyncio]>=1.4.49","aiohttp<4.0.0,>=3.8.6",+ "banks<3.0.0,>=2.0.0","dataclasses-json","deprecated>=1.2.9.3","dirtyjson<2.0.0,>=1.0.8",@@ -1810,8 +1870,8 @@ dependencies = ["wrapt",]files = [- {file = "llama_index_core-0.12.25-py3-none-any.whl", hash = "sha256:affd0b240daf3c1200ad8ca86696ce339f411c3028981b0b5b71b59d78f281ae"},- {file = "llama_index_core-0.12.25.tar.gz", hash = "sha256:e0145617f0ab5358c30a7a716fa46dd3c40183bad1b87dd0cbfd3d196fbee8c4"},+ {file = "llama_index_core-0.12.27-py3-none-any.whl", hash = "sha256:01f3f6f539092579cfaccff86c47b7e78c34638273d51417f40d173bf007a84d"},+ {file = "llama_index_core-0.12.27.tar.gz", hash = "sha256:5019f6e5e5dc2f05da5b802fb02bece213ae4f66ef328b7dd537ddbbbed71374"},][[package]]@@ -1908,7 +1968,7 @@ files = [[[package]]name = "llama-index-indices-managed-llama-cloud"-version = "0.6.9"+version = "0.6.10"requires_python = "<4.0,>=3.9"summary = "llama-index indices llama-cloud integration"groups = ["default"]@@ -1917,8 +1977,8 @@ dependencies = ["llama-index-core<0.13.0,>=0.12.0",]files = [- {file = "llama_index_indices_managed_llama_cloud-0.6.9-py3-none-any.whl", hash = "sha256:8f4002d6d508b8afe7edd003d41e7236868b2774ec0ca266e84d002616e5b96c"},- {file = "llama_index_indices_managed_llama_cloud-0.6.9.tar.gz", hash = "sha256:c6450ef8aa99643cf8e78e1371b861a4f209a3bb80b3ec67fd937741f9da8e74"},+ {file = "llama_index_indices_managed_llama_cloud-0.6.10-py3-none-any.whl", hash = "sha256:de934c7be1957415ca7ec5aab3be973128f790f7c457fb4a402eafecd30370f5"},+ {file = "llama_index_indices_managed_llama_cloud-0.6.10.tar.gz", hash = "sha256:948ecf45c4d8b96cb4fe946aebfa6593cd9e5edbe16e5f1072249c7b3c56d3b5"},][[package]]@@ -2267,7 +2327,7 @@ name = "markupsafe"version = "3.0.2"requires_python = ">=3.9"summary = "Safely add untrusted strings to HTML/XML markup."-groups = ["default"]+groups = ["default", "test"]files = [{file = "MarkupSafe-3.0.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:7e94c425039cde14257288fd61dcfb01963e658efbc0ff54f5306b06054700f8"},{file = "MarkupSafe-3.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9e2d922824181480953426608b81967de705c3cef4d1af983af849d7bd619158"},@@ -2384,7 +2444,7 @@ files = [[[package]]name = "multidict"-version = "6.2.0"+version = "6.3.0"requires_python = ">=3.9"summary = "multidict implementation"groups = ["default"]@@ -2392,53 +2452,53 @@ dependencies = ["typing-extensions>=4.1.0; python_version < \"3.11\"",]files = [- {file = "multidict-6.2.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:b9f6392d98c0bd70676ae41474e2eecf4c7150cb419237a41f8f96043fcb81d1"},- {file = "multidict-6.2.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:3501621d5e86f1a88521ea65d5cad0a0834c77b26f193747615b7c911e5422d2"},- {file = "multidict-6.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:32ed748ff9ac682eae7859790d3044b50e3076c7d80e17a44239683769ff485e"},- {file = "multidict-6.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cc826b9a8176e686b67aa60fd6c6a7047b0461cae5591ea1dc73d28f72332a8a"},- {file = "multidict-6.2.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:214207dcc7a6221d9942f23797fe89144128a71c03632bf713d918db99bd36de"},- {file = "multidict-6.2.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:05fefbc3cddc4e36da209a5e49f1094bbece9a581faa7f3589201fd95df40e5d"},- {file = "multidict-6.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e851e6363d0dbe515d8de81fd544a2c956fdec6f8a049739562286727d4a00c3"},- {file = "multidict-6.2.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:32c9b4878f48be3e75808ea7e499d6223b1eea6d54c487a66bc10a1871e3dc6a"},- {file = "multidict-6.2.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:7243c5a6523c5cfeca76e063efa5f6a656d1d74c8b1fc64b2cd1e84e507f7e2a"},- {file = "multidict-6.2.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:0e5a644e50ef9fb87878d4d57907f03a12410d2aa3b93b3acdf90a741df52c49"},- {file = "multidict-6.2.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:0dc25a3293c50744796e87048de5e68996104d86d940bb24bc3ec31df281b191"},- {file = "multidict-6.2.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:a49994481b99cd7dedde07f2e7e93b1d86c01c0fca1c32aded18f10695ae17eb"},- {file = "multidict-6.2.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:641cf2e3447c9ecff2f7aa6e9eee9eaa286ea65d57b014543a4911ff2799d08a"},- {file = "multidict-6.2.0-cp310-cp310-win32.whl", hash = "sha256:0c383d28857f66f5aebe3e91d6cf498da73af75fbd51cedbe1adfb85e90c0460"},- {file = "multidict-6.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:a33273a541f1e1a8219b2a4ed2de355848ecc0254264915b9290c8d2de1c74e1"},- {file = "multidict-6.2.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:84e87a7d75fa36839a3a432286d719975362d230c70ebfa0948549cc38bd5b46"},- {file = "multidict-6.2.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:8de4d42dffd5ced9117af2ce66ba8722402541a3aa98ffdf78dde92badb68932"},- {file = "multidict-6.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e7d91a230c7f8af86c904a5a992b8c064b66330544693fd6759c3d6162382ecf"},- {file = "multidict-6.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9f6cad071960ba1914fa231677d21b1b4a3acdcce463cee41ea30bc82e6040cf"},- {file = "multidict-6.2.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0f74f2fc51555f4b037ef278efc29a870d327053aba5cb7d86ae572426c7cccc"},- {file = "multidict-6.2.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:14ed9ed1bfedd72a877807c71113deac292bf485159a29025dfdc524c326f3e1"},- {file = "multidict-6.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4ac3fcf9a2d369bd075b2c2965544036a27ccd277fc3c04f708338cc57533081"},- {file = "multidict-6.2.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2fc6af8e39f7496047c7876314f4317736eac82bf85b54c7c76cf1a6f8e35d98"},- {file = "multidict-6.2.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:5f8cb1329f42fadfb40d6211e5ff568d71ab49be36e759345f91c69d1033d633"},- {file = "multidict-6.2.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:5389445f0173c197f4a3613713b5fb3f3879df1ded2a1a2e4bc4b5b9c5441b7e"},- {file = "multidict-6.2.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:94a7bb972178a8bfc4055db80c51efd24baefaced5e51c59b0d598a004e8305d"},- {file = "multidict-6.2.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:da51d8928ad8b4244926fe862ba1795f0b6e68ed8c42cd2f822d435db9c2a8f4"},- {file = "multidict-6.2.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:063be88bd684782a0715641de853e1e58a2f25b76388538bd62d974777ce9bc2"},- {file = "multidict-6.2.0-cp311-cp311-win32.whl", hash = "sha256:52b05e21ff05729fbea9bc20b3a791c3c11da61649ff64cce8257c82a020466d"},- {file = "multidict-6.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:1e2a2193d3aa5cbf5758f6d5680a52aa848e0cf611da324f71e5e48a9695cc86"},- {file = "multidict-6.2.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:b4f3d66dd0354b79761481fc15bdafaba0b9d9076f1f42cc9ce10d7fcbda205a"},- {file = "multidict-6.2.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:6e2a2d6749e1ff2c9c76a72c6530d5baa601205b14e441e6d98011000f47a7ac"},- {file = "multidict-6.2.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:cca83a629f77402cfadd58352e394d79a61c8015f1694b83ab72237ec3941f88"},- {file = "multidict-6.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:781b5dd1db18c9e9eacc419027b0acb5073bdec9de1675c0be25ceb10e2ad133"},- {file = "multidict-6.2.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cf8d370b2fea27fb300825ec3984334f7dd54a581bde6456799ba3776915a656"},- {file = "multidict-6.2.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:25bb96338512e2f46f615a2bb7c6012fe92a4a5ebd353e5020836a7e33120349"},- {file = "multidict-6.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:19e2819b0b468174de25c0ceed766606a07cedeab132383f1e83b9a4e96ccb4f"},- {file = "multidict-6.2.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6aed763b6a1b28c46c055692836879328f0b334a6d61572ee4113a5d0c859872"},- {file = "multidict-6.2.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:a1133414b771619aa3c3000701c11b2e4624a7f492f12f256aedde97c28331a2"},- {file = "multidict-6.2.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:639556758c36093b35e2e368ca485dada6afc2bd6a1b1207d85ea6dfc3deab27"},- {file = "multidict-6.2.0-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:163f4604e76639f728d127293d24c3e208b445b463168af3d031b92b0998bb90"},- {file = "multidict-6.2.0-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:2325105e16d434749e1be8022f942876a936f9bece4ec41ae244e3d7fae42aaf"},- {file = "multidict-6.2.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:e4371591e621579cb6da8401e4ea405b33ff25a755874a3567c4075ca63d56e2"},- {file = "multidict-6.2.0-cp39-cp39-win32.whl", hash = "sha256:d1175b0e0d6037fab207f05774a176d71210ebd40b1c51f480a04b65ec5c786d"},- {file = "multidict-6.2.0-cp39-cp39-win_amd64.whl", hash = "sha256:ad81012b24b88aad4c70b2cbc2dad84018783221b7f923e926f4690ff8569da3"},- {file = "multidict-6.2.0-py3-none-any.whl", hash = "sha256:5d26547423e5e71dcc562c4acdc134b900640a39abd9066d7326a7cc2324c530"},- {file = "multidict-6.2.0.tar.gz", hash = "sha256:0085b0afb2446e57050140240a8595846ed64d1cbd26cef936bfab3192c673b8"},+ {file = "multidict-6.3.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:3bcb8cdfeb08cef0138d696e52ec08fffaf009ef4b1c7c5a40340af672bd9b60"},+ {file = "multidict-6.3.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:67caf9435b1f0115042cbc37e9d60475891b2d9b2a711ade0876580da2a5e0df"},+ {file = "multidict-6.3.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:77e0406dc247851a1e250fdcfd46d13cdecc2ac5b8d1d038dea216da2e7fa9b7"},+ {file = "multidict-6.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6193564d51d02a4aa6fc60bb40f04b65840e70e124282a7337cd94a9ed1b0b81"},+ {file = "multidict-6.3.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:72a1159144e4ad7d152b2c3f75bed8c9b60ad06e9da322e1965981f8371c0dee"},+ {file = "multidict-6.3.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fb3269a3641b868ab7856c3cd939782ee1c802fa120b470b597286d2f9e93aee"},+ {file = "multidict-6.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:79658460926a1c48b2ac10196a673cc7d81857dc268ca593a66fd661ed1b77ea"},+ {file = "multidict-6.3.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fd289ef26241bc2c0b7b047417a33786790bf2a01f6c92d9688eb2693c9116df"},+ {file = "multidict-6.3.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:a48fd39ba69f399f39b911885469bdfedd1de4a095146211e39e8b5db0e3a937"},+ {file = "multidict-6.3.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:478d29a270785fc58632c9d1e0f59f595d3fb06c5e63ac117136dba2d0e5f4f9"},+ {file = "multidict-6.3.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:31c68e103b253643cf9b4704f5d655997c116626b20ef3bb953992b7f447485d"},+ {file = "multidict-6.3.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:69983ee3e649e41dc41ddea68f6c2ab64d7f19fcab4e21a72a1accf6482c5605"},+ {file = "multidict-6.3.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:5bd70d75b4bbfc0a26fdbfc72e260b70090637020b0d7d27eb26c7ae5edf16da"},+ {file = "multidict-6.3.0-cp310-cp310-win32.whl", hash = "sha256:82bd76a12588bd2bb27965aaf9fcff2258ffb03c9a290368288ed4571ed539ab"},+ {file = "multidict-6.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:430cb9ee0cf2d5a2fa91e78f306544352009dbda9ebb4bd04c5785e67fc04953"},+ {file = "multidict-6.3.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:904895323a59dd50387cddd1337c3eac48ec0fe6cb4d2e4106dc1a3b80091727"},+ {file = "multidict-6.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1aa6e1a605c602c119a22368f7d3b9dfb102a7cd69edae5a89e55da34fd64c2b"},+ {file = "multidict-6.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:72574693fad34d075a54fa771984a1a8809a9eff880b731152078e81c7d8c80f"},+ {file = "multidict-6.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:72d15a61b76fa4b814390c21defd772893d1152157e3297e6afb328ef32d1711"},+ {file = "multidict-6.3.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7bf0d43f2c56b600c6895c25a420e4b46c6a5acf91d6c9a6300713496f70e63b"},+ {file = "multidict-6.3.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6be1182387fb9a95fd8a8cbfab2f2b61d61ea0ab4699780d4300ea207c8f8d71"},+ {file = "multidict-6.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0ba7d12ff77cadb59519aba674cac3a0b16d0fc5abaa3ef79b5ff3806e52e991"},+ {file = "multidict-6.3.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eeca775446b00826ec8ca34eed8c902c6a1ae7dc42d78094b1f73ecd38d1dcf8"},+ {file = "multidict-6.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0a1a5f50ccc57a317db68582411ce6aca076ee3bc386290b416a5783e807afa1"},+ {file = "multidict-6.3.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:6989ea9326f9a9171edc920a459003b1deffc6cb48605b8f2610846c7fbd201a"},+ {file = "multidict-6.3.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:9efe23b3d0671eeb8b1e70791612538dcdc1b39275563ca78f338aa0ce9619d2"},+ {file = "multidict-6.3.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:560af476d03256a65bd4ff05c83e7869ec3c2b40579d4ed1ac74075ef19e02bf"},+ {file = "multidict-6.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:091f3dfe63e9f48ae6c7da8d638e8d8e050ff11e348f69bafc20e65d11f7aa48"},+ {file = "multidict-6.3.0-cp311-cp311-win32.whl", hash = "sha256:38e60e400e07ba678a755cc89b09955a49acb0188d47aee2829ed4efc1ccb053"},+ {file = "multidict-6.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:65e763769cec2fa9c79b70555e3f2a7903747d127ab14ec9eaa5f00763bb4152"},+ {file = "multidict-6.3.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:7594756e9607e5ffbc16c7f3b1715c0f7224a82ac389f0087fa5faaa65fb96e2"},+ {file = "multidict-6.3.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:3ae6ea8e610143348199c1db9fea5392f6b11a0e37ac8e8e7cae9c408625c5d0"},+ {file = "multidict-6.3.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:257bd1540b7c32982b17e86f024985b9c591da8542a3fb350ed7dad42d725998"},+ {file = "multidict-6.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:43ad68da1385738a1e96a188029f092e88381352e697a0687784191c1d45845b"},+ {file = "multidict-6.3.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e31697466812ff1cdabd7a9db7fb7f37d319e58e4c8a2ce1065012c1a5cfebde"},+ {file = "multidict-6.3.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5e0db6ea39ac96ae2ccc582291633ee55ae93c9cc6dca1f7ab4dd9f0b7e08f8a"},+ {file = "multidict-6.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ac6ea86ac161198653dba8f0af047d7b718318ba6d6bf4c719bc288ac21017b"},+ {file = "multidict-6.3.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:150cc33d5d972c1bd7b0e5c446cccfa4dc6b8e185ef54dab3327db101149f797"},+ {file = "multidict-6.3.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:2264957a0e0fb92d8d538a27738178c48628c65ef0ec6b068d64d2e5d11cc00d"},+ {file = "multidict-6.3.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:6befa3c621caf26f5affc6121bf863b8f049f862a7a10aabb0d19cce34c6e363"},+ {file = "multidict-6.3.0-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:7074f10bf324e4d38208e1bcc2b6abd87901675b1a567507035ff1e7403378c0"},+ {file = "multidict-6.3.0-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:fa476e5f763f59270bda050695e22078b2461dc14bc62a0d27756c5906bca86c"},+ {file = "multidict-6.3.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:4c3da8aa4b28f83382f0dee288d030eb0fa212df9632dc2fe4e4fc2a8e2577a4"},+ {file = "multidict-6.3.0-cp39-cp39-win32.whl", hash = "sha256:02a239ad4e35d3c033e701bc8b7beb05013fc6617b13948497cf50e9e9c12f7f"},+ {file = "multidict-6.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:8895999e0de5ddddddd146bb1bfc0316af808580637fea158873b84785f7a9e9"},+ {file = "multidict-6.3.0-py3-none-any.whl", hash = "sha256:9ca652d9c6f68535537d75502b549ed0ca07fa6d3908f84f29f92148ec7310f2"},+ {file = "multidict-6.3.0.tar.gz", hash = "sha256:2cf3e0781febf9f093eff3eca2d6dd7954ef2969ff46f6cd95173a4db8397fd8"},][[package]]@@ -2563,7 +2623,7 @@ files = [[[package]]name = "openai"-version = "1.68.2"+version = "1.70.0"requires_python = ">=3.8"summary = "The official Python library for the openai API"groups = ["default"]@@ -2578,8 +2638,8 @@ dependencies = ["typing-extensions<5,>=4.11",]files = [- {file = "openai-1.68.2-py3-none-any.whl", hash = "sha256:24484cb5c9a33b58576fdc5acf0e5f92603024a4e39d0b99793dfa1eb14c2b36"},- {file = "openai-1.68.2.tar.gz", hash = "sha256:b720f0a95a1dbe1429c0d9bb62096a0d98057bcda82516f6e8af10284bdd5b19"},+ {file = "openai-1.70.0-py3-none-any.whl", hash = "sha256:f6438d053fd8b2e05fd6bef70871e832d9bbdf55e119d0ac5b92726f1ae6f614"},+ {file = "openai-1.70.0.tar.gz", hash = "sha256:e52a8d54c3efeb08cf58539b5b21a5abef25368b5432965e4de88cdf4e091b2b"},][[package]]@@ -2587,7 +2647,7 @@ name = "packaging"version = "24.2"requires_python = ">=3.8"summary = "Core utilities for Python packages"-groups = ["default", "deploy"]+groups = ["default", "deploy", "test"]files = [{file = "packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759"},{file = "packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f"},@@ -2633,8 +2693,8 @@ files = [[[package]]name = "pdfminer-six"-version = "20231228"-requires_python = ">=3.6"+version = "20250327"+requires_python = ">=3.9"summary = "PDF parser and analyzer"groups = ["default"]dependencies = [@@ -2642,24 +2702,24 @@ dependencies = ["cryptography>=36.0.0",]files = [- {file = "pdfminer.six-20231228-py3-none-any.whl", hash = "sha256:e8d3c3310e6fbc1fe414090123ab01351634b4ecb021232206c4c9a8ca3e3b8f"},- {file = "pdfminer.six-20231228.tar.gz", hash = "sha256:6004da3ad1a7a4d45930cb950393df89b068e73be365a6ff64a838d37bcb08c4"},+ {file = "pdfminer_six-20250327-py3-none-any.whl", hash = "sha256:5af494c85b1ecb7c28df5e3a26bb5234a8226a307503d9a09f4958bc154b16a9"},+ {file = "pdfminer_six-20250327.tar.gz", hash = "sha256:57f6c34c2702df04cfa3191622a3db0a922ced686d35283232b00094f8914aa1"},][[package]]name = "pdfplumber"-version = "0.11.5"+version = "0.11.6"requires_python = ">=3.8"summary = "Plumb a PDF for detailed information about each char, rectangle, and line."groups = ["default"]dependencies = ["Pillow>=9.1",- "pdfminer-six==20231228",+ "pdfminer-six==20250327","pypdfium2>=4.18.0",]files = [- {file = "pdfplumber-0.11.5-py3-none-any.whl", hash = "sha256:a6e0921a57e0ef7356001a0fd811250b0e37a0b42630a922ee48f55cdd534070"},- {file = "pdfplumber-0.11.5.tar.gz", hash = "sha256:dadd81b62a0b23e078cdd89de26e013850d4daf5690fcf46dec396b07e6737d6"},+ {file = "pdfplumber-0.11.6-py3-none-any.whl", hash = "sha256:169fc2b8dbf328c81a4e9bab30af0c304ad4b472fd7816616eabdb79dc5d9d17"},+ {file = "pdfplumber-0.11.6.tar.gz", hash = "sha256:d0f419e031641d9eac70dc18c60e1fc3ca2ec28cce7e149644923c030a0003ff"},][[package]]@@ -2687,52 +2747,48 @@ files = [[[package]]name = "pillow"-version = "11.1.0"+version = "11.2.0"requires_python = ">=3.9"summary = "Python Imaging Library (Fork)"groups = ["default"]files = [- {file = "pillow-11.1.0-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:e1abe69aca89514737465752b4bcaf8016de61b3be1397a8fc260ba33321b3a8"},- {file = "pillow-11.1.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c640e5a06869c75994624551f45e5506e4256562ead981cce820d5ab39ae2192"},- {file = "pillow-11.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a07dba04c5e22824816b2615ad7a7484432d7f540e6fa86af60d2de57b0fcee2"},- {file = "pillow-11.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e267b0ed063341f3e60acd25c05200df4193e15a4a5807075cd71225a2386e26"},- {file = "pillow-11.1.0-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:bd165131fd51697e22421d0e467997ad31621b74bfc0b75956608cb2906dda07"},- {file = "pillow-11.1.0-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:abc56501c3fd148d60659aae0af6ddc149660469082859fa7b066a298bde9482"},- {file = "pillow-11.1.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:54ce1c9a16a9561b6d6d8cb30089ab1e5eb66918cb47d457bd996ef34182922e"},- {file = "pillow-11.1.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:73ddde795ee9b06257dac5ad42fcb07f3b9b813f8c1f7f870f402f4dc54b5269"},- {file = "pillow-11.1.0-cp310-cp310-win32.whl", hash = "sha256:3a5fe20a7b66e8135d7fd617b13272626a28278d0e578c98720d9ba4b2439d49"},- {file = "pillow-11.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:b6123aa4a59d75f06e9dd3dac5bf8bc9aa383121bb3dd9a7a612e05eabc9961a"},- {file = "pillow-11.1.0-cp310-cp310-win_arm64.whl", hash = "sha256:a76da0a31da6fcae4210aa94fd779c65c75786bc9af06289cd1c184451ef7a65"},- {file = "pillow-11.1.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:e06695e0326d05b06833b40b7ef477e475d0b1ba3a6d27da1bb48c23209bf457"},- {file = "pillow-11.1.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:96f82000e12f23e4f29346e42702b6ed9a2f2fea34a740dd5ffffcc8c539eb35"},- {file = "pillow-11.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a3cd561ded2cf2bbae44d4605837221b987c216cff94f49dfeed63488bb228d2"},- {file = "pillow-11.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f189805c8be5ca5add39e6f899e6ce2ed824e65fb45f3c28cb2841911da19070"},- {file = "pillow-11.1.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:dd0052e9db3474df30433f83a71b9b23bd9e4ef1de13d92df21a52c0303b8ab6"},- {file = "pillow-11.1.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:837060a8599b8f5d402e97197d4924f05a2e0d68756998345c829c33186217b1"},- {file = "pillow-11.1.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:aa8dd43daa836b9a8128dbe7d923423e5ad86f50a7a14dc688194b7be5c0dea2"},- {file = "pillow-11.1.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:0a2f91f8a8b367e7a57c6e91cd25af510168091fb89ec5146003e424e1558a96"},- {file = "pillow-11.1.0-cp311-cp311-win32.whl", hash = "sha256:c12fc111ef090845de2bb15009372175d76ac99969bdf31e2ce9b42e4b8cd88f"},- {file = "pillow-11.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:fbd43429d0d7ed6533b25fc993861b8fd512c42d04514a0dd6337fb3ccf22761"},- {file = "pillow-11.1.0-cp311-cp311-win_arm64.whl", hash = "sha256:f7955ecf5609dee9442cbface754f2c6e541d9e6eda87fad7f7a989b0bdb9d71"},- {file = "pillow-11.1.0-cp39-cp39-macosx_10_10_x86_64.whl", hash = "sha256:bf902d7413c82a1bfa08b06a070876132a5ae6b2388e2712aab3a7cbc02205c6"},- {file = "pillow-11.1.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c1eec9d950b6fe688edee07138993e54ee4ae634c51443cfb7c1e7613322718e"},- {file = "pillow-11.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8e275ee4cb11c262bd108ab2081f750db2a1c0b8c12c1897f27b160c8bd57bbc"},- {file = "pillow-11.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4db853948ce4e718f2fc775b75c37ba2efb6aaea41a1a5fc57f0af59eee774b2"},- {file = "pillow-11.1.0-cp39-cp39-manylinux_2_28_aarch64.whl", hash = "sha256:ab8a209b8485d3db694fa97a896d96dd6533d63c22829043fd9de627060beade"},- {file = "pillow-11.1.0-cp39-cp39-manylinux_2_28_x86_64.whl", hash = "sha256:54251ef02a2309b5eec99d151ebf5c9904b77976c8abdcbce7891ed22df53884"},- {file = "pillow-11.1.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:5bb94705aea800051a743aa4874bb1397d4695fb0583ba5e425ee0328757f196"},- {file = "pillow-11.1.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:89dbdb3e6e9594d512780a5a1c42801879628b38e3efc7038094430844e271d8"},- {file = "pillow-11.1.0-cp39-cp39-win32.whl", hash = "sha256:e5449ca63da169a2e6068dd0e2fcc8d91f9558aba89ff6d02121ca8ab11e79e5"},- {file = "pillow-11.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:3362c6ca227e65c54bf71a5f88b3d4565ff1bcbc63ae72c34b07bbb1cc59a43f"},- {file = "pillow-11.1.0-cp39-cp39-win_arm64.whl", hash = "sha256:b20be51b37a75cc54c2c55def3fa2c65bb94ba859dde241cd0a4fd302de5ae0a"},- {file = "pillow-11.1.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:8c730dc3a83e5ac137fbc92dfcfe1511ce3b2b5d7578315b63dbbb76f7f51d90"},- {file = "pillow-11.1.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:7d33d2fae0e8b170b6a6c57400e077412240f6f5bb2a342cf1ee512a787942bb"},- {file = "pillow-11.1.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a8d65b38173085f24bc07f8b6c505cbb7418009fa1a1fcb111b1f4961814a442"},- {file = "pillow-11.1.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:015c6e863faa4779251436db398ae75051469f7c903b043a48f078e437656f83"},- {file = "pillow-11.1.0-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:d44ff19eea13ae4acdaaab0179fa68c0c6f2f45d66a4d8ec1eda7d6cecbcc15f"},- {file = "pillow-11.1.0-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:d3d8da4a631471dfaf94c10c85f5277b1f8e42ac42bade1ac67da4b4a7359b73"},- {file = "pillow-11.1.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:4637b88343166249fe8aa94e7c4a62a180c4b3898283bb5d3d2fd5fe10d8e4e0"},- {file = "pillow-11.1.0.tar.gz", hash = "sha256:368da70808b36d73b4b390a8ffac11069f8a5c85f29eff1f1b01bcf3ef5b2a20"},+ {file = "pillow-11.2.0-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:38afd040bafe3c2893de4e011557c309a878e8fde07e3303bf3cb0f9832d237c"},+ {file = "pillow-11.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ed1f80258bc01a0bc5c5f2eda7e4cbd9bc25060dc69be2f00fe1435ba48f4ff4"},+ {file = "pillow-11.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:52ecd8f581cd5aa0fcc29291acc99b38dbaf898272e86e3146ec3996ed370a46"},+ {file = "pillow-11.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:10502f9425768a4f9c1c8471a7a3f942da659c727369bab1241b7ae1ff16f93f"},+ {file = "pillow-11.2.0-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:d8a9dc58117878e94303dbc32a4c9fe470f6b77f349954d4ae003870c9ac7a83"},+ {file = "pillow-11.2.0-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:71733ea2d70a5fc498b7675cb37e7dcfb2b1889d8a08128ec2a62b6843f0660a"},+ {file = "pillow-11.2.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:4846c8efa94eda17832f09c4e8691c9aaeb7eef758c8b622af44e60887fcaf12"},+ {file = "pillow-11.2.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:54206449613db62c82585bb26ac70f3a1a97654d70ad796b4e05624ef1b08f4e"},+ {file = "pillow-11.2.0-cp310-cp310-win32.whl", hash = "sha256:b92d9059719ec9a718ac9e04039764b10551f2c929db6cd6015e90f9c62f8b34"},+ {file = "pillow-11.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:98cd082d9a523cb0f2f8775ec122e67a5cfd9afc6549d91aafe0c2d75535d008"},+ {file = "pillow-11.2.0-cp310-cp310-win_arm64.whl", hash = "sha256:5c3a8f916c494c0a3dc37daf5a0e7d98480a6f839ad0fa472e9858b667b48268"},+ {file = "pillow-11.2.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:cb17dc417e951a3af0c5a9ed2641b8b37e7b0e78fe685b91b927de474cddad58"},+ {file = "pillow-11.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f0125a9e668df3e83ff2cfa5800dfe5646591449abae40abf75a1d8b325ddd33"},+ {file = "pillow-11.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4d28e47fe5a5e5692ea5d239e8bb6c610cf2dad550fc34c5a32d49b1ffd1c891"},+ {file = "pillow-11.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9ec3481f45d9616bb18b5f3b145744dfcdfabea6a23efe233b8a9026852369d1"},+ {file = "pillow-11.2.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:c026e417ebede0e84d9358cc1d9f702356e61a787be882016fbca4fb1248c0d1"},+ {file = "pillow-11.2.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:92baf77b80de05ede82b14d92bf89a7f0067501b9476df0a162004f3bb015b50"},+ {file = "pillow-11.2.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:ff44a55a650c0337d3db764cec4f85d1324369e5cf10f6daa96c9513182730a9"},+ {file = "pillow-11.2.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:87c715dd5dc439bde27cf745d59b66af39b2df4355bc57ddd2e51f87f768fb06"},+ {file = "pillow-11.2.0-cp311-cp311-win32.whl", hash = "sha256:b4204996f6a813f5ca8e7d6365e104ec7391315d014780a909eadc19e613fcf9"},+ {file = "pillow-11.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:4d1c229f800addb9158c26661c6ade9cb038ff7bb98e3c0149e8fd3a7b6e6e08"},+ {file = "pillow-11.2.0-cp311-cp311-win_arm64.whl", hash = "sha256:77cea582243e7286ac23ef6315eeb1434f5ccfc710afa16a8999194aa9d1e88a"},+ {file = "pillow-11.2.0-cp39-cp39-macosx_10_10_x86_64.whl", hash = "sha256:20d8f9626c3d48baf14e01aca763e5457508cf4245ef0232ba601a4bfa3d26ce"},+ {file = "pillow-11.2.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:57bc12a7d9175ec13c6e1e2a41532e6ae0f5218988259d1f83dd5f7097369ef8"},+ {file = "pillow-11.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:582c458d766c479ebf5679d582fef698a42b803fa07190e04267280db4f14725"},+ {file = "pillow-11.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:284bcf4d37699a3ca6af2f42ba5e90589802f9c9e0c09e4a1a05732e634e94f1"},+ {file = "pillow-11.2.0-cp39-cp39-manylinux_2_28_aarch64.whl", hash = "sha256:3a03f96498762c9a6e80282ce43386847e61540011510bf790c48488d834205d"},+ {file = "pillow-11.2.0-cp39-cp39-manylinux_2_28_x86_64.whl", hash = "sha256:f50edae2624495d3b075e40f65d86bcbf374fa822dfc05f1d9dc995507c410ed"},+ {file = "pillow-11.2.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:c25567ad74526f362b55940d786e70568a05759a7d3b7de1f12aeec6920bc1ae"},+ {file = "pillow-11.2.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:c8a74615674cca471e825392d833e666a945b2bbedfd93299d800f60ae6c495c"},+ {file = "pillow-11.2.0-cp39-cp39-win32.whl", hash = "sha256:d31997b8ddae9db2d93d9fe195b3bae67746419b22cb65dddcfd5d649aa7f26d"},+ {file = "pillow-11.2.0-cp39-cp39-win_amd64.whl", hash = "sha256:f56cd367fb7b5b2779c2b8e5ab2b228ce526b122c21126f4649f9ecd3796efc4"},+ {file = "pillow-11.2.0-cp39-cp39-win_arm64.whl", hash = "sha256:f67f2191773d7a54f8bad94ba781cba88aedf52fed0ff6f6050065f824d201a4"},+ {file = "pillow-11.2.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:789c65fa7d2a17dc585bb4cc0f08392de5960f7e1a69c6171a82c9f7c5c98b3c"},+ {file = "pillow-11.2.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:7d516f854dadc0f449f0db7b93009d3169ae126511ee754c954b4a43c432bd9d"},+ {file = "pillow-11.2.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cade37bde4fbe239b177e809a2599c2772f7e54e3c7a355431de6a25023a50d3"},+ {file = "pillow-11.2.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afa1718a5ca25d52c766dfaae795d0286363b7adb005965aadfd9eea804fd0b3"},][[package]]@@ -2779,6 +2835,28 @@ files = [{file = "pinecone_plugin_interface-0.0.7.tar.gz", hash = "sha256:b8e6675e41847333aa13923cc44daa3f85676d7157324682dc1640588a982846"},]+[[package]]+name = "platformdirs"+version = "4.3.7"+requires_python = ">=3.9"+summary = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`."+groups = ["default"]+files = [+ {file = "platformdirs-4.3.7-py3-none-any.whl", hash = "sha256:a03875334331946f13c549dbd8f4bac7a13a50a895a0eb1e8c6a8ace80d40a94"},+ {file = "platformdirs-4.3.7.tar.gz", hash = "sha256:eb437d586b6a0986388f0d6f74aa0cde27b48d0e3d66843640bfb6bdcdb6e351"},+]++[[package]]+name = "pluggy"+version = "1.5.0"+requires_python = ">=3.8"+summary = "plugin and hook calling mechanisms for python"+groups = ["test"]+files = [+ {file = "pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669"},+ {file = "pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1"},+]+[[package]]name = "portalocker"version = "2.10.1"@@ -2795,61 +2873,61 @@ files = [[[package]]name = "propcache"-version = "0.3.0"+version = "0.3.1"requires_python = ">=3.9"summary = "Accelerated property cache"groups = ["default"]files = [- {file = "propcache-0.3.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:efa44f64c37cc30c9f05932c740a8b40ce359f51882c70883cc95feac842da4d"},- {file = "propcache-0.3.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:2383a17385d9800b6eb5855c2f05ee550f803878f344f58b6e194de08b96352c"},- {file = "propcache-0.3.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d3e7420211f5a65a54675fd860ea04173cde60a7cc20ccfbafcccd155225f8bc"},- {file = "propcache-0.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3302c5287e504d23bb0e64d2a921d1eb4a03fb93a0a0aa3b53de059f5a5d737d"},- {file = "propcache-0.3.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7e2e068a83552ddf7a39a99488bcba05ac13454fb205c847674da0352602082f"},- {file = "propcache-0.3.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2d913d36bdaf368637b4f88d554fb9cb9d53d6920b9c5563846555938d5450bf"},- {file = "propcache-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8ee1983728964d6070ab443399c476de93d5d741f71e8f6e7880a065f878e0b9"},- {file = "propcache-0.3.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:36ca5e9a21822cc1746023e88f5c0af6fce3af3b85d4520efb1ce4221bed75cc"},- {file = "propcache-0.3.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:9ecde3671e62eeb99e977f5221abcf40c208f69b5eb986b061ccec317c82ebd0"},- {file = "propcache-0.3.0-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:d383bf5e045d7f9d239b38e6acadd7b7fdf6c0087259a84ae3475d18e9a2ae8b"},- {file = "propcache-0.3.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:8cb625bcb5add899cb8ba7bf716ec1d3e8f7cdea9b0713fa99eadf73b6d4986f"},- {file = "propcache-0.3.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:5fa159dcee5dba00c1def3231c249cf261185189205073bde13797e57dd7540a"},- {file = "propcache-0.3.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:a7080b0159ce05f179cfac592cda1a82898ca9cd097dacf8ea20ae33474fbb25"},- {file = "propcache-0.3.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:ed7161bccab7696a473fe7ddb619c1d75963732b37da4618ba12e60899fefe4f"},- {file = "propcache-0.3.0-cp310-cp310-win32.whl", hash = "sha256:bf0d9a171908f32d54f651648c7290397b8792f4303821c42a74e7805bfb813c"},- {file = "propcache-0.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:42924dc0c9d73e49908e35bbdec87adedd651ea24c53c29cac103ede0ea1d340"},- {file = "propcache-0.3.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:9ddd49258610499aab83b4f5b61b32e11fce873586282a0e972e5ab3bcadee51"},- {file = "propcache-0.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:2578541776769b500bada3f8a4eeaf944530516b6e90c089aa368266ed70c49e"},- {file = "propcache-0.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d8074c5dd61c8a3e915fa8fc04754fa55cfa5978200d2daa1e2d4294c1f136aa"},- {file = "propcache-0.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b58229a844931bca61b3a20efd2be2a2acb4ad1622fc026504309a6883686fbf"},- {file = "propcache-0.3.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e45377d5d6fefe1677da2a2c07b024a6dac782088e37c0b1efea4cfe2b1be19b"},- {file = "propcache-0.3.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ec5060592d83454e8063e487696ac3783cc48c9a329498bafae0d972bc7816c9"},- {file = "propcache-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:15010f29fbed80e711db272909a074dc79858c6d28e2915704cfc487a8ac89c6"},- {file = "propcache-0.3.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a254537b9b696ede293bfdbc0a65200e8e4507bc9f37831e2a0318a9b333c85c"},- {file = "propcache-0.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:2b975528998de037dfbc10144b8aed9b8dd5a99ec547f14d1cb7c5665a43f075"},- {file = "propcache-0.3.0-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:19d36bb351ad5554ff20f2ae75f88ce205b0748c38b146c75628577020351e3c"},- {file = "propcache-0.3.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:6032231d4a5abd67c7f71168fd64a47b6b451fbcb91c8397c2f7610e67683810"},- {file = "propcache-0.3.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:6985a593417cdbc94c7f9c3403747335e450c1599da1647a5af76539672464d3"},- {file = "propcache-0.3.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:6a1948df1bb1d56b5e7b0553c0fa04fd0e320997ae99689488201f19fa90d2e7"},- {file = "propcache-0.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:8319293e85feadbbfe2150a5659dbc2ebc4afdeaf7d98936fb9a2f2ba0d4c35c"},- {file = "propcache-0.3.0-cp311-cp311-win32.whl", hash = "sha256:63f26258a163c34542c24808f03d734b338da66ba91f410a703e505c8485791d"},- {file = "propcache-0.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:cacea77ef7a2195f04f9279297684955e3d1ae4241092ff0cfcef532bb7a1c32"},- {file = "propcache-0.3.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:03c091bb752349402f23ee43bb2bff6bd80ccab7c9df6b88ad4322258d6960fc"},- {file = "propcache-0.3.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:46ed02532cb66612d42ae5c3929b5e98ae330ea0f3900bc66ec5f4862069519b"},- {file = "propcache-0.3.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:11ae6a8a01b8a4dc79093b5d3ca2c8a4436f5ee251a9840d7790dccbd96cb649"},- {file = "propcache-0.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:df03cd88f95b1b99052b52b1bb92173229d7a674df0ab06d2b25765ee8404bce"},- {file = "propcache-0.3.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:03acd9ff19021bd0567582ac88f821b66883e158274183b9e5586f678984f8fe"},- {file = "propcache-0.3.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd54895e4ae7d32f1e3dd91261df46ee7483a735017dc6f987904f194aa5fd14"},- {file = "propcache-0.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:26a67e5c04e3119594d8cfae517f4b9330c395df07ea65eab16f3d559b7068fe"},- {file = "propcache-0.3.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ee25f1ac091def37c4b59d192bbe3a206298feeb89132a470325bf76ad122a1e"},- {file = "propcache-0.3.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:58e6d2a5a7cb3e5f166fd58e71e9a4ff504be9dc61b88167e75f835da5764d07"},- {file = "propcache-0.3.0-cp39-cp39-musllinux_1_2_armv7l.whl", hash = "sha256:be90c94570840939fecedf99fa72839aed70b0ced449b415c85e01ae67422c90"},- {file = "propcache-0.3.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:49ea05212a529c2caffe411e25a59308b07d6e10bf2505d77da72891f9a05641"},- {file = "propcache-0.3.0-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:119e244ab40f70a98c91906d4c1f4c5f2e68bd0b14e7ab0a06922038fae8a20f"},- {file = "propcache-0.3.0-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:507c5357a8d8b4593b97fb669c50598f4e6cccbbf77e22fa9598aba78292b4d7"},- {file = "propcache-0.3.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:8526b0941ec5a40220fc4dfde76aed58808e2b309c03e9fa8e2260083ef7157f"},- {file = "propcache-0.3.0-cp39-cp39-win32.whl", hash = "sha256:7cedd25e5f678f7738da38037435b340694ab34d424938041aa630d8bac42663"},- {file = "propcache-0.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:bf4298f366ca7e1ad1d21bbb58300a6985015909964077afd37559084590c929"},- {file = "propcache-0.3.0-py3-none-any.whl", hash = "sha256:67dda3c7325691c2081510e92c561f465ba61b975f481735aefdfc845d2cd043"},- {file = "propcache-0.3.0.tar.gz", hash = "sha256:a8fd93de4e1d278046345f49e2238cdb298589325849b2645d4a94c53faeffc5"},+ {file = "propcache-0.3.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:f27785888d2fdd918bc36de8b8739f2d6c791399552333721b58193f68ea3e98"},+ {file = "propcache-0.3.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d4e89cde74154c7b5957f87a355bb9c8ec929c167b59c83d90654ea36aeb6180"},+ {file = "propcache-0.3.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:730178f476ef03d3d4d255f0c9fa186cb1d13fd33ffe89d39f2cda4da90ceb71"},+ {file = "propcache-0.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:967a8eec513dbe08330f10137eacb427b2ca52118769e82ebcfcab0fba92a649"},+ {file = "propcache-0.3.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5b9145c35cc87313b5fd480144f8078716007656093d23059e8993d3a8fa730f"},+ {file = "propcache-0.3.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9e64e948ab41411958670f1093c0a57acfdc3bee5cf5b935671bbd5313bcf229"},+ {file = "propcache-0.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:319fa8765bfd6a265e5fa661547556da381e53274bc05094fc9ea50da51bfd46"},+ {file = "propcache-0.3.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c66d8ccbc902ad548312b96ed8d5d266d0d2c6d006fd0f66323e9d8f2dd49be7"},+ {file = "propcache-0.3.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:2d219b0dbabe75e15e581fc1ae796109b07c8ba7d25b9ae8d650da582bed01b0"},+ {file = "propcache-0.3.1-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:cd6a55f65241c551eb53f8cf4d2f4af33512c39da5d9777694e9d9c60872f519"},+ {file = "propcache-0.3.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:9979643ffc69b799d50d3a7b72b5164a2e97e117009d7af6dfdd2ab906cb72cd"},+ {file = "propcache-0.3.1-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:4cf9e93a81979f1424f1a3d155213dc928f1069d697e4353edb8a5eba67c6259"},+ {file = "propcache-0.3.1-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:2fce1df66915909ff6c824bbb5eb403d2d15f98f1518e583074671a30fe0c21e"},+ {file = "propcache-0.3.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:4d0dfdd9a2ebc77b869a0b04423591ea8823f791293b527dc1bb896c1d6f1136"},+ {file = "propcache-0.3.1-cp310-cp310-win32.whl", hash = "sha256:1f6cc0ad7b4560e5637eb2c994e97b4fa41ba8226069c9277eb5ea7101845b42"},+ {file = "propcache-0.3.1-cp310-cp310-win_amd64.whl", hash = "sha256:47ef24aa6511e388e9894ec16f0fbf3313a53ee68402bc428744a367ec55b833"},+ {file = "propcache-0.3.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:7f30241577d2fef2602113b70ef7231bf4c69a97e04693bde08ddab913ba0ce5"},+ {file = "propcache-0.3.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:43593c6772aa12abc3af7784bff4a41ffa921608dd38b77cf1dfd7f5c4e71371"},+ {file = "propcache-0.3.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a75801768bbe65499495660b777e018cbe90c7980f07f8aa57d6be79ea6f71da"},+ {file = "propcache-0.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f6f1324db48f001c2ca26a25fa25af60711e09b9aaf4b28488602776f4f9a744"},+ {file = "propcache-0.3.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5cdb0f3e1eb6dfc9965d19734d8f9c481b294b5274337a8cb5cb01b462dcb7e0"},+ {file = "propcache-0.3.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1eb34d90aac9bfbced9a58b266f8946cb5935869ff01b164573a7634d39fbcb5"},+ {file = "propcache-0.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f35c7070eeec2cdaac6fd3fe245226ed2a6292d3ee8c938e5bb645b434c5f256"},+ {file = "propcache-0.3.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b23c11c2c9e6d4e7300c92e022046ad09b91fd00e36e83c44483df4afa990073"},+ {file = "propcache-0.3.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:3e19ea4ea0bf46179f8a3652ac1426e6dcbaf577ce4b4f65be581e237340420d"},+ {file = "propcache-0.3.1-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:bd39c92e4c8f6cbf5f08257d6360123af72af9f4da75a690bef50da77362d25f"},+ {file = "propcache-0.3.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:b0313e8b923b3814d1c4a524c93dfecea5f39fa95601f6a9b1ac96cd66f89ea0"},+ {file = "propcache-0.3.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:e861ad82892408487be144906a368ddbe2dc6297074ade2d892341b35c59844a"},+ {file = "propcache-0.3.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:61014615c1274df8da5991a1e5da85a3ccb00c2d4701ac6f3383afd3ca47ab0a"},+ {file = "propcache-0.3.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:71ebe3fe42656a2328ab08933d420df5f3ab121772eef78f2dc63624157f0ed9"},+ {file = "propcache-0.3.1-cp311-cp311-win32.whl", hash = "sha256:58aa11f4ca8b60113d4b8e32d37e7e78bd8af4d1a5b5cb4979ed856a45e62005"},+ {file = "propcache-0.3.1-cp311-cp311-win_amd64.whl", hash = "sha256:9532ea0b26a401264b1365146c440a6d78269ed41f83f23818d4b79497aeabe7"},+ {file = "propcache-0.3.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:ed5f6d2edbf349bd8d630e81f474d33d6ae5d07760c44d33cd808e2f5c8f4ae6"},+ {file = "propcache-0.3.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:668ddddc9f3075af019f784456267eb504cb77c2c4bd46cc8402d723b4d200bf"},+ {file = "propcache-0.3.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0c86e7ceea56376216eba345aa1fc6a8a6b27ac236181f840d1d7e6a1ea9ba5c"},+ {file = "propcache-0.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:83be47aa4e35b87c106fc0c84c0fc069d3f9b9b06d3c494cd404ec6747544894"},+ {file = "propcache-0.3.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:27c6ac6aa9fc7bc662f594ef380707494cb42c22786a558d95fcdedb9aa5d035"},+ {file = "propcache-0.3.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:64a956dff37080b352c1c40b2966b09defb014347043e740d420ca1eb7c9b908"},+ {file = "propcache-0.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:82de5da8c8893056603ac2d6a89eb8b4df49abf1a7c19d536984c8dd63f481d5"},+ {file = "propcache-0.3.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0c3c3a203c375b08fd06a20da3cf7aac293b834b6f4f4db71190e8422750cca5"},+ {file = "propcache-0.3.1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:b303b194c2e6f171cfddf8b8ba30baefccf03d36a4d9cab7fd0bb68ba476a3d7"},+ {file = "propcache-0.3.1-cp39-cp39-musllinux_1_2_armv7l.whl", hash = "sha256:916cd229b0150129d645ec51614d38129ee74c03293a9f3f17537be0029a9641"},+ {file = "propcache-0.3.1-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:a461959ead5b38e2581998700b26346b78cd98540b5524796c175722f18b0294"},+ {file = "propcache-0.3.1-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:069e7212890b0bcf9b2be0a03afb0c2d5161d91e1bf51569a64f629acc7defbf"},+ {file = "propcache-0.3.1-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:ef2e4e91fb3945769e14ce82ed53007195e616a63aa43b40fb7ebaaf907c8d4c"},+ {file = "propcache-0.3.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:8638f99dca15b9dff328fb6273e09f03d1c50d9b6512f3b65a4154588a7595fe"},+ {file = "propcache-0.3.1-cp39-cp39-win32.whl", hash = "sha256:6f173bbfe976105aaa890b712d1759de339d8a7cef2fc0a1714cc1a1e1c47f64"},+ {file = "propcache-0.3.1-cp39-cp39-win_amd64.whl", hash = "sha256:603f1fe4144420374f1a69b907494c3acbc867a581c2d49d4175b0de7cc64566"},+ {file = "propcache-0.3.1-py3-none-any.whl", hash = "sha256:9a8ecf38de50a7f518c21568c80f985e776397b902f1ce0b01f799aba1608b40"},+ {file = "propcache-0.3.1.tar.gz", hash = "sha256:40d980c33765359098837527e18eddefc9a24cea5b45e078a7f3bb5b032c6ecf"},][[package]]@@ -2942,16 +3020,16 @@ files = [[[package]]name = "pyasn1-modules"-version = "0.4.1"+version = "0.4.2"requires_python = ">=3.8"summary = "A collection of ASN.1-based protocols modules"groups = ["default"]dependencies = [- "pyasn1<0.7.0,>=0.4.6",+ "pyasn1<0.7.0,>=0.6.1",]files = [- {file = "pyasn1_modules-0.4.1-py3-none-any.whl", hash = "sha256:49bfa96b45a292b711e986f222502c1c9a5e1f4e568fc30e2574a6c7d07838fd"},- {file = "pyasn1_modules-0.4.1.tar.gz", hash = "sha256:c28e2dbf9c06ad61c71a075c7e0f9fd0f1b0bb2d2ad4377f240d33ac2ab60a7c"},+ {file = "pyasn1_modules-0.4.2-py3-none-any.whl", hash = "sha256:29253a9207ce32b64c3ac6600edc75368f98473906e8fd1043bd6b5b1de2c14a"},+ {file = "pyasn1_modules-0.4.2.tar.gz", hash = "sha256:677091de870a80aae844b1ca6134f54652fa2c8c5a52aa396440ac3106e941e6"},][[package]]@@ -2967,89 +3045,99 @@ files = [[[package]]name = "pydantic"-version = "2.10.6"-requires_python = ">=3.8"+version = "2.11.1"+requires_python = ">=3.9"summary = "Data validation using Python type hints"groups = ["default"]dependencies = ["annotated-types>=0.6.0",- "pydantic-core==2.27.2",+ "pydantic-core==2.33.0","typing-extensions>=4.12.2",+ "typing-inspection>=0.4.0",]files = [- {file = "pydantic-2.10.6-py3-none-any.whl", hash = "sha256:427d664bf0b8a2b34ff5dd0f5a18df00591adcee7198fbd71981054cef37b584"},- {file = "pydantic-2.10.6.tar.gz", hash = "sha256:ca5daa827cce33de7a42be142548b0096bf05a7e7b365aebfa5f8eeec7128236"},+ {file = "pydantic-2.11.1-py3-none-any.whl", hash = "sha256:5b6c415eee9f8123a14d859be0c84363fec6b1feb6b688d6435801230b56e0b8"},+ {file = "pydantic-2.11.1.tar.gz", hash = "sha256:442557d2910e75c991c39f4b4ab18963d57b9b55122c8b2a9cd176d8c29ce968"},][[package]]name = "pydantic-core"-version = "2.27.2"-requires_python = ">=3.8"+version = "2.33.0"+requires_python = ">=3.9"summary = "Core functionality for Pydantic validation and serialization"groups = ["default"]dependencies = ["typing-extensions!=4.7.0,>=4.6.0",]files = [- {file = "pydantic_core-2.27.2-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:2d367ca20b2f14095a8f4fa1210f5a7b78b8a20009ecced6b12818f455b1e9fa"},- {file = "pydantic_core-2.27.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:491a2b73db93fab69731eaee494f320faa4e093dbed776be1a829c2eb222c34c"},- {file = "pydantic_core-2.27.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7969e133a6f183be60e9f6f56bfae753585680f3b7307a8e555a948d443cc05a"},- {file = "pydantic_core-2.27.2-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3de9961f2a346257caf0aa508a4da705467f53778e9ef6fe744c038119737ef5"},- {file = "pydantic_core-2.27.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e2bb4d3e5873c37bb3dd58714d4cd0b0e6238cebc4177ac8fe878f8b3aa8e74c"},- {file = "pydantic_core-2.27.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:280d219beebb0752699480fe8f1dc61ab6615c2046d76b7ab7ee38858de0a4e7"},- {file = "pydantic_core-2.27.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:47956ae78b6422cbd46f772f1746799cbb862de838fd8d1fbd34a82e05b0983a"},- {file = "pydantic_core-2.27.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:14d4a5c49d2f009d62a2a7140d3064f686d17a5d1a268bc641954ba181880236"},- {file = "pydantic_core-2.27.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:337b443af21d488716f8d0b6164de833e788aa6bd7e3a39c005febc1284f4962"},- {file = "pydantic_core-2.27.2-cp310-cp310-musllinux_1_1_armv7l.whl", hash = "sha256:03d0f86ea3184a12f41a2d23f7ccb79cdb5a18e06993f8a45baa8dfec746f0e9"},- {file = "pydantic_core-2.27.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:7041c36f5680c6e0f08d922aed302e98b3745d97fe1589db0a3eebf6624523af"},- {file = "pydantic_core-2.27.2-cp310-cp310-win32.whl", hash = "sha256:50a68f3e3819077be2c98110c1f9dcb3817e93f267ba80a2c05bb4f8799e2ff4"},- {file = "pydantic_core-2.27.2-cp310-cp310-win_amd64.whl", hash = "sha256:e0fd26b16394ead34a424eecf8a31a1f5137094cabe84a1bcb10fa6ba39d3d31"},- {file = "pydantic_core-2.27.2-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:8e10c99ef58cfdf2a66fc15d66b16c4a04f62bca39db589ae8cba08bc55331bc"},- {file = "pydantic_core-2.27.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:26f32e0adf166a84d0cb63be85c562ca8a6fa8de28e5f0d92250c6b7e9e2aff7"},- {file = "pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8c19d1ea0673cd13cc2f872f6c9ab42acc4e4f492a7ca9d3795ce2b112dd7e15"},- {file = "pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5e68c4446fe0810e959cdff46ab0a41ce2f2c86d227d96dc3847af0ba7def306"},- {file = "pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d9640b0059ff4f14d1f37321b94061c6db164fbe49b334b31643e0528d100d99"},- {file = "pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:40d02e7d45c9f8af700f3452f329ead92da4c5f4317ca9b896de7ce7199ea459"},- {file = "pydantic_core-2.27.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1c1fd185014191700554795c99b347d64f2bb637966c4cfc16998a0ca700d048"},- {file = "pydantic_core-2.27.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d81d2068e1c1228a565af076598f9e7451712700b673de8f502f0334f281387d"},- {file = "pydantic_core-2.27.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:1a4207639fb02ec2dbb76227d7c751a20b1a6b4bc52850568e52260cae64ca3b"},- {file = "pydantic_core-2.27.2-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:3de3ce3c9ddc8bbd88f6e0e304dea0e66d843ec9de1b0042b0911c1663ffd474"},- {file = "pydantic_core-2.27.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:30c5f68ded0c36466acede341551106821043e9afaad516adfb6e8fa80a4e6a6"},- {file = "pydantic_core-2.27.2-cp311-cp311-win32.whl", hash = "sha256:c70c26d2c99f78b125a3459f8afe1aed4d9687c24fd677c6a4436bc042e50d6c"},- {file = "pydantic_core-2.27.2-cp311-cp311-win_amd64.whl", hash = "sha256:08e125dbdc505fa69ca7d9c499639ab6407cfa909214d500897d02afb816e7cc"},- {file = "pydantic_core-2.27.2-cp311-cp311-win_arm64.whl", hash = "sha256:26f0d68d4b235a2bae0c3fc585c585b4ecc51382db0e3ba402a22cbc440915e4"},- {file = "pydantic_core-2.27.2-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:c10eb4f1659290b523af58fa7cffb452a61ad6ae5613404519aee4bfbf1df993"},- {file = "pydantic_core-2.27.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ef592d4bad47296fb11f96cd7dc898b92e795032b4894dfb4076cfccd43a9308"},- {file = "pydantic_core-2.27.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c61709a844acc6bf0b7dce7daae75195a10aac96a596ea1b776996414791ede4"},- {file = "pydantic_core-2.27.2-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:42c5f762659e47fdb7b16956c71598292f60a03aa92f8b6351504359dbdba6cf"},- {file = "pydantic_core-2.27.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4c9775e339e42e79ec99c441d9730fccf07414af63eac2f0e48e08fd38a64d76"},- {file = "pydantic_core-2.27.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:57762139821c31847cfb2df63c12f725788bd9f04bc2fb392790959b8f70f118"},- {file = "pydantic_core-2.27.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0d1e85068e818c73e048fe28cfc769040bb1f475524f4745a5dc621f75ac7630"},- {file = "pydantic_core-2.27.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:097830ed52fd9e427942ff3b9bc17fab52913b2f50f2880dc4a5611446606a54"},- {file = "pydantic_core-2.27.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:044a50963a614ecfae59bb1eaf7ea7efc4bc62f49ed594e18fa1e5d953c40e9f"},- {file = "pydantic_core-2.27.2-cp39-cp39-musllinux_1_1_armv7l.whl", hash = "sha256:4e0b4220ba5b40d727c7f879eac379b822eee5d8fff418e9d3381ee45b3b0362"},- {file = "pydantic_core-2.27.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5e4f4bb20d75e9325cc9696c6802657b58bc1dbbe3022f32cc2b2b632c3fbb96"},- {file = "pydantic_core-2.27.2-cp39-cp39-win32.whl", hash = "sha256:cca63613e90d001b9f2f9a9ceb276c308bfa2a43fafb75c8031c4f66039e8c6e"},- {file = "pydantic_core-2.27.2-cp39-cp39-win_amd64.whl", hash = "sha256:77d1bca19b0f7021b3a982e6f903dcd5b2b06076def36a652e3907f596e29f67"},- {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:2bf14caea37e91198329b828eae1618c068dfb8ef17bb33287a7ad4b61ac314e"},- {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:b0cb791f5b45307caae8810c2023a184c74605ec3bcbb67d13846c28ff731ff8"},- {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:688d3fd9fcb71f41c4c015c023d12a79d1c4c0732ec9eb35d96e3388a120dcf3"},- {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3d591580c34f4d731592f0e9fe40f9cc1b430d297eecc70b962e93c5c668f15f"},- {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:82f986faf4e644ffc189a7f1aafc86e46ef70372bb153e7001e8afccc6e54133"},- {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:bec317a27290e2537f922639cafd54990551725fc844249e64c523301d0822fc"},- {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:0296abcb83a797db256b773f45773da397da75a08f5fcaef41f2044adec05f50"},- {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:0d75070718e369e452075a6017fbf187f788e17ed67a3abd47fa934d001863d9"},- {file = "pydantic_core-2.27.2-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:7e17b560be3c98a8e3aa66ce828bdebb9e9ac6ad5466fba92eb74c4c95cb1151"},- {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:c33939a82924da9ed65dab5a65d427205a73181d8098e79b6b426bdf8ad4e656"},- {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:00bad2484fa6bda1e216e7345a798bd37c68fb2d97558edd584942aa41b7d278"},- {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c817e2b40aba42bac6f457498dacabc568c3b7a986fc9ba7c8d9d260b71485fb"},- {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:251136cdad0cb722e93732cb45ca5299fb56e1344a833640bf93b2803f8d1bfd"},- {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d2088237af596f0a524d3afc39ab3b036e8adb054ee57cbb1dcf8e09da5b29cc"},- {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:d4041c0b966a84b4ae7a09832eb691a35aec90910cd2dbe7a208de59be77965b"},- {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:8083d4e875ebe0b864ffef72a4304827015cff328a1be6e22cc850753bfb122b"},- {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:f141ee28a0ad2123b6611b6ceff018039df17f32ada8b534e6aa039545a3efb2"},- {file = "pydantic_core-2.27.2-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:7d0c8399fcc1848491f00e0314bd59fb34a9c008761bcb422a057670c3f65e35"},- {file = "pydantic_core-2.27.2.tar.gz", hash = "sha256:eb026e5a4c1fee05726072337ff51d1efb6f59090b7da90d30ea58625b1ffb39"},+ {file = "pydantic_core-2.33.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:71dffba8fe9ddff628c68f3abd845e91b028361d43c5f8e7b3f8b91d7d85413e"},+ {file = "pydantic_core-2.33.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:abaeec1be6ed535a5d7ffc2e6c390083c425832b20efd621562fbb5bff6dc518"},+ {file = "pydantic_core-2.33.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:759871f00e26ad3709efc773ac37b4d571de065f9dfb1778012908bcc36b3a73"},+ {file = "pydantic_core-2.33.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:dcfebee69cd5e1c0b76a17e17e347c84b00acebb8dd8edb22d4a03e88e82a207"},+ {file = "pydantic_core-2.33.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1b1262b912435a501fa04cd213720609e2cefa723a07c92017d18693e69bf00b"},+ {file = "pydantic_core-2.33.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4726f1f3f42d6a25678c67da3f0b10f148f5655813c5aca54b0d1742ba821b8f"},+ {file = "pydantic_core-2.33.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e790954b5093dff1e3a9a2523fddc4e79722d6f07993b4cd5547825c3cbf97b5"},+ {file = "pydantic_core-2.33.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:34e7fb3abe375b5c4e64fab75733d605dda0f59827752debc99c17cb2d5f3276"},+ {file = "pydantic_core-2.33.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:ecb158fb9b9091b515213bed3061eb7deb1d3b4e02327c27a0ea714ff46b0760"},+ {file = "pydantic_core-2.33.0-cp310-cp310-musllinux_1_1_armv7l.whl", hash = "sha256:4d9149e7528af8bbd76cc055967e6e04617dcb2a2afdaa3dea899406c5521faa"},+ {file = "pydantic_core-2.33.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:e81a295adccf73477220e15ff79235ca9dcbcee4be459eb9d4ce9a2763b8386c"},+ {file = "pydantic_core-2.33.0-cp310-cp310-win32.whl", hash = "sha256:f22dab23cdbce2005f26a8f0c71698457861f97fc6318c75814a50c75e87d025"},+ {file = "pydantic_core-2.33.0-cp310-cp310-win_amd64.whl", hash = "sha256:9cb2390355ba084c1ad49485d18449b4242da344dea3e0fe10babd1f0db7dcfc"},+ {file = "pydantic_core-2.33.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:a608a75846804271cf9c83e40bbb4dab2ac614d33c6fd5b0c6187f53f5c593ef"},+ {file = "pydantic_core-2.33.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e1c69aa459f5609dec2fa0652d495353accf3eda5bdb18782bc5a2ae45c9273a"},+ {file = "pydantic_core-2.33.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b9ec80eb5a5f45a2211793f1c4aeddff0c3761d1c70d684965c1807e923a588b"},+ {file = "pydantic_core-2.33.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e925819a98318d17251776bd3d6aa9f3ff77b965762155bdad15d1a9265c4cfd"},+ {file = "pydantic_core-2.33.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5bf68bb859799e9cec3d9dd8323c40c00a254aabb56fe08f907e437005932f2b"},+ {file = "pydantic_core-2.33.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1b2ea72dea0825949a045fa4071f6d5b3d7620d2a208335207793cf29c5a182d"},+ {file = "pydantic_core-2.33.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1583539533160186ac546b49f5cde9ffc928062c96920f58bd95de32ffd7bffd"},+ {file = "pydantic_core-2.33.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:23c3e77bf8a7317612e5c26a3b084c7edeb9552d645742a54a5867635b4f2453"},+ {file = "pydantic_core-2.33.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:a7a7f2a3f628d2f7ef11cb6188bcf0b9e1558151d511b974dfea10a49afe192b"},+ {file = "pydantic_core-2.33.0-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:f1fb026c575e16f673c61c7b86144517705865173f3d0907040ac30c4f9f5915"},+ {file = "pydantic_core-2.33.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:635702b2fed997e0ac256b2cfbdb4dd0bf7c56b5d8fba8ef03489c03b3eb40e2"},+ {file = "pydantic_core-2.33.0-cp311-cp311-win32.whl", hash = "sha256:07b4ced28fccae3f00626eaa0c4001aa9ec140a29501770a88dbbb0966019a86"},+ {file = "pydantic_core-2.33.0-cp311-cp311-win_amd64.whl", hash = "sha256:4927564be53239a87770a5f86bdc272b8d1fbb87ab7783ad70255b4ab01aa25b"},+ {file = "pydantic_core-2.33.0-cp311-cp311-win_arm64.whl", hash = "sha256:69297418ad644d521ea3e1aa2e14a2a422726167e9ad22b89e8f1130d68e1e9a"},+ {file = "pydantic_core-2.33.0-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:7c9c84749f5787781c1c45bb99f433402e484e515b40675a5d121ea14711cf61"},+ {file = "pydantic_core-2.33.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:64672fa888595a959cfeff957a654e947e65bbe1d7d82f550417cbd6898a1d6b"},+ {file = "pydantic_core-2.33.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:26bc7367c0961dec292244ef2549afa396e72e28cc24706210bd44d947582c59"},+ {file = "pydantic_core-2.33.0-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ce72d46eb201ca43994303025bd54d8a35a3fc2a3495fac653d6eb7205ce04f4"},+ {file = "pydantic_core-2.33.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:14229c1504287533dbf6b1fc56f752ce2b4e9694022ae7509631ce346158de11"},+ {file = "pydantic_core-2.33.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:085d8985b1c1e48ef271e98a658f562f29d89bda98bf120502283efbc87313eb"},+ {file = "pydantic_core-2.33.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:31860fbda80d8f6828e84b4a4d129fd9c4535996b8249cfb8c720dc2a1a00bb8"},+ {file = "pydantic_core-2.33.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f200b2f20856b5a6c3a35f0d4e344019f805e363416e609e9b47c552d35fd5ea"},+ {file = "pydantic_core-2.33.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:5f72914cfd1d0176e58ddc05c7a47674ef4222c8253bf70322923e73e14a4ac3"},+ {file = "pydantic_core-2.33.0-cp39-cp39-musllinux_1_1_armv7l.whl", hash = "sha256:91301a0980a1d4530d4ba7e6a739ca1a6b31341252cb709948e0aca0860ce0ae"},+ {file = "pydantic_core-2.33.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:7419241e17c7fbe5074ba79143d5523270e04f86f1b3a0dff8df490f84c8273a"},+ {file = "pydantic_core-2.33.0-cp39-cp39-win32.whl", hash = "sha256:7a25493320203005d2a4dac76d1b7d953cb49bce6d459d9ae38e30dd9f29bc9c"},+ {file = "pydantic_core-2.33.0-cp39-cp39-win_amd64.whl", hash = "sha256:82a4eba92b7ca8af1b7d5ef5f3d9647eee94d1f74d21ca7c21e3a2b92e008358"},+ {file = "pydantic_core-2.33.0-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:e2762c568596332fdab56b07060c8ab8362c56cf2a339ee54e491cd503612c50"},+ {file = "pydantic_core-2.33.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:5bf637300ff35d4f59c006fff201c510b2b5e745b07125458a5389af3c0dff8c"},+ {file = "pydantic_core-2.33.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:62c151ce3d59ed56ebd7ce9ce5986a409a85db697d25fc232f8e81f195aa39a1"},+ {file = "pydantic_core-2.33.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9ee65f0cc652261744fd07f2c6e6901c914aa6c5ff4dcfaf1136bc394d0dd26b"},+ {file = "pydantic_core-2.33.0-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:024d136ae44d233e6322027bbf356712b3940bee816e6c948ce4b90f18471b3d"},+ {file = "pydantic_core-2.33.0-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:e37f10f6d4bc67c58fbd727108ae1d8b92b397355e68519f1e4a7babb1473442"},+ {file = "pydantic_core-2.33.0-pp310-pypy310_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:502ed542e0d958bd12e7c3e9a015bce57deaf50eaa8c2e1c439b512cb9db1e3a"},+ {file = "pydantic_core-2.33.0-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:715c62af74c236bf386825c0fdfa08d092ab0f191eb5b4580d11c3189af9d330"},+ {file = "pydantic_core-2.33.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:bccc06fa0372151f37f6b69834181aa9eb57cf8665ed36405fb45fbf6cac3bae"},+ {file = "pydantic_core-2.33.0-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:5d8dc9f63a26f7259b57f46a7aab5af86b2ad6fbe48487500bb1f4b27e051e4c"},+ {file = "pydantic_core-2.33.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:30369e54d6d0113d2aa5aee7a90d17f225c13d87902ace8fcd7bbf99b19124db"},+ {file = "pydantic_core-2.33.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f3eb479354c62067afa62f53bb387827bee2f75c9c79ef25eef6ab84d4b1ae3b"},+ {file = "pydantic_core-2.33.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0310524c833d91403c960b8a3cf9f46c282eadd6afd276c8c5edc617bd705dc9"},+ {file = "pydantic_core-2.33.0-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:eddb18a00bbb855325db27b4c2a89a4ba491cd6a0bd6d852b225172a1f54b36c"},+ {file = "pydantic_core-2.33.0-pp311-pypy311_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:ade5dbcf8d9ef8f4b28e682d0b29f3008df9842bb5ac48ac2c17bc55771cc976"},+ {file = "pydantic_core-2.33.0-pp311-pypy311_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:2c0afd34f928383e3fd25740f2050dbac9d077e7ba5adbaa2227f4d4f3c8da5c"},+ {file = "pydantic_core-2.33.0-pp311-pypy311_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:7da333f21cd9df51d5731513a6d39319892947604924ddf2e24a4612975fb936"},+ {file = "pydantic_core-2.33.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:4b6d77c75a57f041c5ee915ff0b0bb58eabb78728b69ed967bc5b780e8f701b8"},+ {file = "pydantic_core-2.33.0-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:ba95691cf25f63df53c1d342413b41bd7762d9acb425df8858d7efa616c0870e"},+ {file = "pydantic_core-2.33.0-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:4f1ab031feb8676f6bd7c85abec86e2935850bf19b84432c64e3e239bffeb1ec"},+ {file = "pydantic_core-2.33.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:58c1151827eef98b83d49b6ca6065575876a02d2211f259fb1a6b7757bd24dd8"},+ {file = "pydantic_core-2.33.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a66d931ea2c1464b738ace44b7334ab32a2fd50be023d863935eb00f42be1778"},+ {file = "pydantic_core-2.33.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:0bcf0bab28995d483f6c8d7db25e0d05c3efa5cebfd7f56474359e7137f39856"},+ {file = "pydantic_core-2.33.0-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:89670d7a0045acb52be0566df5bc8b114ac967c662c06cf5e0c606e4aadc964b"},+ {file = "pydantic_core-2.33.0-pp39-pypy39_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:b716294e721d8060908dbebe32639b01bfe61b15f9f57bcc18ca9a0e00d9520b"},+ {file = "pydantic_core-2.33.0-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:fc53e05c16697ff0c1c7c2b98e45e131d4bfb78068fffff92a82d169cbb4c7b7"},+ {file = "pydantic_core-2.33.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:68504959253303d3ae9406b634997a2123a0b0c1da86459abbd0ffc921695eac"},+ {file = "pydantic_core-2.33.0.tar.gz", hash = "sha256:40eb8af662ba409c3cbf4a8150ad32ae73514cd7cb1f1a2113af39763dd616b3"},][[package]]@@ -3147,6 +3235,53 @@ files = [{file = "pypdfium2-4.30.1.tar.gz", hash = "sha256:5f5c7c6d03598e107d974f66b220a49436aceb191da34cda5f692be098a814ce"},]+[[package]]+name = "pytest"+version = "8.3.5"+requires_python = ">=3.8"+summary = "pytest: simple powerful testing with Python"+groups = ["test"]+dependencies = [+ "colorama; sys_platform == \"win32\"",+ "exceptiongroup>=1.0.0rc8; python_version < \"3.11\"",+ "iniconfig",+ "packaging",+ "pluggy<2,>=1.5",+ "tomli>=1; python_version < \"3.11\"",+]+files = [+ {file = "pytest-8.3.5-py3-none-any.whl", hash = "sha256:c69214aa47deac29fad6c2a4f590b9c4a9fdb16a403176fe154b79c0b4d4d820"},+ {file = "pytest-8.3.5.tar.gz", hash = "sha256:f4efe70cc14e511565ac476b57c279e12a855b11f48f212af1080ef2263d3845"},+]++[[package]]+name = "pytest-dotenv"+version = "0.5.2"+summary = "A py.test plugin that parses environment files before running tests"+groups = ["test"]+dependencies = [+ "pytest>=5.0.0",+ "python-dotenv>=0.9.1",+]+files = [+ {file = "pytest-dotenv-0.5.2.tar.gz", hash = "sha256:2dc6c3ac6d8764c71c6d2804e902d0ff810fa19692e95fe138aefc9b1aa73732"},+ {file = "pytest_dotenv-0.5.2-py3-none-any.whl", hash = "sha256:40a2cece120a213898afaa5407673f6bd924b1fa7eafce6bda0e8abffe2f710f"},+]++[[package]]+name = "pytest-mock"+version = "3.14.0"+requires_python = ">=3.8"+summary = "Thin-wrapper around the mock package for easier use with pytest"+groups = ["test"]+dependencies = [+ "pytest>=6.2.5",+]+files = [+ {file = "pytest-mock-3.14.0.tar.gz", hash = "sha256:2719255a1efeceadbc056d6bf3df3d1c5015530fb40cf347c0f9afac88410bd0"},+ {file = "pytest_mock-3.14.0-py3-none-any.whl", hash = "sha256:0b72c38033392a5f4621342fe11e9219ac11ec9d375f8e2a0c164539e0d70f6f"},+]+[[package]]name = "python-dateutil"version = "2.9.0.post0"@@ -3166,7 +3301,7 @@ name = "python-dotenv"version = "1.0.0"requires_python = ">=3.8"summary = "Read key-value pairs from a .env file and set them as environment variables"-groups = ["default"]+groups = ["default", "test"]files = [{file = "python-dotenv-1.0.0.tar.gz", hash = "sha256:a8df96034aae6d2d50a4ebe8216326c61c3eb64836776504fcca410e5937a3ba"},{file = "python_dotenv-1.0.0-py3-none-any.whl", hash = "sha256:f5971a9226b701070a4bf2c38c89e5a3f0d64de8debda981d1db98583009122a"},@@ -3389,75 +3524,86 @@ files = [[[package]]name = "rpds-py"-version = "0.23.1"+version = "0.24.0"requires_python = ">=3.9"summary = "Python bindings to Rust's persistent data structures (rpds)"groups = ["default"]files = [- {file = "rpds_py-0.23.1-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:2a54027554ce9b129fc3d633c92fa33b30de9f08bc61b32c053dc9b537266fed"},- {file = "rpds_py-0.23.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:b5ef909a37e9738d146519657a1aab4584018746a18f71c692f2f22168ece40c"},- {file = "rpds_py-0.23.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3ee9d6f0b38efb22ad94c3b68ffebe4c47865cdf4b17f6806d6c674e1feb4246"},- {file = "rpds_py-0.23.1-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f7356a6da0562190558c4fcc14f0281db191cdf4cb96e7604c06acfcee96df15"},- {file = "rpds_py-0.23.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9441af1d25aed96901f97ad83d5c3e35e6cd21a25ca5e4916c82d7dd0490a4fa"},- {file = "rpds_py-0.23.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3d8abf7896a91fb97e7977d1aadfcc2c80415d6dc2f1d0fca5b8d0df247248f3"},- {file = "rpds_py-0.23.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1b08027489ba8fedde72ddd233a5ea411b85a6ed78175f40285bd401bde7466d"},- {file = "rpds_py-0.23.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:fee513135b5a58f3bb6d89e48326cd5aa308e4bcdf2f7d59f67c861ada482bf8"},- {file = "rpds_py-0.23.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:35d5631ce0af26318dba0ae0ac941c534453e42f569011585cb323b7774502a5"},- {file = "rpds_py-0.23.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:a20cb698c4a59c534c6701b1c24a968ff2768b18ea2991f886bd8985ce17a89f"},- {file = "rpds_py-0.23.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:5e9c206a1abc27e0588cf8b7c8246e51f1a16a103734f7750830a1ccb63f557a"},- {file = "rpds_py-0.23.1-cp310-cp310-win32.whl", hash = "sha256:d9f75a06ecc68f159d5d7603b734e1ff6daa9497a929150f794013aa9f6e3f12"},- {file = "rpds_py-0.23.1-cp310-cp310-win_amd64.whl", hash = "sha256:f35eff113ad430b5272bbfc18ba111c66ff525828f24898b4e146eb479a2cdda"},- {file = "rpds_py-0.23.1-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:b79f5ced71efd70414a9a80bbbfaa7160da307723166f09b69773153bf17c590"},- {file = "rpds_py-0.23.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c9e799dac1ffbe7b10c1fd42fe4cd51371a549c6e108249bde9cd1200e8f59b4"},- {file = "rpds_py-0.23.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:721f9c4011b443b6e84505fc00cc7aadc9d1743f1c988e4c89353e19c4a968ee"},- {file = "rpds_py-0.23.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f88626e3f5e57432e6191cd0c5d6d6b319b635e70b40be2ffba713053e5147dd"},- {file = "rpds_py-0.23.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:285019078537949cecd0190f3690a0b0125ff743d6a53dfeb7a4e6787af154f5"},- {file = "rpds_py-0.23.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b92f5654157de1379c509b15acec9d12ecf6e3bc1996571b6cb82a4302060447"},- {file = "rpds_py-0.23.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e768267cbe051dd8d1c5305ba690bb153204a09bf2e3de3ae530de955f5b5580"},- {file = "rpds_py-0.23.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c5334a71f7dc1160382d45997e29f2637c02f8a26af41073189d79b95d3321f1"},- {file = "rpds_py-0.23.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d6adb81564af0cd428910f83fa7da46ce9ad47c56c0b22b50872bc4515d91966"},- {file = "rpds_py-0.23.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:cafa48f2133d4daa028473ede7d81cd1b9f9e6925e9e4003ebdf77010ee02f35"},- {file = "rpds_py-0.23.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:0fced9fd4a07a1ded1bac7e961ddd9753dd5d8b755ba8e05acba54a21f5f1522"},- {file = "rpds_py-0.23.1-cp311-cp311-win32.whl", hash = "sha256:243241c95174b5fb7204c04595852fe3943cc41f47aa14c3828bc18cd9d3b2d6"},- {file = "rpds_py-0.23.1-cp311-cp311-win_amd64.whl", hash = "sha256:11dd60b2ffddba85715d8a66bb39b95ddbe389ad2cfcf42c833f1bcde0878eaf"},- {file = "rpds_py-0.23.1-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:09cd7dbcb673eb60518231e02874df66ec1296c01a4fcd733875755c02014b19"},- {file = "rpds_py-0.23.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c6760211eee3a76316cf328f5a8bd695b47b1626d21c8a27fb3b2473a884d597"},- {file = "rpds_py-0.23.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:72e680c1518733b73c994361e4b06441b92e973ef7d9449feec72e8ee4f713da"},- {file = "rpds_py-0.23.1-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ae28144c1daa61366205d32abd8c90372790ff79fc60c1a8ad7fd3c8553a600e"},- {file = "rpds_py-0.23.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c698d123ce5d8f2d0cd17f73336615f6a2e3bdcedac07a1291bb4d8e7d82a05a"},- {file = "rpds_py-0.23.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:98b257ae1e83f81fb947a363a274c4eb66640212516becaff7bef09a5dceacaa"},- {file = "rpds_py-0.23.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5c9ff044eb07c8468594d12602291c635da292308c8c619244e30698e7fc455a"},- {file = "rpds_py-0.23.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:7938c7b0599a05246d704b3f5e01be91a93b411d0d6cc62275f025293b8a11ce"},- {file = "rpds_py-0.23.1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:e9cb79ecedfc156c0692257ac7ed415243b6c35dd969baa461a6888fc79f2f07"},- {file = "rpds_py-0.23.1-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:7b77e07233925bd33fc0022b8537774423e4c6680b6436316c5075e79b6384f4"},- {file = "rpds_py-0.23.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:a970bfaf130c29a679b1d0a6e0f867483cea455ab1535fb427566a475078f27f"},- {file = "rpds_py-0.23.1-cp39-cp39-win32.whl", hash = "sha256:4233df01a250b3984465faed12ad472f035b7cd5240ea3f7c76b7a7016084495"},- {file = "rpds_py-0.23.1-cp39-cp39-win_amd64.whl", hash = "sha256:c617d7453a80e29d9973b926983b1e700a9377dbe021faa36041c78537d7b08c"},- {file = "rpds_py-0.23.1-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:c1f8afa346ccd59e4e5630d5abb67aba6a9812fddf764fd7eb11f382a345f8cc"},- {file = "rpds_py-0.23.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:fad784a31869747df4ac968a351e070c06ca377549e4ace94775aaa3ab33ee06"},- {file = "rpds_py-0.23.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b5a96fcac2f18e5a0a23a75cd27ce2656c66c11c127b0318e508aab436b77428"},- {file = "rpds_py-0.23.1-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3e77febf227a1dc3220159355dba68faa13f8dca9335d97504abf428469fb18b"},- {file = "rpds_py-0.23.1-pp310-pypy310_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:26bb3e8de93443d55e2e748e9fd87deb5f8075ca7bc0502cfc8be8687d69a2ec"},- {file = "rpds_py-0.23.1-pp310-pypy310_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:db7707dde9143a67b8812c7e66aeb2d843fe33cc8e374170f4d2c50bd8f2472d"},- {file = "rpds_py-0.23.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1eedaaccc9bb66581d4ae7c50e15856e335e57ef2734dbc5fd8ba3e2a4ab3cb6"},- {file = "rpds_py-0.23.1-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:28358c54fffadf0ae893f6c1050e8f8853e45df22483b7fff2f6ab6152f5d8bf"},- {file = "rpds_py-0.23.1-pp310-pypy310_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:633462ef7e61d839171bf206551d5ab42b30b71cac8f10a64a662536e057fdef"},- {file = "rpds_py-0.23.1-pp310-pypy310_pp73-musllinux_1_2_i686.whl", hash = "sha256:a98f510d86f689fcb486dc59e6e363af04151e5260ad1bdddb5625c10f1e95f8"},- {file = "rpds_py-0.23.1-pp310-pypy310_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:e0397dd0b3955c61ef9b22838144aa4bef6f0796ba5cc8edfc64d468b93798b4"},- {file = "rpds_py-0.23.1-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:75307599f0d25bf6937248e5ac4e3bde5ea72ae6618623b86146ccc7845ed00b"},- {file = "rpds_py-0.23.1-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:3614d280bf7aab0d3721b5ce0e73434acb90a2c993121b6e81a1c15c665298ac"},- {file = "rpds_py-0.23.1-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:e5963ea87f88bddf7edd59644a35a0feecf75f8985430124c253612d4f7d27ae"},- {file = "rpds_py-0.23.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ad76f44f70aac3a54ceb1813ca630c53415da3a24fd93c570b2dfb4856591017"},- {file = "rpds_py-0.23.1-pp39-pypy39_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:2c6ae11e6e93728d86aafc51ced98b1658a0080a7dd9417d24bfb955bb09c3c2"},- {file = "rpds_py-0.23.1-pp39-pypy39_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fc869af5cba24d45fb0399b0cfdbcefcf6910bf4dee5d74036a57cf5264b3ff4"},- {file = "rpds_py-0.23.1-pp39-pypy39_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c76b32eb2ab650a29e423525e84eb197c45504b1c1e6e17b6cc91fcfeb1a4b1d"},- {file = "rpds_py-0.23.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4263320ed887ed843f85beba67f8b2d1483b5947f2dc73a8b068924558bfeace"},- {file = "rpds_py-0.23.1-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:7f9682a8f71acdf59fd554b82b1c12f517118ee72c0f3944eda461606dfe7eb9"},- {file = "rpds_py-0.23.1-pp39-pypy39_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:754fba3084b70162a6b91efceee8a3f06b19e43dac3f71841662053c0584209a"},- {file = "rpds_py-0.23.1-pp39-pypy39_pp73-musllinux_1_2_i686.whl", hash = "sha256:a1c66e71ecfd2a4acf0e4bd75e7a3605afa8f9b28a3b497e4ba962719df2be57"},- {file = "rpds_py-0.23.1-pp39-pypy39_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:8d67beb6002441faef8251c45e24994de32c4c8686f7356a1f601ad7c466f7c3"},- {file = "rpds_py-0.23.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:a1e17d8dc8e57d8e0fd21f8f0f0a5211b3fa258b2e444c2053471ef93fe25a00"},- {file = "rpds_py-0.23.1.tar.gz", hash = "sha256:7f3240dcfa14d198dba24b8b9cb3b108c06b68d45b7babd9eefc1038fdf7e707"},+ {file = "rpds_py-0.24.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:006f4342fe729a368c6df36578d7a348c7c716be1da0a1a0f86e3021f8e98724"},+ {file = "rpds_py-0.24.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2d53747da70a4e4b17f559569d5f9506420966083a31c5fbd84e764461c4444b"},+ {file = "rpds_py-0.24.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e8acd55bd5b071156bae57b555f5d33697998752673b9de554dd82f5b5352727"},+ {file = "rpds_py-0.24.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7e80d375134ddb04231a53800503752093dbb65dad8dabacce2c84cccc78e964"},+ {file = "rpds_py-0.24.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:60748789e028d2a46fc1c70750454f83c6bdd0d05db50f5ae83e2db500b34da5"},+ {file = "rpds_py-0.24.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6e1daf5bf6c2be39654beae83ee6b9a12347cb5aced9a29eecf12a2d25fff664"},+ {file = "rpds_py-0.24.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1b221c2457d92a1fb3c97bee9095c874144d196f47c038462ae6e4a14436f7bc"},+ {file = "rpds_py-0.24.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:66420986c9afff67ef0c5d1e4cdc2d0e5262f53ad11e4f90e5e22448df485bf0"},+ {file = "rpds_py-0.24.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:43dba99f00f1d37b2a0265a259592d05fcc8e7c19d140fe51c6e6f16faabeb1f"},+ {file = "rpds_py-0.24.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:a88c0d17d039333a41d9bf4616bd062f0bd7aa0edeb6cafe00a2fc2a804e944f"},+ {file = "rpds_py-0.24.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:cc31e13ce212e14a539d430428cd365e74f8b2d534f8bc22dd4c9c55b277b875"},+ {file = "rpds_py-0.24.0-cp310-cp310-win32.whl", hash = "sha256:fc2c1e1b00f88317d9de6b2c2b39b012ebbfe35fe5e7bef980fd2a91f6100a07"},+ {file = "rpds_py-0.24.0-cp310-cp310-win_amd64.whl", hash = "sha256:c0145295ca415668420ad142ee42189f78d27af806fcf1f32a18e51d47dd2052"},+ {file = "rpds_py-0.24.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:2d3ee4615df36ab8eb16c2507b11e764dcc11fd350bbf4da16d09cda11fcedef"},+ {file = "rpds_py-0.24.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e13ae74a8a3a0c2f22f450f773e35f893484fcfacb00bb4344a7e0f4f48e1f97"},+ {file = "rpds_py-0.24.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cf86f72d705fc2ef776bb7dd9e5fbba79d7e1f3e258bf9377f8204ad0fc1c51e"},+ {file = "rpds_py-0.24.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c43583ea8517ed2e780a345dd9960896afc1327e8cf3ac8239c167530397440d"},+ {file = "rpds_py-0.24.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4cd031e63bc5f05bdcda120646a0d32f6d729486d0067f09d79c8db5368f4586"},+ {file = "rpds_py-0.24.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:34d90ad8c045df9a4259c47d2e16a3f21fdb396665c94520dbfe8766e62187a4"},+ {file = "rpds_py-0.24.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e838bf2bb0b91ee67bf2b889a1a841e5ecac06dd7a2b1ef4e6151e2ce155c7ae"},+ {file = "rpds_py-0.24.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:04ecf5c1ff4d589987b4d9882872f80ba13da7d42427234fce8f22efb43133bc"},+ {file = "rpds_py-0.24.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:630d3d8ea77eabd6cbcd2ea712e1c5cecb5b558d39547ac988351195db433f6c"},+ {file = "rpds_py-0.24.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:ebcb786b9ff30b994d5969213a8430cbb984cdd7ea9fd6df06663194bd3c450c"},+ {file = "rpds_py-0.24.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:174e46569968ddbbeb8a806d9922f17cd2b524aa753b468f35b97ff9c19cb718"},+ {file = "rpds_py-0.24.0-cp311-cp311-win32.whl", hash = "sha256:5ef877fa3bbfb40b388a5ae1cb00636a624690dcb9a29a65267054c9ea86d88a"},+ {file = "rpds_py-0.24.0-cp311-cp311-win_amd64.whl", hash = "sha256:e274f62cbd274359eff63e5c7e7274c913e8e09620f6a57aae66744b3df046d6"},+ {file = "rpds_py-0.24.0-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:a36b452abbf29f68527cf52e181fced56685731c86b52e852053e38d8b60bc8d"},+ {file = "rpds_py-0.24.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:8b3b397eefecec8e8e39fa65c630ef70a24b09141a6f9fc17b3c3a50bed6b50e"},+ {file = "rpds_py-0.24.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cdabcd3beb2a6dca7027007473d8ef1c3b053347c76f685f5f060a00327b8b65"},+ {file = "rpds_py-0.24.0-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5db385bacd0c43f24be92b60c857cf760b7f10d8234f4bd4be67b5b20a7c0b6b"},+ {file = "rpds_py-0.24.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8097b3422d020ff1c44effc40ae58e67d93e60d540a65649d2cdaf9466030791"},+ {file = "rpds_py-0.24.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:493fe54318bed7d124ce272fc36adbf59d46729659b2c792e87c3b95649cdee9"},+ {file = "rpds_py-0.24.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8aa362811ccdc1f8dadcc916c6d47e554169ab79559319ae9fae7d7752d0d60c"},+ {file = "rpds_py-0.24.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d8f9a6e7fd5434817526815f09ea27f2746c4a51ee11bb3439065f5fc754db58"},+ {file = "rpds_py-0.24.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:8205ee14463248d3349131bb8099efe15cd3ce83b8ef3ace63c7e976998e7124"},+ {file = "rpds_py-0.24.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:921ae54f9ecba3b6325df425cf72c074cd469dea843fb5743a26ca7fb2ccb149"},+ {file = "rpds_py-0.24.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:32bab0a56eac685828e00cc2f5d1200c548f8bc11f2e44abf311d6b548ce2e45"},+ {file = "rpds_py-0.24.0-cp39-cp39-win32.whl", hash = "sha256:f5c0ed12926dec1dfe7d645333ea59cf93f4d07750986a586f511c0bc61fe103"},+ {file = "rpds_py-0.24.0-cp39-cp39-win_amd64.whl", hash = "sha256:afc6e35f344490faa8276b5f2f7cbf71f88bc2cda4328e00553bd451728c571f"},+ {file = "rpds_py-0.24.0-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:619ca56a5468f933d940e1bf431c6f4e13bef8e688698b067ae68eb4f9b30e3a"},+ {file = "rpds_py-0.24.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:4b28e5122829181de1898c2c97f81c0b3246d49f585f22743a1246420bb8d399"},+ {file = "rpds_py-0.24.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e8e5ab32cf9eb3647450bc74eb201b27c185d3857276162c101c0f8c6374e098"},+ {file = "rpds_py-0.24.0-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:208b3a70a98cf3710e97cabdc308a51cd4f28aa6e7bb11de3d56cd8b74bab98d"},+ {file = "rpds_py-0.24.0-pp310-pypy310_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bbc4362e06f950c62cad3d4abf1191021b2ffaf0b31ac230fbf0526453eee75e"},+ {file = "rpds_py-0.24.0-pp310-pypy310_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ebea2821cdb5f9fef44933617be76185b80150632736f3d76e54829ab4a3b4d1"},+ {file = "rpds_py-0.24.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b9a4df06c35465ef4d81799999bba810c68d29972bf1c31db61bfdb81dd9d5bb"},+ {file = "rpds_py-0.24.0-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d3aa13bdf38630da298f2e0d77aca967b200b8cc1473ea05248f6c5e9c9bdb44"},+ {file = "rpds_py-0.24.0-pp310-pypy310_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:041f00419e1da7a03c46042453598479f45be3d787eb837af382bfc169c0db33"},+ {file = "rpds_py-0.24.0-pp310-pypy310_pp73-musllinux_1_2_i686.whl", hash = "sha256:d8754d872a5dfc3c5bf9c0e059e8107451364a30d9fd50f1f1a85c4fb9481164"},+ {file = "rpds_py-0.24.0-pp310-pypy310_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:896c41007931217a343eff197c34513c154267636c8056fb409eafd494c3dcdc"},+ {file = "rpds_py-0.24.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:92558d37d872e808944c3c96d0423b8604879a3d1c86fdad508d7ed91ea547d5"},+ {file = "rpds_py-0.24.0-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:f9e0057a509e096e47c87f753136c9b10d7a91842d8042c2ee6866899a717c0d"},+ {file = "rpds_py-0.24.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:d6e109a454412ab82979c5b1b3aee0604eca4bbf9a02693bb9df027af2bfa91a"},+ {file = "rpds_py-0.24.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fc1c892b1ec1f8cbd5da8de287577b455e388d9c328ad592eabbdcb6fc93bee5"},+ {file = "rpds_py-0.24.0-pp311-pypy311_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:9c39438c55983d48f4bb3487734d040e22dad200dab22c41e331cee145e7a50d"},+ {file = "rpds_py-0.24.0-pp311-pypy311_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9d7e8ce990ae17dda686f7e82fd41a055c668e13ddcf058e7fb5e9da20b57793"},+ {file = "rpds_py-0.24.0-pp311-pypy311_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9ea7f4174d2e4194289cb0c4e172d83e79a6404297ff95f2875cf9ac9bced8ba"},+ {file = "rpds_py-0.24.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bb2954155bb8f63bb19d56d80e5e5320b61d71084617ed89efedb861a684baea"},+ {file = "rpds_py-0.24.0-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:04f2b712a2206e13800a8136b07aaedc23af3facab84918e7aa89e4be0260032"},+ {file = "rpds_py-0.24.0-pp311-pypy311_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:eda5c1e2a715a4cbbca2d6d304988460942551e4e5e3b7457b50943cd741626d"},+ {file = "rpds_py-0.24.0-pp311-pypy311_pp73-musllinux_1_2_i686.whl", hash = "sha256:9abc80fe8c1f87218db116016de575a7998ab1629078c90840e8d11ab423ee25"},+ {file = "rpds_py-0.24.0-pp311-pypy311_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:6a727fd083009bc83eb83d6950f0c32b3c94c8b80a9b667c87f4bd1274ca30ba"},+ {file = "rpds_py-0.24.0-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:e0f3ef95795efcd3b2ec3fe0a5bcfb5dadf5e3996ea2117427e524d4fbf309c6"},+ {file = "rpds_py-0.24.0-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:2c13777ecdbbba2077670285dd1fe50828c8742f6a4119dbef6f83ea13ad10fb"},+ {file = "rpds_py-0.24.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:79e8d804c2ccd618417e96720ad5cd076a86fa3f8cb310ea386a3e6229bae7d1"},+ {file = "rpds_py-0.24.0-pp39-pypy39_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:fd822f019ccccd75c832deb7aa040bb02d70a92eb15a2f16c7987b7ad4ee8d83"},+ {file = "rpds_py-0.24.0-pp39-pypy39_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0047638c3aa0dbcd0ab99ed1e549bbf0e142c9ecc173b6492868432d8989a046"},+ {file = "rpds_py-0.24.0-pp39-pypy39_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a5b66d1b201cc71bc3081bc2f1fc36b0c1f268b773e03bbc39066651b9e18391"},+ {file = "rpds_py-0.24.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dbcbb6db5582ea33ce46a5d20a5793134b5365110d84df4e30b9d37c6fd40ad3"},+ {file = "rpds_py-0.24.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:63981feca3f110ed132fd217bf7768ee8ed738a55549883628ee3da75bb9cb78"},+ {file = "rpds_py-0.24.0-pp39-pypy39_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:3a55fc10fdcbf1a4bd3c018eea422c52cf08700cf99c28b5cb10fe97ab77a0d3"},+ {file = "rpds_py-0.24.0-pp39-pypy39_pp73-musllinux_1_2_i686.whl", hash = "sha256:c30ff468163a48535ee7e9bf21bd14c7a81147c0e58a36c1078289a8ca7af0bd"},+ {file = "rpds_py-0.24.0-pp39-pypy39_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:369d9c6d4c714e36d4a03957b4783217a3ccd1e222cdd67d464a3a479fc17796"},+ {file = "rpds_py-0.24.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:24795c099453e3721fda5d8ddd45f5dfcc8e5a547ce7b8e9da06fecc3832e26f"},+ {file = "rpds_py-0.24.0.tar.gz", hash = "sha256:772cc1b2cd963e7e17e6cc55fe0371fb9c704d63e44cacec7b9b7f523b78919e"},][[package]]@@ -3530,13 +3676,13 @@ files = [[[package]]name = "setuptools"-version = "78.0.2"+version = "78.1.0"requires_python = ">=3.9"summary = "Easily download, build, install, upgrade, and uninstall Python packages"groups = ["default"]files = [- {file = "setuptools-78.0.2-py3-none-any.whl", hash = "sha256:4a612c80e1f1d71b80e4906ce730152e8dec23df439f82731d9d0b608d7b700d"},- {file = "setuptools-78.0.2.tar.gz", hash = "sha256:137525e6afb9022f019d6e884a319017f9bf879a0d8783985d32cbc8683cab93"},+ {file = "setuptools-78.1.0-py3-none-any.whl", hash = "sha256:3e386e96793c8702ae83d17b853fb93d3e09ef82ec62722e61da5cd22376dcd8"},+ {file = "setuptools-78.1.0.tar.gz", hash = "sha256:18fd474d4a82a5f83dac888df697af65afa82dec7323d09c3e37d1f14288da54"},][[package]]@@ -3614,81 +3760,81 @@ files = [[[package]]name = "sqlalchemy"-version = "2.0.39"+version = "2.0.40"requires_python = ">=3.7"summary = "Database Abstraction Library"groups = ["default"]dependencies = [- "greenlet!=0.4.17; (platform_machine == \"win32\" or platform_machine == \"WIN32\" or platform_machine == \"AMD64\" or platform_machine == \"amd64\" or platform_machine == \"x86_64\" or platform_machine == \"ppc64le\" or platform_machine == \"aarch64\") and python_version < \"3.14\"",+ "greenlet>=1; (platform_machine == \"win32\" or platform_machine == \"WIN32\" or platform_machine == \"AMD64\" or platform_machine == \"amd64\" or platform_machine == \"x86_64\" or platform_machine == \"ppc64le\" or platform_machine == \"aarch64\") and python_version < \"3.14\"","typing-extensions>=4.6.0",]files = [- {file = "sqlalchemy-2.0.39-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6827f8c1b2f13f1420545bd6d5b3f9e0b85fe750388425be53d23c760dcf176b"},- {file = "sqlalchemy-2.0.39-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d9f119e7736967c0ea03aff91ac7d04555ee038caf89bb855d93bbd04ae85b41"},- {file = "sqlalchemy-2.0.39-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4600c7a659d381146e1160235918826c50c80994e07c5b26946a3e7ec6c99249"},- {file = "sqlalchemy-2.0.39-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4a06e6c8e31c98ddc770734c63903e39f1947c9e3e5e4bef515c5491b7737dde"},- {file = "sqlalchemy-2.0.39-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:c4c433f78c2908ae352848f56589c02b982d0e741b7905228fad628999799de4"},- {file = "sqlalchemy-2.0.39-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:7bd5c5ee1448b6408734eaa29c0d820d061ae18cb17232ce37848376dcfa3e92"},- {file = "sqlalchemy-2.0.39-cp310-cp310-win32.whl", hash = "sha256:87a1ce1f5e5dc4b6f4e0aac34e7bb535cb23bd4f5d9c799ed1633b65c2bcad8c"},- {file = "sqlalchemy-2.0.39-cp310-cp310-win_amd64.whl", hash = "sha256:871f55e478b5a648c08dd24af44345406d0e636ffe021d64c9b57a4a11518304"},- {file = "sqlalchemy-2.0.39-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:a28f9c238f1e143ff42ab3ba27990dfb964e5d413c0eb001b88794c5c4a528a9"},- {file = "sqlalchemy-2.0.39-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:08cf721bbd4391a0e765fe0fe8816e81d9f43cece54fdb5ac465c56efafecb3d"},- {file = "sqlalchemy-2.0.39-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7a8517b6d4005facdbd7eb4e8cf54797dbca100a7df459fdaff4c5123265c1cd"},- {file = "sqlalchemy-2.0.39-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4b2de1523d46e7016afc7e42db239bd41f2163316935de7c84d0e19af7e69538"},- {file = "sqlalchemy-2.0.39-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:412c6c126369ddae171c13987b38df5122cb92015cba6f9ee1193b867f3f1530"},- {file = "sqlalchemy-2.0.39-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:6b35e07f1d57b79b86a7de8ecdcefb78485dab9851b9638c2c793c50203b2ae8"},- {file = "sqlalchemy-2.0.39-cp311-cp311-win32.whl", hash = "sha256:3eb14ba1a9d07c88669b7faf8f589be67871d6409305e73e036321d89f1d904e"},- {file = "sqlalchemy-2.0.39-cp311-cp311-win_amd64.whl", hash = "sha256:78f1b79132a69fe8bd6b5d91ef433c8eb40688ba782b26f8c9f3d2d9ca23626f"},- {file = "sqlalchemy-2.0.39-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:2600a50d590c22d99c424c394236899ba72f849a02b10e65b4c70149606408b5"},- {file = "sqlalchemy-2.0.39-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4eff9c270afd23e2746e921e80182872058a7a592017b2713f33f96cc5f82e32"},- {file = "sqlalchemy-2.0.39-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2d7332868ce891eda48896131991f7f2be572d65b41a4050957242f8e935d5d7"},- {file = "sqlalchemy-2.0.39-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:125a7763b263218a80759ad9ae2f3610aaf2c2fbbd78fff088d584edf81f3782"},- {file = "sqlalchemy-2.0.39-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:04545042969833cb92e13b0a3019549d284fd2423f318b6ba10e7aa687690a3c"},- {file = "sqlalchemy-2.0.39-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:805cb481474e111ee3687c9047c5f3286e62496f09c0e82e8853338aaaa348f8"},- {file = "sqlalchemy-2.0.39-cp39-cp39-win32.whl", hash = "sha256:34d5c49f18778a3665d707e6286545a30339ad545950773d43977e504815fa70"},- {file = "sqlalchemy-2.0.39-cp39-cp39-win_amd64.whl", hash = "sha256:35e72518615aa5384ef4fae828e3af1b43102458b74a8c481f69af8abf7e802a"},- {file = "sqlalchemy-2.0.39-py3-none-any.whl", hash = "sha256:a1c6b0a5e3e326a466d809b651c63f278b1256146a377a528b6938a279da334f"},- {file = "sqlalchemy-2.0.39.tar.gz", hash = "sha256:5d2d1fe548def3267b4c70a8568f108d1fed7cbbeccb9cc166e05af2abc25c22"},+ {file = "sqlalchemy-2.0.40-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:f1ea21bef99c703f44444ad29c2c1b6bd55d202750b6de8e06a955380f4725d7"},+ {file = "sqlalchemy-2.0.40-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:afe63b208153f3a7a2d1a5b9df452b0673082588933e54e7c8aac457cf35e758"},+ {file = "sqlalchemy-2.0.40-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a8aae085ea549a1eddbc9298b113cffb75e514eadbb542133dd2b99b5fb3b6af"},+ {file = "sqlalchemy-2.0.40-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5ea9181284754d37db15156eb7be09c86e16e50fbe77610e9e7bee09291771a1"},+ {file = "sqlalchemy-2.0.40-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:5434223b795be5c5ef8244e5ac98056e290d3a99bdcc539b916e282b160dda00"},+ {file = "sqlalchemy-2.0.40-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:15d08d5ef1b779af6a0909b97be6c1fd4298057504eb6461be88bd1696cb438e"},+ {file = "sqlalchemy-2.0.40-cp310-cp310-win32.whl", hash = "sha256:cd2f75598ae70bcfca9117d9e51a3b06fe29edd972fdd7fd57cc97b4dbf3b08a"},+ {file = "sqlalchemy-2.0.40-cp310-cp310-win_amd64.whl", hash = "sha256:2cbafc8d39ff1abdfdda96435f38fab141892dc759a2165947d1a8fffa7ef596"},+ {file = "sqlalchemy-2.0.40-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f6bacab7514de6146a1976bc56e1545bee247242fab030b89e5f70336fc0003e"},+ {file = "sqlalchemy-2.0.40-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5654d1ac34e922b6c5711631f2da497d3a7bffd6f9f87ac23b35feea56098011"},+ {file = "sqlalchemy-2.0.40-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:35904d63412db21088739510216e9349e335f142ce4a04b69e2528020ee19ed4"},+ {file = "sqlalchemy-2.0.40-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9c7a80ed86d6aaacb8160a1caef6680d4ddd03c944d985aecee940d168c411d1"},+ {file = "sqlalchemy-2.0.40-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:519624685a51525ddaa7d8ba8265a1540442a2ec71476f0e75241eb8263d6f51"},+ {file = "sqlalchemy-2.0.40-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:2ee5f9999a5b0e9689bed96e60ee53c3384f1a05c2dd8068cc2e8361b0df5b7a"},+ {file = "sqlalchemy-2.0.40-cp311-cp311-win32.whl", hash = "sha256:c0cae71e20e3c02c52f6b9e9722bca70e4a90a466d59477822739dc31ac18b4b"},+ {file = "sqlalchemy-2.0.40-cp311-cp311-win_amd64.whl", hash = "sha256:574aea2c54d8f1dd1699449f332c7d9b71c339e04ae50163a3eb5ce4c4325ee4"},+ {file = "sqlalchemy-2.0.40-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c884de19528e0fcd9dc34ee94c810581dd6e74aef75437ff17e696c2bfefae3e"},+ {file = "sqlalchemy-2.0.40-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:1abb387710283fc5983d8a1209d9696a4eae9db8d7ac94b402981fe2fe2e39ad"},+ {file = "sqlalchemy-2.0.40-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5cfa124eda500ba4b0d3afc3e91ea27ed4754e727c7f025f293a22f512bcd4c9"},+ {file = "sqlalchemy-2.0.40-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8b6b28d303b9d57c17a5164eb1fd2d5119bb6ff4413d5894e74873280483eeb5"},+ {file = "sqlalchemy-2.0.40-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:b5a5bbe29c10c5bfd63893747a1bf6f8049df607638c786252cb9243b86b6706"},+ {file = "sqlalchemy-2.0.40-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:f0fda83e113bb0fb27dc003685f32a5dcb99c9c4f41f4fa0838ac35265c23b5c"},+ {file = "sqlalchemy-2.0.40-cp39-cp39-win32.whl", hash = "sha256:957f8d85d5e834397ef78a6109550aeb0d27a53b5032f7a57f2451e1adc37e98"},+ {file = "sqlalchemy-2.0.40-cp39-cp39-win_amd64.whl", hash = "sha256:1ffdf9c91428e59744f8e6f98190516f8e1d05eec90e936eb08b257332c5e870"},+ {file = "sqlalchemy-2.0.40-py3-none-any.whl", hash = "sha256:32587e2e1e359276957e6fe5dad089758bc042a971a8a09ae8ecf7a8fe23d07a"},+ {file = "sqlalchemy-2.0.40.tar.gz", hash = "sha256:d827099289c64589418ebbcaead0145cd19f4e3e8a93919a0100247af245fa00"},][[package]]name = "sqlalchemy"-version = "2.0.39"+version = "2.0.40"extras = ["asyncio"]requires_python = ">=3.7"summary = "Database Abstraction Library"groups = ["default"]dependencies = [- "greenlet!=0.4.17",- "sqlalchemy==2.0.39",-]-files = [- {file = "sqlalchemy-2.0.39-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6827f8c1b2f13f1420545bd6d5b3f9e0b85fe750388425be53d23c760dcf176b"},- {file = "sqlalchemy-2.0.39-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d9f119e7736967c0ea03aff91ac7d04555ee038caf89bb855d93bbd04ae85b41"},- {file = "sqlalchemy-2.0.39-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4600c7a659d381146e1160235918826c50c80994e07c5b26946a3e7ec6c99249"},- {file = "sqlalchemy-2.0.39-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4a06e6c8e31c98ddc770734c63903e39f1947c9e3e5e4bef515c5491b7737dde"},- {file = "sqlalchemy-2.0.39-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:c4c433f78c2908ae352848f56589c02b982d0e741b7905228fad628999799de4"},- {file = "sqlalchemy-2.0.39-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:7bd5c5ee1448b6408734eaa29c0d820d061ae18cb17232ce37848376dcfa3e92"},- {file = "sqlalchemy-2.0.39-cp310-cp310-win32.whl", hash = "sha256:87a1ce1f5e5dc4b6f4e0aac34e7bb535cb23bd4f5d9c799ed1633b65c2bcad8c"},- {file = "sqlalchemy-2.0.39-cp310-cp310-win_amd64.whl", hash = "sha256:871f55e478b5a648c08dd24af44345406d0e636ffe021d64c9b57a4a11518304"},- {file = "sqlalchemy-2.0.39-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:a28f9c238f1e143ff42ab3ba27990dfb964e5d413c0eb001b88794c5c4a528a9"},- {file = "sqlalchemy-2.0.39-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:08cf721bbd4391a0e765fe0fe8816e81d9f43cece54fdb5ac465c56efafecb3d"},- {file = "sqlalchemy-2.0.39-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7a8517b6d4005facdbd7eb4e8cf54797dbca100a7df459fdaff4c5123265c1cd"},- {file = "sqlalchemy-2.0.39-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4b2de1523d46e7016afc7e42db239bd41f2163316935de7c84d0e19af7e69538"},- {file = "sqlalchemy-2.0.39-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:412c6c126369ddae171c13987b38df5122cb92015cba6f9ee1193b867f3f1530"},- {file = "sqlalchemy-2.0.39-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:6b35e07f1d57b79b86a7de8ecdcefb78485dab9851b9638c2c793c50203b2ae8"},- {file = "sqlalchemy-2.0.39-cp311-cp311-win32.whl", hash = "sha256:3eb14ba1a9d07c88669b7faf8f589be67871d6409305e73e036321d89f1d904e"},- {file = "sqlalchemy-2.0.39-cp311-cp311-win_amd64.whl", hash = "sha256:78f1b79132a69fe8bd6b5d91ef433c8eb40688ba782b26f8c9f3d2d9ca23626f"},- {file = "sqlalchemy-2.0.39-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:2600a50d590c22d99c424c394236899ba72f849a02b10e65b4c70149606408b5"},- {file = "sqlalchemy-2.0.39-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4eff9c270afd23e2746e921e80182872058a7a592017b2713f33f96cc5f82e32"},- {file = "sqlalchemy-2.0.39-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2d7332868ce891eda48896131991f7f2be572d65b41a4050957242f8e935d5d7"},- {file = "sqlalchemy-2.0.39-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:125a7763b263218a80759ad9ae2f3610aaf2c2fbbd78fff088d584edf81f3782"},- {file = "sqlalchemy-2.0.39-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:04545042969833cb92e13b0a3019549d284fd2423f318b6ba10e7aa687690a3c"},- {file = "sqlalchemy-2.0.39-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:805cb481474e111ee3687c9047c5f3286e62496f09c0e82e8853338aaaa348f8"},- {file = "sqlalchemy-2.0.39-cp39-cp39-win32.whl", hash = "sha256:34d5c49f18778a3665d707e6286545a30339ad545950773d43977e504815fa70"},- {file = "sqlalchemy-2.0.39-cp39-cp39-win_amd64.whl", hash = "sha256:35e72518615aa5384ef4fae828e3af1b43102458b74a8c481f69af8abf7e802a"},- {file = "sqlalchemy-2.0.39-py3-none-any.whl", hash = "sha256:a1c6b0a5e3e326a466d809b651c63f278b1256146a377a528b6938a279da334f"},- {file = "sqlalchemy-2.0.39.tar.gz", hash = "sha256:5d2d1fe548def3267b4c70a8568f108d1fed7cbbeccb9cc166e05af2abc25c22"},+ "greenlet>=1",+ "sqlalchemy==2.0.40",+]+files = [+ {file = "sqlalchemy-2.0.40-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:f1ea21bef99c703f44444ad29c2c1b6bd55d202750b6de8e06a955380f4725d7"},+ {file = "sqlalchemy-2.0.40-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:afe63b208153f3a7a2d1a5b9df452b0673082588933e54e7c8aac457cf35e758"},+ {file = "sqlalchemy-2.0.40-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a8aae085ea549a1eddbc9298b113cffb75e514eadbb542133dd2b99b5fb3b6af"},+ {file = "sqlalchemy-2.0.40-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5ea9181284754d37db15156eb7be09c86e16e50fbe77610e9e7bee09291771a1"},+ {file = "sqlalchemy-2.0.40-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:5434223b795be5c5ef8244e5ac98056e290d3a99bdcc539b916e282b160dda00"},+ {file = "sqlalchemy-2.0.40-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:15d08d5ef1b779af6a0909b97be6c1fd4298057504eb6461be88bd1696cb438e"},+ {file = "sqlalchemy-2.0.40-cp310-cp310-win32.whl", hash = "sha256:cd2f75598ae70bcfca9117d9e51a3b06fe29edd972fdd7fd57cc97b4dbf3b08a"},+ {file = "sqlalchemy-2.0.40-cp310-cp310-win_amd64.whl", hash = "sha256:2cbafc8d39ff1abdfdda96435f38fab141892dc759a2165947d1a8fffa7ef596"},+ {file = "sqlalchemy-2.0.40-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f6bacab7514de6146a1976bc56e1545bee247242fab030b89e5f70336fc0003e"},+ {file = "sqlalchemy-2.0.40-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5654d1ac34e922b6c5711631f2da497d3a7bffd6f9f87ac23b35feea56098011"},+ {file = "sqlalchemy-2.0.40-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:35904d63412db21088739510216e9349e335f142ce4a04b69e2528020ee19ed4"},+ {file = "sqlalchemy-2.0.40-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9c7a80ed86d6aaacb8160a1caef6680d4ddd03c944d985aecee940d168c411d1"},+ {file = "sqlalchemy-2.0.40-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:519624685a51525ddaa7d8ba8265a1540442a2ec71476f0e75241eb8263d6f51"},+ {file = "sqlalchemy-2.0.40-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:2ee5f9999a5b0e9689bed96e60ee53c3384f1a05c2dd8068cc2e8361b0df5b7a"},+ {file = "sqlalchemy-2.0.40-cp311-cp311-win32.whl", hash = "sha256:c0cae71e20e3c02c52f6b9e9722bca70e4a90a466d59477822739dc31ac18b4b"},+ {file = "sqlalchemy-2.0.40-cp311-cp311-win_amd64.whl", hash = "sha256:574aea2c54d8f1dd1699449f332c7d9b71c339e04ae50163a3eb5ce4c4325ee4"},+ {file = "sqlalchemy-2.0.40-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c884de19528e0fcd9dc34ee94c810581dd6e74aef75437ff17e696c2bfefae3e"},+ {file = "sqlalchemy-2.0.40-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:1abb387710283fc5983d8a1209d9696a4eae9db8d7ac94b402981fe2fe2e39ad"},+ {file = "sqlalchemy-2.0.40-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5cfa124eda500ba4b0d3afc3e91ea27ed4754e727c7f025f293a22f512bcd4c9"},+ {file = "sqlalchemy-2.0.40-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8b6b28d303b9d57c17a5164eb1fd2d5119bb6ff4413d5894e74873280483eeb5"},+ {file = "sqlalchemy-2.0.40-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:b5a5bbe29c10c5bfd63893747a1bf6f8049df607638c786252cb9243b86b6706"},+ {file = "sqlalchemy-2.0.40-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:f0fda83e113bb0fb27dc003685f32a5dcb99c9c4f41f4fa0838ac35265c23b5c"},+ {file = "sqlalchemy-2.0.40-cp39-cp39-win32.whl", hash = "sha256:957f8d85d5e834397ef78a6109550aeb0d27a53b5032f7a57f2451e1adc37e98"},+ {file = "sqlalchemy-2.0.40-cp39-cp39-win_amd64.whl", hash = "sha256:1ffdf9c91428e59744f8e6f98190516f8e1d05eec90e936eb08b257332c5e870"},+ {file = "sqlalchemy-2.0.40-py3-none-any.whl", hash = "sha256:32587e2e1e359276957e6fe5dad089758bc042a971a8a09ae8ecf7a8fe23d07a"},+ {file = "sqlalchemy-2.0.40.tar.gz", hash = "sha256:d827099289c64589418ebbcaead0145cd19f4e3e8a93919a0100247af245fa00"},][[package]]@@ -3823,6 +3969,28 @@ files = [{file = "tokenizers-0.15.2.tar.gz", hash = "sha256:e6e9c6e019dd5484be5beafc775ae6c925f4c69a3487040ed09b45e13df2cb91"},]+[[package]]+name = "tomli"+version = "2.2.1"+requires_python = ">=3.8"+summary = "A lil' TOML parser"+groups = ["test"]+marker = "python_version < \"3.11\""+files = [+ {file = "tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678e4fa69e4575eb77d103de3df8a895e1591b48e740211bd1067378c69e8249"},+ {file = "tomli-2.2.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:023aa114dd824ade0100497eb2318602af309e5a55595f76b626d6d9f3b7b0a6"},+ {file = "tomli-2.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ece47d672db52ac607a3d9599a9d48dcb2f2f735c6c2d1f34130085bb12b112a"},+ {file = "tomli-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6972ca9c9cc9f0acaa56a8ca1ff51e7af152a9f87fb64623e31d5c83700080ee"},+ {file = "tomli-2.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c954d2250168d28797dd4e3ac5cf812a406cd5a92674ee4c8f123c889786aa8e"},+ {file = "tomli-2.2.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:8dd28b3e155b80f4d54beb40a441d366adcfe740969820caf156c019fb5c7ec4"},+ {file = "tomli-2.2.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:e59e304978767a54663af13c07b3d1af22ddee3bb2fb0618ca1593e4f593a106"},+ {file = "tomli-2.2.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:33580bccab0338d00994d7f16f4c4ec25b776af3ffaac1ed74e0b3fc95e885a8"},+ {file = "tomli-2.2.1-cp311-cp311-win32.whl", hash = "sha256:465af0e0875402f1d226519c9904f37254b3045fc5084697cefb9bdde1ff99ff"},+ {file = "tomli-2.2.1-cp311-cp311-win_amd64.whl", hash = "sha256:2d0f2fdd22b02c6d81637a3c95f8cd77f995846af7414c5c4b8d0545afa1bc4b"},+ {file = "tomli-2.2.1-py3-none-any.whl", hash = "sha256:cb55c73c5f4408779d0cf3eef9f762b9c9f147a77de7b258bef0a5628adc85cc"},+ {file = "tomli-2.2.1.tar.gz", hash = "sha256:cd45e1dc79c835ce60f7404ec8119f2eb06d38b1deba146f07ced3bbc44505ff"},+]+[[package]]name = "tqdm"version = "4.67.1"@@ -3862,13 +4030,13 @@ files = [[[package]]name = "typing-extensions"-version = "4.12.2"+version = "4.13.0"requires_python = ">=3.8"summary = "Backported and Experimental Type Hints for Python 3.8+"groups = ["default"]files = [- {file = "typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"},- {file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"},+ {file = "typing_extensions-4.13.0-py3-none-any.whl", hash = "sha256:c8dd92cc0d6425a97c18fbb9d1954e5ff92c1ca881a309c45f06ebc0b79058e5"},+ {file = "typing_extensions-4.13.0.tar.gz", hash = "sha256:0a4ac55a5820789d87e297727d229866c9650f6521b64206413c4fbada24d95b"},][[package]]@@ -3885,6 +4053,20 @@ files = [{file = "typing_inspect-0.9.0.tar.gz", hash = "sha256:b23fc42ff6f6ef6954e4852c1fb512cdd18dbea03134f91f856a95ccc9461f78"},]+[[package]]+name = "typing-inspection"+version = "0.4.0"+requires_python = ">=3.9"+summary = "Runtime typing introspection tools"+groups = ["default"]+dependencies = [+ "typing-extensions>=4.12.0",+]+files = [+ {file = "typing_inspection-0.4.0-py3-none-any.whl", hash = "sha256:50e72559fcd2a6367a19f7a7e610e6afcb9fac940c650290eed893d61386832f"},+ {file = "typing_inspection-0.4.0.tar.gz", hash = "sha256:9765c87de36671694a67904bf2c96e395be9c6439bb6c87b5142569dcdd65122"},+]+[[package]]name = "tzdata"version = "2025.2"@@ -4112,7 +4294,7 @@ name = "werkzeug"version = "3.1.3"requires_python = ">=3.9"summary = "The comprehensive WSGI web application library."-groups = ["default"]+groups = ["default", "test"]dependencies = ["MarkupSafe>=2.1.1",]@@ -4165,6 +4347,20 @@ files = [{file = "wrapt-1.17.2.tar.gz", hash = "sha256:41388e9d4d1522446fe79d3213196bd9e3b301a336965b9e27ca2788ebd122f3"},]+[[package]]+name = "wtforms"+version = "3.2.1"+requires_python = ">=3.9"+summary = "Form validation and rendering for Python web development."+groups = ["test"]+dependencies = [+ "markupsafe",+]+files = [+ {file = "wtforms-3.2.1-py3-none-any.whl", hash = "sha256:583bad77ba1dd7286463f21e11aa3043ca4869d03575921d1a1698d0715e0fd4"},+ {file = "wtforms-3.2.1.tar.gz", hash = "sha256:df3e6b70f3192e92623128123ec8dca3067df9cfadd43d59681e210cfb8d4682"},+]+[[package]]name = "yarl"version = "1.18.3"@@ -4234,7 +4430,7 @@ name = "zipp"version = "3.21.0"requires_python = ">=3.9"summary = "Backport of pathlib-compatible object wrapper for zip files"-groups = ["default"]+groups = ["default", "test"]marker = "python_version < \"3.10\""files = [{file = "zipp-3.21.0-py3-none-any.whl", hash = "sha256:ac1bbe05fd2991f160ebce24ffbac5f6d11d83dc90891255885223d42b3cd931"},diff --git a/prompt-service/pyproject.toml b/prompt-service/pyproject.tomlindex d3e3275a9..48d0394d2 100644--- a/prompt-service/pyproject.toml+++ b/prompt-service/pyproject.toml@@ -37,8 +37,18 @@ package-dir = "src"deploy = ["gunicorn>=21.2.0",]+test = [+ "pytest>=8.0.1",+ "pytest-dotenv==0.5.2",+ "pytest-mock>=3.14.0",+ "python-dotenv==1.0.0",+ "flask-WTF~=1.1"+][tool.pdm.scripts]prompt_service.cmd = "flask --app src/unstract/prompt_service/main.py run --port 3003"prompt_service.env_file = ".env"prompt_service.help = "Runs the Unstract prompt service"+prompt_service_v2.cmd = "flask --app src/unstract/prompt_service_v2/run.py run --port 3003"+prompt_service_v2.env_file = ".env"+prompt_service_v2.help = "Runs the Unstract prompt service v2"diff --git a/prompt-service/src/unstract/prompt_service_v2/__init__.py b/prompt-service/src/unstract/prompt_service_v2/__init__.pynew file mode 100644index 000000000..e69de29bbdiff --git a/prompt-service/src/unstract/prompt_service_v2/config.py b/prompt-service/src/unstract/prompt_service_v2/config.pynew file mode 100644index 000000000..391996a7f--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/config.py@@ -0,0 +1,54 @@+import logging+from os import environ as env++from dotenv import load_dotenv+from flask import Flask+from unstract.prompt_service_v2.controllers import api+from unstract.prompt_service_v2.extensions import db+from unstract.prompt_service_v2.helpers.lifecycle import register_lifecycle_hooks+from unstract.prompt_service_v2.helpers.plugin import plugin_loader+from unstract.prompt_service_v2.utils.env_loader import get_env_or_die+from unstract.sdk.constants import LogLevel++from unstract.core.flask import register_error_handlers, register_request_id_middleware+from unstract.core.flask.logging import setup_logging++load_dotenv()+++def create_app() -> Flask:+ """Creates and configures the Flask application."""++ log_level = env.get("LOG_LEVEL", LogLevel.INFO.value).upper()+ setup_logging(log_level)+ log_level = getattr(logging, log_level, logging.INFO)+ app = Flask("prompt-service")+ app.logger.setLevel(log_level)+ app.logger.info("Initializing Flask application...")+ # Load required environment variables+ db_host = get_env_or_die("PG_BE_HOST")+ db_port = get_env_or_die("PG_BE_PORT")+ db_user = get_env_or_die("PG_BE_USERNAME")+ db_pass = get_env_or_die("PG_BE_PASSWORD")+ db_name = get_env_or_die("PG_BE_DATABASE")+ application_name = env.get("APPLICATION_NAME", "unstract-prompt-service")++ # Initialize and connect to the database+ db.init(+ database=db_name,+ user=db_user,+ password=db_pass,+ host=db_host,+ port=db_port,+ options=f"-c application_name={application_name}",+ )++ # Load plugins+ plugin_loader(app)+ register_lifecycle_hooks(app)+ register_request_id_middleware(app)+ register_error_handlers(app)+ app.register_blueprint(api)++ app.logger.info("Flask app created successfully.")+ return appdiff --git a/prompt-service/src/unstract/prompt_service_v2/constants.py b/prompt-service/src/unstract/prompt_service_v2/constants.pynew file mode 100644index 000000000..22bc3bc87--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/constants.py@@ -0,0 +1,174 @@+from enum import Enum+++class PromptServiceConstants:+ """Constants used in the prompt service."""++ WORD = "word"+ SYNONYMS = "synonyms"+ OUTPUTS = "outputs"+ TOOL_ID = "tool_id"+ RUN_ID = "run_id"+ FILE_NAME = "file_name"+ FILE_HASH = "file_hash"+ NAME = "name"+ ACTIVE = "active"+ PROMPT = "prompt"+ CHUNK_SIZE = "chunk-size"+ PROMPTX = "promptx"+ VECTOR_DB = "vector-db"+ EMBEDDING = "embedding"+ X2TEXT_ADAPTER = "x2text_adapter"+ CHUNK_OVERLAP = "chunk-overlap"+ LLM = "llm"+ IS_ASSERT = "is_assert"+ ASSERTION_FAILURE_PROMPT = "assertion_failure_prompt"+ RETRIEVAL_STRATEGY = "retrieval-strategy"+ SIMPLE = "simple"+ SUBQUESTION = "subquestion"+ TYPE = "type"+ NUMBER = "number"+ EMAIL = "email"+ DATE = "date"+ BOOLEAN = "boolean"+ JSON = "json"+ PREAMBLE = "preamble"+ SIMILARITY_TOP_K = "similarity-top-k"+ PROMPT_TOKENS = "prompt_tokens"+ COMPLETION_TOKENS = "completion_tokens"+ TOTAL_TOKENS = "total_tokens"+ RESPONSE = "response"+ POSTAMBLE = "postamble"+ GRAMMAR = "grammar"+ PLATFORM_SERVICE_API_KEY = "PLATFORM_SERVICE_API_KEY"+ EMBEDDING_SUFFIX = "embedding_suffix"+ EVAL_SETTINGS = "eval_settings"+ EVAL_SETTINGS_EVALUATE = "evaluate"+ EVAL_SETTINGS_MONITOR_LLM = "monitor_llm"+ EVAL_SETTINGS_EXCLUDE_FAILED = "exclude_failed"+ TOOL_SETTINGS = "tool_settings"+ LOG_EVENTS_ID = "log_events_id"+ CHALLENGE_LLM = "challenge_llm"+ CHALLENGE = "challenge"+ ENABLE_CHALLENGE = "enable_challenge"+ EXTRACTION = "extraction"+ SUMMARIZE = "summarize"+ SINGLE_PASS_EXTRACTION = "single-pass-extraction"+ SIMPLE_PROMPT_STUDIO = "simple-prompt-studio"+ LLM_USAGE_REASON = "llm_usage_reason"+ METADATA = "metadata"+ OUTPUT = "output"+ CONTEXT = "context"+ INCLUDE_METADATA = "include_metadata"+ TABLE = "table"+ TABLE_SETTINGS = "table_settings"+ EPILOGUE = "epilogue"+ PLATFORM_POSTAMBLE = "platform_postamble"+ HIGHLIGHT_DATA_PLUGIN = "highlight-data"+ CLEAN_CONTEXT = "clean-context"+ SUMMARIZE_AS_SOURCE = "summarize_as_source"+ VARIABLE_MAP = "variable_map"+ RECORD = "record"+ TEXT = "text"+ ENABLE_HIGHLIGHT = "enable_highlight"+ FILE_PATH = "file_path"+ HIGHLIGHT_DATA = "highlight_data"+ CONFIDENCE_DATA = "confidence_data"+ REQUIRED_FIELDS = "required_fields"+ REQUIRED = "required"+ EXECUTION_SOURCE = "execution_source"+ METRICS = "metrics"+ LINE_ITEM = "line-item"+ LINE_NUMBERS = "line_numbers"+ WHISPER_HASH = "whisper_hash"+ PAID_FEATURE_MSG = (+ "It is a cloud / enterprise feature. If you have purchased a plan and still "+ "face this issue, please contact support"+ )+ NO_CONTEXT_ERROR = (+ "Couldn't fetch context from vector DB. "+ "This happens usually due to a delay by the Vector DB "+ "provider to confirm writes to DB. "+ "Please try again after some time"+ )+++class RunLevel(Enum):+ """Different stages of prompt execution.++ Comprises of prompt run and response evaluation stages.+ """++ RUN = "RUN"+ EVAL = "EVAL"+ CHALLENGE = "CHALLENGE"+ TABLE_EXTRACTION = "TABLE_EXTRACTION"+++class DBTableV2:+ """Database tables."""++ ORGANIZATION = "organization"+ ADAPTER_INSTANCE = "adapter_instance"+ PROMPT_STUDIO_REGISTRY = "prompt_studio_registry"+ PLATFORM_KEY = "platform_key"+ TOKEN_USAGE = "usage"+++class FileStorageKeys:+ """File storage keys."""++ PERMANENT_REMOTE_STORAGE = "PERMANENT_REMOTE_STORAGE"+ TEMPORARY_REMOTE_STORAGE = "TEMPORARY_REMOTE_STORAGE"+++class FileStorageType(Enum):+ """File storage type."""++ PERMANENT = "permanent"+ TEMPORARY = "temporary"+++class ExecutionSource(Enum):+ """Execution source."""++ IDE = "ide"+ TOOL = "tool"+++class VariableType(str, Enum):+ """Type of variable."""++ STATIC = "STATIC"+ DYNAMIC = "DYNAMIC"+++class VariableConstants:+ """Constants for variable extraction."""++ VARIABLE_REGEX = "{{(.+?)}}"+ DYNAMIC_VARIABLE_DATA_REGEX = r"\[(.*?)\]"+ DYNAMIC_VARIABLE_URL_REGEX = r"(?i)\b((?:https?://|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'\".,<>?«»“”‘’]))" # noqa: E501+++class IndexingConstants:+ TOOL_ID = "tool_id"+ EMBEDDING_INSTANCE_ID = "embedding_instance_id"+ VECTOR_DB_INSTANCE_ID = "vector_db_instance_id"+ X2TEXT_INSTANCE_ID = "x2text_instance_id"+ FILE_PATH = "file_path"+ CHUNK_SIZE = "chunk_size"+ CHUNK_OVERLAP = "chunk_overlap"+ REINDEX = "reindex"+ FILE_HASH = "file_hash"+ OUTPUT_FILE_PATH = "output_file_path"+ ENABLE_HIGHLIGHT = "enable_highlight"+ USAGE_KWARGS = "usage_kwargs"+ PROCESS_TEXT = "process_text"+ EXTRACTED_TEXT = "extracted_text"+ TAGS = "tags"+ EXECUTION_SOURCE = "execution_source"+ DOC_ID = "doc_id"+ TOOL_EXECUTION_METATADA = "tool_execution_metadata"+ EXECUTION_DATA_DIR = "execution_data_dir"+ METADATA_FILE = "METADATA.json"diff --git a/prompt-service/src/unstract/prompt_service_v2/controllers/__init__.py b/prompt-service/src/unstract/prompt_service_v2/controllers/__init__.pynew file mode 100644index 000000000..e6b149de2--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/controllers/__init__.py@@ -0,0 +1,14 @@+from flask import Blueprint++from .answer_prompt import answer_prompt_bp+from .extraction import extraction_bp+from .health import health_bp+from .indexing import indexing_bp++api = Blueprint("api", __name__)++# Register blueprint to the API Blueprint+api.register_blueprint(health_bp)+api.register_blueprint(answer_prompt_bp)+api.register_blueprint(indexing_bp)+api.register_blueprint(extraction_bp)diff --git a/prompt-service/src/unstract/prompt_service_v2/controllers/answer_prompt.py b/prompt-service/src/unstract/prompt_service_v2/controllers/answer_prompt.pynew file mode 100644index 000000000..308c19267--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/controllers/answer_prompt.py@@ -0,0 +1,650 @@+"""+Published API Controller+"""++import json+from json import JSONDecodeError+from typing import Any++from flask import Blueprint+from flask import current_app as app+from flask import request+from unstract.prompt_service_v2.constants import PromptServiceConstants as PSKeys+from unstract.prompt_service_v2.constants import RunLevel+from unstract.prompt_service_v2.exceptions import BadRequest+from unstract.prompt_service_v2.helpers.auth import AuthHelper+from unstract.prompt_service_v2.helpers.plugin import PluginManager+from unstract.prompt_service_v2.helpers.prompt_ide_base_tool import (+ PromptServiceBaseTool,+)+from unstract.prompt_service_v2.helpers.usage import UsageHelper+from unstract.prompt_service_v2.services.answer_prompt import AnswerPromptService+from unstract.prompt_service_v2.services.retrieval import RetrievalService+from unstract.prompt_service_v2.services.variable_replacement import (+ VariableReplacementService,+)+from unstract.prompt_service_v2.utils.log import publish_log+from unstract.sdk.adapters.llm.no_op.src.no_op_custom_llm import NoOpCustomLLM+from unstract.sdk.constants import LogLevel+from unstract.sdk.embedding import Embedding+from unstract.sdk.exceptions import SdkError+from unstract.sdk.index import Index+from unstract.sdk.llm import LLM+from unstract.sdk.vector_db import VectorDB++from unstract.core.flask.exceptions import APIError++answer_prompt_bp = Blueprint("answer-prompt", __name__)++[email protected]_required+@answer_prompt_bp.route("/answer-prompt", methods=["POST"])+def prompt_processor() -> Any:+ platform_key = AuthHelper.get_token_from_auth_header(request)+ payload: dict[Any, Any] = request.json+ if not payload:+ raise BadRequest+ tool_settings = payload.get(PSKeys.TOOL_SETTINGS, {})+ enable_challenge = tool_settings.get(PSKeys.ENABLE_CHALLENGE, False)+ challenge_llm = None+ # TODO: Rename "outputs" to "prompts" in payload+ prompts = payload.get(PSKeys.OUTPUTS, [])+ tool_id: str = payload.get(PSKeys.TOOL_ID, "")+ run_id: str = payload.get(PSKeys.RUN_ID, "")+ file_hash = payload.get(PSKeys.FILE_HASH)+ file_path = payload.get(PSKeys.FILE_PATH)+ doc_name = str(payload.get(PSKeys.FILE_NAME, ""))+ log_events_id: str = payload.get(PSKeys.LOG_EVENTS_ID, "")+ structured_output: dict[str, Any] = {}+ metadata: dict[str, Any] = {+ PSKeys.RUN_ID: run_id,+ PSKeys.FILE_NAME: doc_name,+ PSKeys.CONTEXT: {},+ PSKeys.REQUIRED_FIELDS: {},+ }+ metrics: dict = {}+ variable_names: list[str] = []+ # Identifier for source of invocation+ execution_source = payload.get(PSKeys.EXECUTION_SOURCE, "")+ publish_log(+ log_events_id,+ {"tool_id": tool_id, "run_id": run_id, "doc_name": doc_name},+ LogLevel.DEBUG,+ RunLevel.RUN,+ f"Preparing to execute {len(prompts)} prompt(s)",+ )+ # TODO: Rename "output" to "prompt"+ for output in prompts: # type:ignore+ variable_names.append(output[PSKeys.NAME])+ metadata[PSKeys.REQUIRED_FIELDS][output[PSKeys.NAME]] = output.get(+ PSKeys.REQUIRED, None+ )++ for output in prompts: # type:ignore+ prompt_name = output[PSKeys.NAME]+ prompt_text = output[PSKeys.PROMPT]+ chunk_size = output[PSKeys.CHUNK_SIZE]+ util = PromptServiceBaseTool(platform_key=platform_key)+ index = Index(tool=util, run_id=run_id, capture_metrics=True)+ if VariableReplacementService.is_variables_present(prompt_text=prompt_text):+ prompt_text = VariableReplacementService.replace_variables_in_prompt(+ prompt=output,+ structured_output=structured_output,+ log_events_id=log_events_id,+ tool_id=tool_id,+ prompt_name=prompt_name,+ doc_name=doc_name,+ )++ app.logger.info(f"[{tool_id}] Executing prompt: {prompt_name}")+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.DEBUG,+ RunLevel.RUN,+ "Executing prompt",+ )++ # Finding and replacing the variables in the prompt+ # The variables are in the form %variable_name%++ output[PSKeys.PROMPTX] = AnswerPromptService.extract_variable(+ structured_output, variable_names, output, prompt_text+ )++ doc_id = index.generate_index_key(+ file_hash=file_hash,+ vector_db=output[PSKeys.VECTOR_DB],+ embedding=output[PSKeys.EMBEDDING],+ x2text=output[PSKeys.X2TEXT_ADAPTER],+ chunk_size=str(output[PSKeys.CHUNK_SIZE]),+ chunk_overlap=str(output[PSKeys.CHUNK_OVERLAP]),+ )+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.DEBUG,+ RunLevel.RUN,+ "Retrieved document ID",+ )++ try:+ usage_kwargs = {"run_id": run_id}+ adapter_instance_id = output[PSKeys.LLM]+ llm = LLM(+ tool=util,+ adapter_instance_id=adapter_instance_id,+ usage_kwargs={+ **usage_kwargs,+ PSKeys.LLM_USAGE_REASON: PSKeys.EXTRACTION,+ },+ capture_metrics=True,+ )++ embedding = Embedding(+ tool=util,+ adapter_instance_id=output[PSKeys.EMBEDDING],+ usage_kwargs=usage_kwargs.copy(),+ )++ vector_db = VectorDB(+ tool=util,+ adapter_instance_id=output[PSKeys.VECTOR_DB],+ embedding=embedding,+ )+ except SdkError as e:+ msg = f"Couldn't fetch adapter. {e}"+ app.logger.error(msg)+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.ERROR,+ RunLevel.RUN,+ "Unable to obtain LLM / embedding / vectorDB",+ )+ return APIError(message=msg)++ if output[PSKeys.TYPE] == PSKeys.TABLE or output[PSKeys.TYPE] == PSKeys.RECORD:+ try:+ structured_output = AnswerPromptService.extract_table(+ output=output,+ structured_output=structured_output,+ llm=llm,+ enforce_type=output[PSKeys.TYPE],+ execution_source=execution_source,+ )+ metadata = UsageHelper.query_usage_metadata(+ token=platform_key, metadata=metadata+ )+ response = {+ PSKeys.METADATA: metadata,+ PSKeys.OUTPUT: structured_output,+ PSKeys.METRICS: metrics,+ }+ return response+ except APIError as api_error:+ app.logger.error(+ "Failed to extract table for the prompt %s: %s",+ output[PSKeys.NAME],+ str(api_error),+ )+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.ERROR,+ RunLevel.TABLE_EXTRACTION,+ "Error while extracting table for the prompt",+ )+ raise api_error+ elif output[PSKeys.TYPE] == PSKeys.LINE_ITEM:+ try:+ structured_output = AnswerPromptService.extract_line_item(+ tool_settings=tool_settings,+ output=output,+ structured_output=structured_output,+ llm=llm,+ file_path=file_path,+ metadata=metadata,+ execution_source=execution_source,+ )+ continue+ except APIError as e:+ app.logger.error(+ "Failed to extract line-item for the prompt %s: %s",+ output[PSKeys.NAME],+ str(e),+ )+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.ERROR,+ RunLevel.RUN,+ "Error while extracting line-item for the prompt",+ )+ raise e++ try:+ if chunk_size == 0:+ # We can do this only for chunkless indexes+ context: set[str] = RetrievalService.fetch_context_from_vector_db(+ index=index,+ output=output,+ doc_id=doc_id,+ tool_id=tool_id,+ doc_name=doc_name,+ prompt_name=prompt_name,+ log_events_id=log_events_id,+ usage_kwargs=usage_kwargs,+ )+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.INFO,+ RunLevel.RUN,+ "Retrieving answer from LLM",+ )+ answer = AnswerPromptService.construct_and_run_prompt(+ tool_settings=tool_settings,+ output=output,+ llm=llm,+ context="\n".join(context),+ prompt="promptx",+ metadata=metadata,+ file_path=file_path,+ execution_source=execution_source,+ )+ metadata[PSKeys.CONTEXT][output[PSKeys.NAME]] = (+ AnswerPromptService.get_cleaned_context(context)+ )+ else:+ answer = "NA"+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.INFO,+ RunLevel.RUN,+ "Retrieving context from adapter",+ )++ retrieval_strategy = output.get(PSKeys.RETRIEVAL_STRATEGY)++ if retrieval_strategy in {PSKeys.SIMPLE, PSKeys.SUBQUESTION}:+ vector_index = vector_db.get_vector_store_index()+ answer, context = RetrievalService.run_retrieval(+ tool_settings=tool_settings,+ output=output,+ doc_id=doc_id,+ llm=llm,+ vector_index=vector_index,+ retrieval_type=retrieval_strategy,+ metadata=metadata,+ execution_source=execution_source,+ )+ metadata[PSKeys.CONTEXT][output[PSKeys.NAME]] = (+ AnswerPromptService.get_cleaned_context(context)+ )+ else:+ app.logger.info(+ "Invalid retrieval strategy passed: %s",+ retrieval_strategy,+ )++ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.DEBUG,+ RunLevel.RUN,+ "Retrieved context from adapter",+ )++ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.INFO,+ RunLevel.RUN,+ f"Processing prompt type: {output[PSKeys.TYPE]}",+ )++ if output[PSKeys.TYPE] == PSKeys.NUMBER:+ if answer.lower() == "na":+ structured_output[output[PSKeys.NAME]] = None+ else:+ # TODO: Extract these prompts as constants after pkging+ prompt = f"Extract the number from the following \+ text:\n{answer}\n\nOutput just the number. \+ If the number is expressed in millions \+ or thousands, expand the number to its numeric value \+ The number should be directly assignable\+ to a numeric variable.\+ It should not have any commas, \+ percentages or other grouping \+ characters. No explanation is required.\+ If you cannot extract the number, output 0."+ answer = AnswerPromptService.run_completion(+ llm=llm,+ prompt=prompt,+ )+ try:+ structured_output[output[PSKeys.NAME]] = float(answer)+ except Exception as e:+ app.logger.info(+ f"Error parsing response (to numeric, float): {e}",+ LogLevel.ERROR,+ )+ structured_output[output[PSKeys.NAME]] = None+ # No-op adapter always returns a string data and+ # to keep this response uniform+ # through all enforce types+ # we add this check, if not for this,+ # type casting to float raises+ # an error and we return None.+ if isinstance(+ llm.get_llm(adapter_instance_id=adapter_instance_id),+ NoOpCustomLLM,+ ):+ structured_output[output[PSKeys.NAME]] = answer+ elif output[PSKeys.TYPE] == PSKeys.EMAIL:+ if answer.lower() == "na":+ structured_output[output[PSKeys.NAME]] = None+ else:+ prompt = f'Extract the email from the following text:\n{answer}\n\nOutput just the email. \+ The email should be directly assignable to a string variable. \+ No explanation is required. If you cannot extract the email, output "NA".' # noqa+ answer = AnswerPromptService.run_completion(+ llm=llm,+ prompt=prompt,+ )+ structured_output[output[PSKeys.NAME]] = answer+ elif output[PSKeys.TYPE] == PSKeys.DATE:+ if answer.lower() == "na":+ structured_output[output[PSKeys.NAME]] = None+ else:+ prompt = f'Extract the date from the following text:\n{answer}\n\nOutput just the date.\+ The date should be in ISO date time format. No explanation is required. \+ The date should be directly assignable to a date variable. \+ If you cannot convert the string into a date, output "NA".' # noqa+ answer = AnswerPromptService.run_completion(+ llm=llm,+ prompt=prompt,+ )+ structured_output[output[PSKeys.NAME]] = answer++ elif output[PSKeys.TYPE] == PSKeys.BOOLEAN:+ if answer.lower() == "na":+ structured_output[output[PSKeys.NAME]] = None+ else:+ prompt = f'Extract yes/no from the following text:\n{answer}\n\n\+ Output in single word.\+ If the context is trying to convey that the answer is true, \+ then return "yes", else return "no".'+ answer = AnswerPromptService.run_completion(+ llm=llm,+ prompt=prompt,+ )+ if answer.lower() == "yes":+ structured_output[output[PSKeys.NAME]] = True+ else:+ structured_output[output[PSKeys.NAME]] = False+ elif output[PSKeys.TYPE] == PSKeys.JSON:+ if answer.lower() == "[]" or answer.lower() == "na":+ structured_output[output[PSKeys.NAME]] = None+ else:+ try:+ structured_output[output[PSKeys.NAME]] = json.loads(answer)+ except JSONDecodeError:+ prompt = f"Convert the following text into valid JSON string: \+ \n{answer}\n\n The JSON string should be able to be parsed \+ into a Python dictionary. \+ Output just the JSON string. No explanation is required. \+ If you cannot extract the JSON string, output {{}}"+ try:+ answer = AnswerPromptService.run_completion(+ llm=llm,+ prompt=prompt,+ prompt_type=PSKeys.JSON,+ )+ structured_output[output[PSKeys.NAME]] = json.loads(answer)+ except JSONDecodeError as e:+ err_msg = (+ f"Error parsing response (to json): {e}\n"+ f"Candidate JSON: {answer}"+ )+ app.logger.info(err_msg, LogLevel.ERROR)+ # TODO: Format log message after unifying these types+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.INFO,+ RunLevel.RUN,+ "Unable to parse JSON response from LLM, try using our"+ " cloud / enterprise feature of 'line-item', "+ "'record' or 'table' type",+ )+ structured_output[output[PSKeys.NAME]] = {}++ else:+ structured_output[output[PSKeys.NAME]] = answer++ # If there is a trailing '\n' remove it+ if isinstance(structured_output[output[PSKeys.NAME]], str):+ structured_output[output[PSKeys.NAME]] = structured_output[+ output[PSKeys.NAME]+ ].rstrip("\n")++ # Challenge condition+ if enable_challenge:+ challenge_plugin: dict[str, Any] = PluginManager().get_plugin(+ PSKeys.CHALLENGE+ )+ try:+ if challenge_plugin:+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.INFO,+ RunLevel.CHALLENGE,+ "Challenging response",+ )+ challenge_llm = LLM(+ tool=util,+ adapter_instance_id=tool_settings[PSKeys.CHALLENGE_LLM],+ usage_kwargs={+ **usage_kwargs,+ PSKeys.LLM_USAGE_REASON: PSKeys.CHALLENGE,+ },+ capture_metrics=True,+ )+ challenge = challenge_plugin["entrypoint_cls"](+ llm=llm,+ challenge_llm=challenge_llm,+ run_id=run_id,+ context="\n".join(context),+ tool_settings=tool_settings,+ output=output,+ structured_output=structured_output,+ platform_key=platform_key,+ metadata=metadata,+ )+ # Will inline replace the structured output passed.+ challenge.run()+ else:+ app.logger.info(+ "No challenge plugin found to evaluate prompt: %s",+ output[PSKeys.NAME],+ )+ except challenge_plugin["exception_cls"] as e:+ app.logger.error(+ "Failed to challenge prompt %s: %s",+ output[PSKeys.NAME],+ str(e),+ )+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.ERROR,+ RunLevel.CHALLENGE,+ "Error while challenging response",+ )++ #+ # Evaluate the prompt.+ #+ if (+ PSKeys.EVAL_SETTINGS in output+ and output[PSKeys.EVAL_SETTINGS][PSKeys.EVAL_SETTINGS_EVALUATE]+ ):+ eval_plugin: dict[str, Any] = PluginManager().get_plugin("evaluation")+ if eval_plugin:+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.INFO,+ RunLevel.EVAL,+ "Evaluating response",+ )+ try:+ evaluator = eval_plugin["entrypoint_cls"](+ "",+ "\n".join(context),+ "",+ "",+ output,+ structured_output,+ platform_key,+ )+ # Will inline replace the structured output passed.+ evaluator.run()+ except eval_plugin["exception_cls"] as e:+ app.logger.error(+ f"Failed to evaluate prompt {output[PSKeys.NAME]}: {str(e)}"+ )+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.ERROR,+ RunLevel.EVAL,+ "Error while evaluation",+ )+ else:+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.DEBUG,+ RunLevel.EVAL,+ "Evaluation completed",+ )+ else:+ app.logger.info(+ f"No eval plugin found to evaluate prompt: {output[PSKeys.NAME]}" # noqa: E501+ )+ finally:+ challenge_metrics = (+ {f"{challenge_llm.get_usage_reason()}_llm": challenge_llm.get_metrics()}+ if enable_challenge and challenge_llm+ else {}+ )+ metrics.setdefault(prompt_name, {}).update(+ {+ "context_retrieval": index.get_metrics(),+ f"{llm.get_usage_reason()}_llm": llm.get_metrics(),+ **challenge_metrics,+ }+ )+ vector_db.close()+ publish_log(+ log_events_id,+ {"tool_id": tool_id, "doc_name": doc_name},+ LogLevel.INFO,+ RunLevel.RUN,+ "Sanitizing null values",+ )+ for k, v in structured_output.items():+ if isinstance(v, str) and v.lower() == "na":+ structured_output[k] = None+ elif isinstance(v, list):+ for i in range(len(v)):+ if isinstance(v[i], str) and v[i].lower() == "na":+ v[i] = None+ elif isinstance(v[i], dict):+ for k1, v1 in v[i].items():+ if isinstance(v1, str) and v1.lower() == "na":+ v[i][k1] = None+ elif isinstance(v, dict):+ for k1, v1 in v.items():+ if isinstance(v1, str) and v1.lower() == "na":+ v[k1] = None++ publish_log(+ log_events_id,+ {"tool_id": tool_id, "doc_name": doc_name},+ LogLevel.INFO,+ RunLevel.RUN,+ "Execution complete",+ )+ metadata = UsageHelper.query_usage_metadata(token=platform_key, metadata=metadata)+ response = {+ PSKeys.METADATA: metadata,+ PSKeys.OUTPUT: structured_output,+ PSKeys.METRICS: metrics,+ }+ return responsediff --git a/prompt-service/src/unstract/prompt_service_v2/controllers/extraction.py b/prompt-service/src/unstract/prompt_service_v2/controllers/extraction.pynew file mode 100644index 000000000..aecabdc43--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/controllers/extraction.py@@ -0,0 +1,53 @@+from typing import Any, Optional++from flask import Blueprint, request+from unstract.prompt_service_v2.constants import IndexingConstants as IKeys+from unstract.prompt_service_v2.constants import PromptServiceConstants as PSKeys+from unstract.prompt_service_v2.helpers.auth import AuthHelper+from unstract.prompt_service_v2.services.extraction import ExtractionService+from unstract.prompt_service_v2.utils.request import validate_request_payload++extraction_bp = Blueprint("extract", __name__)++REQUIRED_FIELDS = [+ "x2text_instance_id",+ "file_path",+ "execution_source",+ "run_id",+ "tags",+]++[email protected]_required+@extraction_bp.route("/extract", methods=["POST"])+def extract() -> Any:+ platform_key = AuthHelper.get_token_from_auth_header(request)+ payload: dict[Any, Any] = request.json+ validate_request_payload(payload, REQUIRED_FIELDS)++ x2text_instance_id: str = payload.get(IKeys.X2TEXT_INSTANCE_ID, "")+ file_path: str = payload.get(IKeys.FILE_PATH, "")+ output_file_path: Optional[str] = payload.get(IKeys.OUTPUT_FILE_PATH, "")+ enable_highlight: bool = payload.get(IKeys.ENABLE_HIGHLIGHT, False)+ usage_kwargs: dict[Any, Any] = payload.get(IKeys.USAGE_KWARGS, {})+ run_id: str = payload.get(PSKeys.RUN_ID, "")+ execution_source = payload.get(IKeys.EXECUTION_SOURCE, None)+ tags: str = payload.get(IKeys.TAGS, "")+ tool_exec_metadata = payload.get(IKeys.TOOL_EXECUTION_METATADA, {})+ execution_run_data_folder = payload.get(IKeys.EXECUTION_DATA_DIR, "")++ extracted_text = ExtractionService.perform_extraction(+ file_path=file_path,+ x2text_instance_id=x2text_instance_id,+ output_file_path=output_file_path,+ enable_highlight=enable_highlight,+ usage_kwargs=usage_kwargs,+ run_id=run_id,+ execution_source=execution_source,+ platform_key=platform_key,+ tags=tags,+ tool_exec_metadata=tool_exec_metadata,+ execution_run_data_folder=execution_run_data_folder,+ )+ response = {IKeys.EXTRACTED_TEXT: extracted_text}+ return responsediff --git a/prompt-service/src/unstract/prompt_service_v2/controllers/health.py b/prompt-service/src/unstract/prompt_service_v2/controllers/health.pynew file mode 100644index 000000000..59cc42821--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/controllers/health.py@@ -0,0 +1,8 @@+from flask import Blueprint++health_bp = Blueprint("health", __name__)+++@health_bp.route("/health", methods=["GET"])+def health_check() -> str:+ return "OK"diff --git a/prompt-service/src/unstract/prompt_service_v2/controllers/indexing.py b/prompt-service/src/unstract/prompt_service_v2/controllers/indexing.pynew file mode 100644index 000000000..339b4a790--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/controllers/indexing.py@@ -0,0 +1,98 @@+import logging+from typing import Any, Optional++from flask import Blueprint, request+from unstract.prompt_service_v2.constants import IndexingConstants as IKeys+from unstract.prompt_service_v2.constants import PromptServiceConstants as PSKeys+from unstract.prompt_service_v2.dto import (+ ChunkingConfig,+ FileInfo,+ InstanceIdentifiers,+ ProcessingOptions,+)+from unstract.prompt_service_v2.helpers.auth import AuthHelper+from unstract.prompt_service_v2.services.indexing import IndexingService+from unstract.prompt_service_v2.utils.request import validate_request_payload++indexing_bp = Blueprint("index", __name__)+logger = logging.getLogger(__name__)++REQUIRED_FIELDS = [+ "tool_id",+ "extracted_text",+ "embedding_instance_id",+ "vector_db_instance_id",+ "x2text_instance_id",+ "file_path",+ "chunk_size",+ "chunk_overlap",+ "execution_source",+ "run_id",+]++[email protected]_required+@indexing_bp.route("/index", methods=["POST"])+def index() -> Any:+ """+ Endpoint for indexing documents into the vector database.++ This API accepts a JSON payload containing document details, processes the+ document, and stores it in the vector database for retrieval.++ Raises:+ BadRequest: If the request payload is missing or invalid.++ Returns:+ str: doc_id+ """+ platform_key = AuthHelper.get_token_from_auth_header(request)+ payload: dict[Any, Any] = request.json+ validate_request_payload(payload, REQUIRED_FIELDS)++ tool_id: str = payload.get(IKeys.TOOL_ID, "")+ embedding_instance_id: str = payload.get(IKeys.EMBEDDING_INSTANCE_ID, "")+ vector_db_instance_id: str = payload.get(IKeys.VECTOR_DB_INSTANCE_ID, "")+ x2text_instance_id: str = payload.get(IKeys.X2TEXT_INSTANCE_ID, "")+ file_path: str = payload.get(IKeys.FILE_PATH, "")+ file_hash: Optional[str] = payload.get(IKeys.FILE_HASH)+ chunk_size: int = payload.get(IKeys.CHUNK_SIZE, 512) # Default chunk size+ chunk_overlap: int = payload.get(IKeys.CHUNK_OVERLAP, 128) # Default chunk overlap+ reindex: bool = payload.get(IKeys.REINDEX, False)+ enable_highlight: bool = payload.get(IKeys.ENABLE_HIGHLIGHT, False)+ usage_kwargs: dict[Any, Any] = payload.get(IKeys.USAGE_KWARGS, {})+ extracted_text: str = payload.get(IKeys.EXTRACTED_TEXT, "")+ tags: list[str] = payload.get(IKeys.TAGS, None)+ execution_source = payload.get(IKeys.EXECUTION_SOURCE, None)+ run_id: str = payload.get(PSKeys.RUN_ID, "")++ instance_identifiers = InstanceIdentifiers(+ embedding_instance_id=embedding_instance_id,+ vector_db_instance_id=vector_db_instance_id,+ x2text_instance_id=x2text_instance_id,+ tool_id=tool_id,+ tags=tags,+ llm_instance_id=None,+ )++ file_info = FileInfo(file_path=file_path, file_hash=file_hash)++ chunking_config = ChunkingConfig(chunk_size=chunk_size, chunk_overlap=chunk_overlap)++ processing_options = ProcessingOptions(+ reindex=reindex, enable_highlight=enable_highlight, usage_kwargs=usage_kwargs+ )+ doc_id = IndexingService.index(+ chunking_config=chunking_config,+ execution_source=execution_source,+ run_id=run_id,+ file_info=file_info,+ instance_identifiers=instance_identifiers,+ platform_key=platform_key,+ processing_options=processing_options,+ extracted_text=extracted_text,+ )+ response = {+ IKeys.DOC_ID: doc_id,+ }+ return responsediff --git a/prompt-service/src/unstract/prompt_service_v2/core/index_v2.py b/prompt-service/src/unstract/prompt_service_v2/core/index_v2.pynew file mode 100644index 000000000..17da0b56a--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/core/index_v2.py@@ -0,0 +1,230 @@+import json+import logging+from typing import Optional++from llama_index.core import Document+from llama_index.core.vector_stores import (+ FilterOperator,+ MetadataFilter,+ MetadataFilters,+ VectorStoreQuery,+ VectorStoreQueryResult,+)+from unstract.prompt_service_v2.dto import (+ ChunkingConfig,+ FileInfo,+ InstanceIdentifiers,+ ProcessingOptions,+)+from unstract.sdk.adapter import ToolAdapter+from unstract.sdk.adapters.vectordb.no_op.src.no_op_custom_vectordb import (+ NoOpCustomVectorDB,+)+from unstract.sdk.constants import LogLevel+from unstract.sdk.embedding import Embedding+from unstract.sdk.exceptions import IndexingError, SdkError+from unstract.sdk.file_storage.impl import FileStorage+from unstract.sdk.file_storage.provider import FileStorageProvider+from unstract.sdk.tool.stream import StreamMixin+from unstract.sdk.utils.common_utils import capture_metrics+from unstract.sdk.utils.tool_utils import ToolUtils+from unstract.sdk.vector_db import VectorDB++logger = logging.getLogger(__name__)+++class Index:+ def __init__(+ self,+ tool: StreamMixin,+ instance_identifiers: InstanceIdentifiers,+ chunking_config: ChunkingConfig,+ processing_options: ProcessingOptions,+ run_id: Optional[str] = None,+ capture_metrics: bool = False,+ ):+ # TODO: Inherit from StreamMixin and avoid using BaseTool+ self.tool = tool+ self._run_id = run_id+ self._capture_metrics = capture_metrics+ self.instance_identifiers = instance_identifiers+ self.chunking_config = chunking_config+ self.processing_options = processing_options+ self._metrics = {}++ def generate_index_key(+ self,+ file_info: FileInfo,+ fs: FileStorage = FileStorage(provider=FileStorageProvider.LOCAL),+ ) -> str:+ """Generates a unique index key based on the provided configuration,+ file information, instance identifiers, and processing options.++ Args:+ chunking_config : ChunkingConfig+ file_info (FileInfo): Contains file-related+ information such as path and hash.+ instance_identifiers (InstanceIdentifiers): Identifiers for+ embedding, vector DB, tool, etc.+ processing_options (ProcessingOptions): Options related to reindexing,+ highlighting, and processing text.+ fs (FileStorage, optional): File storage for remote storage.++ Returns:+ str: A unique index key used for indexing the document.+ """+ if not file_info.file_path and not file_info.file_hash:+ raise ValueError("One of `file_path` or `file_hash` need to be provided")++ if not file_info.file_hash:+ file_hash = fs.get_hash_from_file(path=file_info.file_path)++ # Whole adapter config is used currently even though it contains some keys+ # which might not be relevant to indexing. This is easier for now than+ # marking certain keys of the adapter config as necessary.+ index_key = {+ "file_hash": file_hash,+ "vector_db_config": ToolAdapter.get_adapter_config(+ self.tool, self.instance_identifiers.vector_db_instance_id+ ),+ "embedding_config": ToolAdapter.get_adapter_config(+ self.tool, self.instance_identifiers.embedding_instance_id+ ),+ "x2text_config": ToolAdapter.get_adapter_config(+ self.tool, self.instance_identifiers.x2text_instance_id+ ),+ # Typed and hashed as strings since the final hash is persisted+ # and this is required to be backward compatible+ "chunk_size": str(self.chunking_config.chunk_size),+ "chunk_overlap": str(self.chunking_config.chunk_overlap),+ }+ # JSON keys are sorted to ensure that the same key gets hashed even in+ # case where the fields are reordered.+ hashed_index_key = ToolUtils.hash_str(json.dumps(index_key, sort_keys=True))+ return hashed_index_key++ @capture_metrics+ def is_document_indexed(+ self,+ doc_id: str,+ embedding: Embedding,+ vector_db: VectorDB,+ ) -> bool:+ """Checks if nodes are already present in the vector database for a+ given doc_id.++ Returns:+ str: The document ID.+ """+ # Checking if document is already indexed against doc_id+ doc_id_eq_filter = MetadataFilter.from_dict(+ {"key": "doc_id", "operator": FilterOperator.EQ, "value": doc_id}+ )+ filters = MetadataFilters(filters=[doc_id_eq_filter])+ q = VectorStoreQuery(+ query_embedding=embedding.get_query_embedding(" "),+ doc_ids=[doc_id],+ filters=filters,+ )++ doc_id_found = False+ try:+ n: VectorStoreQueryResult = vector_db.query(query=q)+ if len(n.nodes) > 0:+ doc_id_found = True+ self.tool.stream_log(f"Found {len(n.nodes)} nodes for {doc_id}")+ else:+ self.tool.stream_log(f"No nodes found for {doc_id}")+ except Exception as e:+ logger.warning(+ f"Error querying {self.instance_identifiers.vector_db_instance_id}:"+ f" {str(e)}, proceeding to index",+ exc_info=True,+ )++ if doc_id_found and not self.processing_options.reindex:+ self.tool.stream_log(f"File was indexed already under {doc_id}")+ return doc_id_found++ return doc_id_found++ @capture_metrics+ def perform_indexing(+ self,+ vector_db: VectorDB,+ doc_id: str,+ extracted_text: str,+ ):+ if isinstance(+ vector_db.get_vector_db(+ adapter_instance_id=self.instance_identifiers.vector_db_instance_id,+ embedding_dimension=1,+ ),+ (NoOpCustomVectorDB),+ ):+ return doc_id++ self.tool.stream_log("Indexing file...")+ full_text = [+ {+ "section": "full",+ "text_contents": extracted_text,+ }+ ]+ # Convert raw text to llama index usage Document+ documents = self._prepare_documents(doc_id, full_text)+ if self.processing_options.reindex:+ self.delete_nodes(vector_db, doc_id)+ self._trigger_indexing(vector_db, documents)+ return doc_id++ def _trigger_indexing(self, vector_db, documents):+ self.tool.stream_log("Adding nodes to vector db...")+ try:+ vector_db.index_document(+ documents,+ chunk_size=self.chunking_config.chunk_overlap,+ chunk_overlap=self.chunking_config.chunk_overlap,+ show_progress=True,+ )+ self.tool.stream_log("File has been indexed successfully")+ except Exception as e:+ self.tool.stream_log(+ f"Error adding nodes to vector db: {e}",+ level=LogLevel.ERROR,+ )+ raise IndexingError(str(e)) from e++ def delete_nodes(self, vector_db: VectorDB, doc_id: str):+ try:+ vector_db.delete(ref_doc_id=doc_id)+ self.tool.stream_log(f"Deleted nodes for {doc_id}")+ except Exception as e:+ self.tool.stream_log(+ f"Error deleting nodes for {doc_id}: {e}",+ level=LogLevel.ERROR,+ )+ raise SdkError(f"Error deleting nodes for {doc_id}: {e}") from e++ def _prepare_documents(self, doc_id: str, full_text: str) -> list:+ documents = []+ try:+ for item in full_text:+ text = item["text_contents"]+ document = Document(+ text=text,+ doc_id=doc_id,+ metadata={"section": item["section"]},+ )+ document.id_ = doc_id+ documents.append(document)+ self.tool.stream_log(f"Number of documents: {len(documents)}")+ return documents+ except Exception as e:+ self.tool.stream_log(+ f"Error while processing documents {doc_id}: {e}",+ level=LogLevel.ERROR,+ )+ raise SdkError(+ f"Error while processing documents for indexing {doc_id}: {e}"+ ) from ediff --git a/prompt-service/src/unstract/prompt_service_v2/core/retrievers/base_retriever.py b/prompt-service/src/unstract/prompt_service_v2/core/retrievers/base_retriever.pynew file mode 100644index 000000000..5dc26bd65--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/core/retrievers/base_retriever.py@@ -0,0 +1,21 @@+from unstract.sdk.vector_db import VectorDB+++class BaseRetriever:+ def __init__(self, vector_db: VectorDB, prompt: str, doc_id: str, top_k: int):+ """Initialize the Retrieval class.++ Args:+ vector_db (VectorDB): The vector database instance.+ prompt (str): The query prompt.+ doc_id (str): Document identifier for query context.+ top_k (int): Number of top results to retrieve.+ """+ self.vector_db = vector_db+ self.prompt = prompt+ self.doc_id = doc_id+ self.top_k = top_k++ @staticmethod+ def retrieve() -> set[str]:+ return set()diff --git a/prompt-service/src/unstract/prompt_service_v2/core/retrievers/simple.py b/prompt-service/src/unstract/prompt_service_v2/core/retrievers/simple.pynew file mode 100644index 000000000..183e638e2--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/core/retrievers/simple.py@@ -0,0 +1,45 @@+import logging+import time++from llama_index.core import VectorStoreIndex+from llama_index.core.vector_stores import ExactMatchFilter, MetadataFilters+from unstract.prompt_service_v2.core.retrievers.base_retriever import BaseRetriever++logger = logging.getLogger(__name__)+++class SimpleRetriever(BaseRetriever):+ def retrieve(self) -> set[str]:+ vector_query_engine: VectorStoreIndex = self.vector_db.get_vector_store_index()+ retriever = vector_query_engine.as_retriever(+ similarity_top_k=self.top_k,+ filters=MetadataFilters(+ filters=[+ ExactMatchFilter(key="doc_id", value=self.doc_id),+ ],+ ),+ )+ nodes = retriever.retrieve(self.prompt)+ context: set[str] = set()+ for node in nodes:+ # ToDo: May have to fine-tune this value for node score or keep it+ # configurable at the adapter level+ if node.score > 0:+ context.add(node.get_content())+ else:+ logger.info(+ "Node score is less than 0. "+ f"Ignored: {node.node_id} with score {node.score}"+ )++ if not context:+ # UN-1288 For Pinecone, we are seeing an inconsistent case where+ # query with doc_id fails even though indexing just happened.+ # This causes the following retrieve to return no text.+ # To rule out any lag on the Pinecone vector DB write,+ # the following sleep is added+ # Note: This will not fix the issue. Since this issue is inconsistent+ # and not reproducible easily, this is just a safety net.+ time.sleep(2)+ context = self.retrieve()+ return contextdiff --git a/prompt-service/src/unstract/prompt_service_v2/core/retrievers/subquestion.py b/prompt-service/src/unstract/prompt_service_v2/core/retrievers/subquestion.pynew file mode 100644index 000000000..4e5eefabe--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/core/retrievers/subquestion.py@@ -0,0 +1,50 @@+import logging++from llama_index.core.query_engine import SubQuestionQueryEngine+from llama_index.core.tools import QueryEngineTool, ToolMetadata+from unstract.prompt_service_v2.core.retrievers.base_retriever import BaseRetriever+from unstract.prompt_service_v2.exceptions import RetrievalError++logger = logging.getLogger(__name__)+++class SubquestionRetriever(BaseRetriever):+ """SubquestionRetrieval class for querying VectorDB using LlamaIndex's+ SubQuestionQueryEngine."""++ def retrieve(self) -> set[str]:+ """Retrieve text chunks from the VectorDB based on the provided prompt.++ Returns:+ set[str]: A set of text chunks retrieved from the database.+ """+ try:+ vector_query_engine = (+ self.vector_db.get_vector_store_index().as_query_engine()+ )++ query_engine_tools = [+ QueryEngineTool(+ query_engine=vector_query_engine,+ metadata=ToolMetadata(name=self.doc_id),+ ),+ ]++ query_engine = SubQuestionQueryEngine.from_defaults(+ query_engine_tools=query_engine_tools,+ use_async=True,+ )++ response = query_engine.query(+ prompt=self.prompt,+ top_k=self.top_k,+ return_full_response=True,+ )++ chunks: set[str] = {node.text for node in response.source_nodes}+ logger.info(f"Successfully retrieved {len(chunks)} chunks.")+ return chunks++ except Exception as e:+ logger.error(f"Error during retrieving chunks {self.doc_id}: {e}")+ raise RetrievalError(str(e)) from ediff --git a/prompt-service/src/unstract/prompt_service_v2/dto.py b/prompt-service/src/unstract/prompt_service_v2/dto.pynew file mode 100644index 000000000..3cf5cbaa0--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/dto.py@@ -0,0 +1,38 @@+from dataclasses import dataclass, field+from typing import Any, Optional+++@dataclass+class InstanceIdentifiers:+ embedding_instance_id: str+ vector_db_instance_id: str+ x2text_instance_id: str+ llm_instance_id: str+ tool_id: str+ tags: Optional[list[str]] = None+++@dataclass+class FileInfo:+ file_path: str+ file_hash: str+++@dataclass+class ChunkingConfig:+ chunk_size: int+ chunk_overlap: int++ def __post_init__(self) -> None:+ if self.chunk_size == 0:+ raise ValueError(+ "Indexing cannot be done for zero chunks."+ "Please provide a valid chunk_size."+ )+++@dataclass+class ProcessingOptions:+ reindex: bool = False+ enable_highlight: bool = False+ usage_kwargs: dict[Any, Any] = field(default_factory=dict)diff --git a/prompt-service/src/unstract/prompt_service_v2/exceptions.py b/prompt-service/src/unstract/prompt_service_v2/exceptions.pynew file mode 100644index 000000000..96b87a614--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/exceptions.py@@ -0,0 +1,28 @@+from unstract.core.flask.exceptions import APIError+++class BadRequest(APIError):+ code = 400+ message = "Bad Request / No payload"+++class RateLimitError(APIError):+ code = 429+ message = "Running into rate limit errors, please try again later"+++class MissingFieldError(APIError):+ """Custom error for missing fields."""++ def __init__(self, missing_fields: list[str]):+ message = f"Missing required fields: {', '.join(missing_fields)}"+ super().__init__(message=message)+++class RetrievalError(APIError):+ """Custom exception raised for errors during retrieval from VectorDB."""++ DEFAULT_MESSAGE = (+ "Error while retrieving data from the VectorDB. "+ "Please contact the admin for further assistance."+ )diff --git a/prompt-service/src/unstract/prompt_service_v2/extensions.py b/prompt-service/src/unstract/prompt_service_v2/extensions.pynew file mode 100644index 000000000..ffa750da0--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/extensions.py@@ -0,0 +1,3 @@+from peewee import PostgresqlDatabase++db = PostgresqlDatabase(None)diff --git a/prompt-service/src/unstract/prompt_service_v2/helpers/__init__.py b/prompt-service/src/unstract/prompt_service_v2/helpers/__init__.pynew file mode 100644index 000000000..e69de29bbdiff --git a/prompt-service/src/unstract/prompt_service_v2/helpers/auth.py b/prompt-service/src/unstract/prompt_service_v2/helpers/auth.pynew file mode 100644index 000000000..fdeca58c0--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/helpers/auth.py@@ -0,0 +1,92 @@+from typing import Any, Optional++from flask import Request+from flask import current_app as app+from flask import request+from unstract.prompt_service_v2.constants import DBTableV2+from unstract.prompt_service_v2.extensions import db+from unstract.prompt_service_v2.utils.db_utils import DBUtils+from unstract.prompt_service_v2.utils.env_loader import get_env_or_die++DB_SCHEMA = get_env_or_die("DB_SCHEMA", "unstract")+++class AuthHelper:++ @staticmethod+ def validate_bearer_token(token: Optional[str]) -> bool:+ try:+ if token is None:+ app.logger.error("Authentication failed. Empty bearer token")+ return False++ platform_key_table = f'"{DB_SCHEMA}".{DBTableV2.PLATFORM_KEY}'++ query = f"SELECT * FROM {platform_key_table} WHERE key = '{token}'"+ cursor = db.execute_sql(query)+ result_row = cursor.fetchone()+ cursor.close()+ if not result_row or len(result_row) == 0:+ app.logger.error(+ f"Authentication failed. bearer token not found {token}"+ )+ return False+ platform_key = str(result_row[1])+ is_active = bool(result_row[2])+ if not is_active:+ app.logger.error(+ f"Token is not active. Activate \+ before using it. token {token}"+ )+ return False+ if platform_key != token:+ app.logger.error(+ f"Authentication failed. Invalid bearer token: {token}"+ )+ return False++ except Exception as e:+ app.logger.error(+ f"Error while validating bearer token: {e}",+ stack_info=True,+ exc_info=True,+ )+ return False+ return True++ @staticmethod+ def get_token_from_auth_header(request: Request) -> Optional[str]:+ try:+ bearer_token = request.headers.get("Authorization")+ if not bearer_token:+ return None+ token: str = bearer_token.strip().replace("Bearer ", "")+ return token+ except Exception as e:+ app.logger.info(f"Exception while getting token {e}")+ return None++ @staticmethod+ def get_account_from_bearer_token(token: Optional[str]) -> str:+ platform_key_table = DBTableV2.PLATFORM_KEY+ organization_table = DBTableV2.ORGANIZATION++ query = f"SELECT organization_id FROM {platform_key_table} WHERE key='{token}'"+ organization = DBUtils.execute_query(query)+ query_org = (+ f"SELECT schema_name FROM {organization_table} WHERE id='{organization}'"+ )+ schema_name: str = DBUtils.execute_query(query_org)+ return schema_name++ @staticmethod+ def auth_required(func: Any) -> Any:+ def wrapper(*args: Any, **kwargs: Any) -> Any:+ token = AuthHelper.get_token_from_auth_header(request)+ # Check if bearer token exists and validate it+ if not token or not AuthHelper.validate_bearer_token(token):+ return "Unauthorized", 401+ request.token = token+ return func(*args, **kwargs)++ return wrapperdiff --git a/prompt-service/src/unstract/prompt_service_v2/helpers/lifecycle.py b/prompt-service/src/unstract/prompt_service_v2/helpers/lifecycle.pynew file mode 100644index 000000000..503f7a1a5--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/helpers/lifecycle.py@@ -0,0 +1,25 @@+from typing import Any++from flask import Flask, request+from unstract.prompt_service_v2.extensions import db+++def register_lifecycle_hooks(app: Flask):+ @app.before_request+ def before_request() -> None:+ """Ensure the DB connection is open before handling the request."""+ if db.is_closed():+ db.connect(reuse_if_open=True)+ app.logger.info(f"Request Path: {request.path} | Method: {request.method}")++ @app.teardown_request+ def teardown_request(exception: Any) -> None:+ """Close the DB connection after the request is handled."""+ if not db.is_closed():+ db.close()++ @app.after_request+ def log_response_info(response):+ """Log response details."""+ app.logger.info(f"Response Status: {response.status}")+ return responsediff --git a/prompt-service/src/unstract/prompt_service_v2/helpers/plugin.py b/prompt-service/src/unstract/prompt_service_v2/helpers/plugin.pynew file mode 100644index 000000000..365c31f00--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/helpers/plugin.py@@ -0,0 +1,86 @@+import importlib+import os+from pathlib import Path+from typing import Any, Optional++from flask import Flask+from unstract.prompt_service_v2.constants import PromptServiceConstants as PSKeys+++class PluginManager:+ _instance = None++ def __new__(cls, app: Optional[Flask] = None) -> "PluginManager":+ if cls._instance is None:+ # Only create the instance if it doesn't already exist+ cls._instance = super().__new__(cls)+ cls._instance.plugins = {}+ cls._instance.plugins_dir = Path(__file__).parent.parent / "plugins"+ cls._instance.plugins_pkg = "unstract.prompt_service_v2.plugins"+ # Always update `app` if provided+ if app:+ cls._instance.app = app+ return cls._instance++ def load_plugins(self) -> None:+ """Loads plugins found in the plugins root dir."""+ if not self.plugins_dir.exists():+ self.app.logger.warning(+ f"Plugins directory not found: {self.plugins_dir}. Skipping."+ )+ return++ self.app.logger.info(f"Loading plugins from: {self.plugins_dir}")++ for pkg in os.listdir(os.fspath(self.plugins_dir)):+ if pkg.endswith(".so"):+ pkg = pkg.split(".")[0]+ pkg_anchor = f"{self.plugins_pkg}.{pkg}.src"+ try:+ module = importlib.import_module(pkg_anchor)+ except ImportError as e:+ self.app.logger.error(f"Failed to load plugin ({pkg}): {str(e)}")+ continue++ metadata = getattr(module, "metadata", None)+ if not metadata:+ self.app.logger.warning(f"Skipping plugin ({pkg}): No metadata found.")+ continue++ if metadata.get("disable", False):+ self.app.logger.info(+ f"Skipping disabled plugin: {pkg}"+ f" v{metadata.get('version', 'unknown')}"+ )+ continue++ try:+ self.plugins[metadata["name"]] = {+ "version": metadata["version"],+ "entrypoint_cls": metadata["entrypoint_cls"],+ "exception_cls": metadata["exception_cls"],+ }+ if blueprint := metadata.get("blueprint"):+ self.app.register_blueprint(blueprint)+ self.app.logger.info(f"✔ Loaded plugin: {pkg} v{metadata['version']}")+ except KeyError as e:+ self.app.logger.error(f"Invalid metadata for plugin '{pkg}': {str(e)}")++ if not self.plugins:+ self.app.logger.warning("⚠ No plugins loaded.")++ def get_plugin(self, name: str) -> dict[str, Any]:+ """Get the plugin metadata by name."""+ return self.plugins.get(name, {})++ def get_cleaned_context(self, context: set[str]) -> list[str]:+ """Returns cleaned context from the clean context plugin."""+ clean_context_plugin = self.get_plugin(PSKeys.CLEAN_CONTEXT)+ if clean_context_plugin:+ return clean_context_plugin["entrypoint_cls"].run(context=context)+ return list(context)+++def plugin_loader(app: Flask) -> None:+ manager = PluginManager(app)+ manager.load_plugins()diff --git a/prompt-service/src/unstract/prompt_service_v2/helpers/prompt_ide_base_tool.py b/prompt-service/src/unstract/prompt_service_v2/helpers/prompt_ide_base_tool.pynew file mode 100644index 000000000..0650fde70--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/helpers/prompt_ide_base_tool.py@@ -0,0 +1,60 @@+import os+import warnings+from typing import Optional++from flask import current_app+from unstract.prompt_service_v2.constants import PromptServiceConstants+from unstract.sdk.constants import LogLevel+from unstract.sdk.tool.stream import StreamMixin+from unstract.sdk.utils.common_utils import PY_TO_UNSTRACT_LOG_LEVEL+++class PromptServiceBaseTool(StreamMixin):+ # TODO: Remove unused log_level arg+ def __init__(+ self, log_level: Optional[LogLevel] = None, platform_key: str = ""+ ) -> None:+ """+ Args:+ tool (UnstractAbstractTool): Instance of UnstractAbstractTool.+ Deprecated, will be removed in future versions+ Notes:+ - PLATFORM_SERVICE_API_KEY environment variable is required.+ """+ if log_level:+ warnings.warn(+ "The 'log_level' argument is deprecated and will be "+ "removed in a future version.",+ DeprecationWarning,+ stacklevel=2, # ensures the warning points to the caller of the method+ )+ self.log_level = PY_TO_UNSTRACT_LOG_LEVEL.get(+ current_app.logger.getEffectiveLevel(), LogLevel.INFO+ )+ self.platform_key = platform_key+ super().__init__(log_level=self.log_level)++ def get_env_or_die(self, env_key: str) -> str:+ """Returns the value of an env variable.++ If it is None, raises an error and exits++ Args:+ env_key (str): Key to retrieve++ Returns:+ str: Value of the env+ """+ # HACK: Adding platform key for multitenancy+ if env_key == PromptServiceConstants.PLATFORM_SERVICE_API_KEY:+ if not self.platform_key:+ current_app.logger.error(f"{env_key} is required")+ else:+ key: str = self.platform_key+ return key+ else:+ env_value = os.environ.get(env_key)+ if env_value is None:+ current_app.logger.error(f"Env variable {env_key} is required")+ return env_value # type:ignore+ return ""diff --git a/prompt-service/src/unstract/prompt_service_v2/helpers/usage.py b/prompt-service/src/unstract/prompt_service_v2/helpers/usage.pynew file mode 100644index 000000000..f1b2be7d3--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/helpers/usage.py@@ -0,0 +1,82 @@+from logging import Logger+from typing import Any++from flask import current_app as app+from unstract.prompt_service_v2.constants import DBTableV2+from unstract.prompt_service_v2.extensions import db+from unstract.prompt_service_v2.utils.db_utils import DBUtils+from unstract.prompt_service_v2.utils.env_loader import get_env_or_die+++class UsageHelper:++ @staticmethod+ def query_usage_metadata(token: str, metadata: dict[str, Any]) -> dict[str, Any]:+ DB_SCHEMA = get_env_or_die("DB_SCHEMA", "unstract")+ organization_uid, org_id = DBUtils.get_organization_from_bearer_token(token)+ run_id: str = metadata["run_id"]+ query: str = f"""+ SELECT+ usage_type,+ llm_usage_reason,+ model_name,+ SUM(prompt_tokens) AS input_tokens,+ SUM(completion_tokens) AS output_tokens,+ SUM(total_tokens) AS total_tokens,+ SUM(embedding_tokens) AS embedding_tokens,+ SUM(cost_in_dollars) AS cost_in_dollars+ FROM "{DB_SCHEMA}"."{DBTableV2.TOKEN_USAGE}"+ WHERE run_id = %s and organization_id = %s+ GROUP BY usage_type, llm_usage_reason, model_name;+ """+ logger: Logger = app.logger+ try:+ with db.atomic():+ logger.info(+ "Querying usage metadata for org_id: %s, run_id: %s", org_id, run_id+ )+ cursor = db.execute_sql(query, (run_id, organization_uid))+ results: list[tuple] = cursor.fetchall()+ # Process results as needed+ for row in results:+ key, item = UsageHelper._get_key_and_item(row)+ # Initialize the key as an empty list if it doesn't exist+ if key not in metadata:+ metadata[key] = []+ # Append the item to the list associated with the key+ metadata[key].append(item)+ except Exception as e:+ logger.error(f"Error while querying usage metadata: {e}")+ return metadata++ @staticmethod+ def _get_key_and_item(row: tuple) -> tuple[str, dict[str, Any]]:+ (+ usage_type,+ llm_usage_reason,+ model_name,+ input_tokens,+ output_tokens,+ total_tokens,+ embedding_tokens,+ cost_in_dollars,+ ) = row+ cost_in_dollars: str = UsageHelper._format_float_positional(cost_in_dollars)+ key: str = usage_type+ item: dict[str, Any] = {+ "model_name": model_name,+ "cost_in_dollars": cost_in_dollars,+ }+ if llm_usage_reason:+ key = f"{llm_usage_reason}_{key}"+ item["input_tokens"] = input_tokens+ item["output_tokens"] = output_tokens+ item["total_tokens"] = total_tokens+ else:+ item["embedding_tokens"] = embedding_tokens+ return key, item++ @staticmethod+ def _format_float_positional(value: float, precision: int = 10) -> str:+ formatted: str = f"{value:.{precision}f}"+ return formatted.rstrip("0").rstrip(".") if "." in formatted else formatteddiff --git a/prompt-service/src/unstract/prompt_service_v2/helpers/variable_replacement.py b/prompt-service/src/unstract/prompt_service_v2/helpers/variable_replacement.pynew file mode 100644index 000000000..ec1632520--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/helpers/variable_replacement.py@@ -0,0 +1,117 @@+import json+import re+from functools import lru_cache+from typing import Any++from flask import current_app as app+from unstract.prompt_service_v2.constants import VariableConstants, VariableType+from unstract.prompt_service_v2.utils.request import HTTPMethod, make_http_request+++class VariableReplacementHelper:++ @staticmethod+ def replace_static_variable(+ prompt: str, structured_output: dict[str, Any], variable: str+ ) -> str:+ output_value = VariableReplacementHelper.check_static_variable_run_status(+ structure_output=structured_output, variable=variable+ )+ if not output_value:+ return prompt+ static_variable_marker_string = "".join(["{{", variable, "}}"])++ replaced_prompt: str = VariableReplacementHelper.replace_generic_string_value(+ prompt=prompt, variable=static_variable_marker_string, value=output_value+ )++ return replaced_prompt++ @staticmethod+ def check_static_variable_run_status(+ structure_output: dict[str, Any], variable: str+ ) -> Any:+ output = None+ try:+ output = structure_output[variable]+ except KeyError:+ app.logger.warning(+ f"Prompt with {variable} is not executed yet."+ " Unable to replace the variable"+ )+ return output++ @staticmethod+ def replace_generic_string_value(prompt: str, variable: str, value: Any) -> str:+ formatted_value: str = value+ if not isinstance(value, str):+ formatted_value = VariableReplacementHelper.handle_json_and_str_types(value)+ replaced_prompt = prompt.replace(variable, formatted_value)+ return replaced_prompt++ @staticmethod+ def handle_json_and_str_types(value: Any) -> str:+ try:+ formatted_value = json.dumps(value)+ except ValueError:+ formatted_value = str(value)+ return formatted_value++ @staticmethod+ def identify_variable_type(variable: str) -> VariableType:+ variable_type: VariableType+ pattern = re.compile(VariableConstants.DYNAMIC_VARIABLE_URL_REGEX)+ if re.findall(pattern, variable):+ variable_type = VariableType.DYNAMIC+ else:+ variable_type = VariableType.STATIC+ return variable_type++ @staticmethod+ def replace_dynamic_variable(+ prompt: str, variable: str, structured_output: dict[str, Any]+ ) -> str:+ url = re.search(VariableConstants.DYNAMIC_VARIABLE_URL_REGEX, variable).group(0)+ data = re.findall(VariableConstants.DYNAMIC_VARIABLE_DATA_REGEX, variable)[0]+ output_value = VariableReplacementHelper.check_static_variable_run_status(+ structure_output=structured_output, variable=data+ )+ if not output_value:+ return prompt+ api_response: Any = VariableReplacementHelper.fetch_dynamic_variable_value(+ url=url, data=output_value+ )+ formatted_api_response: str = (+ VariableReplacementHelper.handle_json_and_str_types(api_response)+ )+ static_variable_marker_string = "".join(["{{", variable, "}}"])+ replaced_prompt: str = VariableReplacementHelper.replace_generic_string_value(+ prompt=prompt,+ variable=static_variable_marker_string,+ value=formatted_api_response,+ )+ return replaced_prompt++ @staticmethod+ @lru_cache(maxsize=128)+ def extract_variables_from_prompt(prompt_text: str) -> list[str]:+ variable: list[str] = []+ variable = re.findall(VariableConstants.VARIABLE_REGEX, prompt_text)+ return variable++ @staticmethod+ def fetch_dynamic_variable_value(url: str, data: str) -> Any:++ # This prototype method currently supports+ # only endpoints that do not require authentication.+ # Additionally, it only accepts plain text+ # inputs for POST requests in this version.+ # Future versions may include support for+ # authentication and other input formats.++ verb: HTTPMethod = HTTPMethod.POST+ headers = {"Content-Type": "text/plain"}+ response: Any = make_http_request(+ verb=verb, url=url, data=data, headers=headers+ )+ return responsediff --git a/prompt-service/src/unstract/prompt_service_v2/run.py b/prompt-service/src/unstract/prompt_service_v2/run.pynew file mode 100644index 000000000..f33606904--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/run.py@@ -0,0 +1,3 @@+from unstract.prompt_service_v2.config import create_app++app = create_app()diff --git a/prompt-service/src/unstract/prompt_service_v2/services/__init__.py b/prompt-service/src/unstract/prompt_service_v2/services/__init__.pynew file mode 100644index 000000000..e69de29bbdiff --git a/prompt-service/src/unstract/prompt_service_v2/services/answer_prompt.py b/prompt-service/src/unstract/prompt_service_v2/services/answer_prompt.pynew file mode 100644index 000000000..ebd9534fd--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/services/answer_prompt.py@@ -0,0 +1,289 @@+import os+from logging import Logger+from typing import Any, Optional++from flask import current_app as app+from unstract.prompt_service.exceptions import RateLimitError+from unstract.prompt_service_v2.constants import ExecutionSource, FileStorageKeys+from unstract.prompt_service_v2.constants import PromptServiceConstants as PSKeys+from unstract.prompt_service_v2.helpers.plugin import PluginManager+from unstract.sdk.exceptions import RateLimitError as SdkRateLimitError+from unstract.sdk.exceptions import SdkError+from unstract.sdk.file_storage import FileStorage, FileStorageProvider+from unstract.sdk.file_storage.constants import StorageType+from unstract.sdk.file_storage.env_helper import EnvHelper+from unstract.sdk.llm import LLM++from unstract.core.flask.exceptions import APIError+++class AnswerPromptService:++ @staticmethod+ def get_cleaned_context(context: set[str]) -> list[str]:+ clean_context_plugin: dict[str, Any] = PluginManager().get_plugin(+ PSKeys.CLEAN_CONTEXT+ )+ if clean_context_plugin:+ return clean_context_plugin["entrypoint_cls"].run(context=context)+ return list(context)++ @staticmethod+ def extract_variable(+ structured_output: dict[str, Any],+ variable_names: list[Any],+ output: dict[str, Any],+ promptx: str,+ ) -> str:+ logger: Logger = app.logger+ for variable_name in variable_names:+ if promptx.find(f"%{variable_name}%") >= 0:+ if variable_name in structured_output:+ promptx = promptx.replace(+ f"%{variable_name}%",+ str(structured_output[variable_name]),+ )+ else:+ raise ValueError(+ f"Variable {variable_name} not found " "in structured output"+ )++ if promptx != output[PSKeys.PROMPT]:+ logger.info(f"Prompt after variable replacement: {promptx}")+ return promptx++ @staticmethod+ def construct_and_run_prompt(+ tool_settings: dict[str, Any],+ output: dict[str, Any],+ llm: LLM,+ context: str,+ prompt: str,+ metadata: dict[str, Any],+ file_path: str = "",+ execution_source: Optional[str] = ExecutionSource.IDE.value,+ ) -> str:+ platform_postamble = tool_settings.get(PSKeys.PLATFORM_POSTAMBLE, "")+ summarize_as_source = tool_settings.get(PSKeys.SUMMARIZE_AS_SOURCE)+ enable_highlight = tool_settings.get(PSKeys.ENABLE_HIGHLIGHT, False)+ if not enable_highlight or summarize_as_source:+ platform_postamble = ""+ prompt = AnswerPromptService.construct_prompt(+ preamble=tool_settings.get(PSKeys.PREAMBLE, ""),+ prompt=output[prompt],+ postamble=tool_settings.get(PSKeys.POSTAMBLE, ""),+ grammar_list=tool_settings.get(PSKeys.GRAMMAR, []),+ context=context,+ platform_postamble=platform_postamble,+ )+ return AnswerPromptService.run_completion(+ llm=llm,+ prompt=prompt,+ metadata=metadata,+ prompt_key=output[PSKeys.NAME],+ prompt_type=output.get(PSKeys.TYPE, PSKeys.TEXT),+ enable_highlight=enable_highlight,+ file_path=file_path,+ execution_source=execution_source,+ )++ @staticmethod+ def construct_prompt(+ preamble: str,+ prompt: str,+ postamble: str,+ grammar_list: list[dict[str, Any]],+ context: str,+ platform_postamble: str,+ ) -> str:+ prompt = f"{preamble}\n\nQuestion or Instruction: {prompt}"+ if grammar_list is not None and len(grammar_list) > 0:+ prompt += "\n"+ for grammar in grammar_list:+ word = ""+ synonyms = []+ if PSKeys.WORD in grammar:+ word = grammar[PSKeys.WORD]+ if PSKeys.SYNONYMS in grammar:+ synonyms = grammar[PSKeys.SYNONYMS]+ if len(synonyms) > 0 and word != "":+ prompt += f'\nNote: You can consider that the word {word} is same as \+ {", ".join(synonyms)} in both the quesiton and the context.' # noqa+ if platform_postamble:+ platform_postamble += "\n\n"+ prompt += (+ f"\n\n{postamble}\n\nContext:\n---------------\n{context}\n"+ f"-----------------\n\n{platform_postamble}Answer:"+ )+ return prompt++ @staticmethod+ def run_completion(+ llm: LLM,+ prompt: str,+ metadata: Optional[dict[str, str]] = None,+ prompt_key: Optional[str] = None,+ prompt_type: Optional[str] = PSKeys.TEXT,+ enable_highlight: bool = False,+ file_path: str = "",+ execution_source: Optional[str] = None,+ ) -> str:+ logger: Logger = app.logger+ try:+ highlight_data_plugin: dict[str, Any] = PluginManager().get_plugin(+ PSKeys.HIGHLIGHT_DATA_PLUGIN+ )+ highlight_data = None+ if highlight_data_plugin and enable_highlight:+ fs_instance: FileStorage = FileStorage(FileStorageProvider.LOCAL)+ if execution_source == ExecutionSource.IDE.value:+ fs_instance = EnvHelper.get_storage(+ storage_type=StorageType.PERMANENT,+ env_name=FileStorageKeys.PERMANENT_REMOTE_STORAGE,+ )+ if execution_source == ExecutionSource.TOOL.value:+ fs_instance = EnvHelper.get_storage(+ storage_type=StorageType.SHARED_TEMPORARY,+ env_name=FileStorageKeys.TEMPORARY_REMOTE_STORAGE,+ )+ highlight_data = highlight_data_plugin["entrypoint_cls"](+ file_path=file_path,+ fs_instance=fs_instance,+ ).run+ completion = llm.complete(+ prompt=prompt,+ process_text=highlight_data,+ extract_json=prompt_type.lower() != PSKeys.TEXT,+ )+ answer: str = completion[PSKeys.RESPONSE].text+ highlight_data = completion.get(PSKeys.HIGHLIGHT_DATA, [])+ confidence_data = completion.get(PSKeys.CONFIDENCE_DATA)+ line_numbers = completion.get(PSKeys.LINE_NUMBERS, [])+ whisper_hash = completion.get(PSKeys.WHISPER_HASH, "")+ if metadata is not None and prompt_key:+ metadata.setdefault(PSKeys.HIGHLIGHT_DATA, {})[+ prompt_key+ ] = highlight_data+ metadata.setdefault(PSKeys.LINE_NUMBERS, {})[prompt_key] = line_numbers+ metadata[PSKeys.WHISPER_HASH] = whisper_hash+ if confidence_data:+ metadata.setdefault(PSKeys.CONFIDENCE_DATA, {})[+ prompt_key+ ] = confidence_data+ return answer+ # TODO: Catch and handle specific exception here+ except SdkRateLimitError as e:+ raise RateLimitError(f"Rate limit error. {str(e)}") from e+ except SdkError as e:+ logger.error(f"Error fetching response for prompt: {e}.")+ # TODO: Publish this error as a FE update+ raise APIError(str(e)) from e++ @staticmethod+ def extract_table(+ output: dict[str, Any],+ structured_output: dict[str, Any],+ llm: LLM,+ enforce_type: str,+ execution_source: str,+ ) -> dict[str, Any]:+ table_settings = output[PSKeys.TABLE_SETTINGS]+ table_extractor: dict[str, Any] = PluginManager().get_plugin("table-extractor")+ if not table_extractor:+ raise APIError(+ "Unable to extract table details. "+ "Please contact admin to resolve this issue."+ )+ fs_instance: FileStorage = FileStorage(FileStorageProvider.LOCAL)+ if execution_source == ExecutionSource.IDE.value:+ fs_instance = EnvHelper.get_storage(+ storage_type=StorageType.PERMANENT,+ env_name=FileStorageKeys.PERMANENT_REMOTE_STORAGE,+ )+ if execution_source == ExecutionSource.TOOL.value:+ fs_instance = EnvHelper.get_storage(+ storage_type=StorageType.SHARED_TEMPORARY,+ env_name=FileStorageKeys.TEMPORARY_REMOTE_STORAGE,+ )+ try:+ answer = table_extractor["entrypoint_cls"].extract_large_table(+ llm=llm,+ table_settings=table_settings,+ enforce_type=enforce_type,+ fs_instance=fs_instance,+ )+ structured_output[output[PSKeys.NAME]] = answer+ # We do not support summary and eval for table.+ # Hence returning the result+ return structured_output+ except table_extractor["exception_cls"] as e:+ msg = f"Couldn't extract table. {e}"+ raise APIError(message=msg)++ @staticmethod+ def extract_line_item(+ tool_settings: dict[str, Any],+ output: dict[str, Any],+ structured_output: dict[str, Any],+ llm: LLM,+ file_path: str,+ metadata: Optional[dict[str, str]],+ execution_source: str,+ ) -> dict[str, Any]:+ line_item_extraction_plugin: dict[str, Any] = PluginManager().get_plugin(+ "line-item-extraction"+ )+ if not line_item_extraction_plugin:+ raise APIError(PSKeys.PAID_FEATURE_MSG)++ extract_file_path = file_path+ if execution_source == ExecutionSource.IDE.value:+ # Adjust file path to read from the extract folder+ base_name = os.path.splitext(os.path.basename(file_path))[0]+ extract_file_path = os.path.join(+ os.path.dirname(file_path), "extract", f"{base_name}.txt"+ )++ # Read file content into context+ fs_instance: FileStorage = FileStorage(FileStorageProvider.LOCAL)+ if execution_source == ExecutionSource.IDE.value:+ fs_instance = EnvHelper.get_storage(+ storage_type=StorageType.PERMANENT,+ env_name=FileStorageKeys.PERMANENT_REMOTE_STORAGE,+ )+ if execution_source == ExecutionSource.TOOL.value:+ fs_instance = EnvHelper.get_storage(+ storage_type=StorageType.SHARED_TEMPORARY,+ env_name=FileStorageKeys.TEMPORARY_REMOTE_STORAGE,+ )++ if not fs_instance.exists(extract_file_path):+ raise FileNotFoundError(+ f"The file at path '{extract_file_path}' does not exist."+ )+ context = fs_instance.read(path=extract_file_path, encoding="utf-8", mode="r")++ prompt = AnswerPromptService.construct_prompt(+ preamble=tool_settings.get(PSKeys.PREAMBLE, ""),+ prompt=output["promptx"],+ postamble=tool_settings.get(PSKeys.POSTAMBLE, ""),+ grammar_list=tool_settings.get(PSKeys.GRAMMAR, []),+ context=context,+ platform_postamble="",+ )++ try:+ line_item_extraction = line_item_extraction_plugin["entrypoint_cls"](+ llm=llm,+ tool_settings=tool_settings,+ output=output,+ prompt=prompt,+ structured_output=structured_output,+ )+ answer = line_item_extraction.run()+ structured_output[output[PSKeys.NAME]] = answer+ metadata[PSKeys.CONTEXT][output[PSKeys.NAME]] = [context]+ return structured_output+ except line_item_extraction_plugin["exception_cls"] as e:+ msg = f"Couldn't extract table. {e}"+ raise APIError(message=msg)diff --git a/prompt-service/src/unstract/prompt_service_v2/services/extraction.py b/prompt-service/src/unstract/prompt_service_v2/services/extraction.pynew file mode 100644index 000000000..b43894bb6--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/services/extraction.py@@ -0,0 +1,99 @@+from typing import Any, Optional++from unstract.prompt_service_v2.constants import ExecutionSource+from unstract.prompt_service_v2.constants import IndexingConstants as IKeys+from unstract.prompt_service_v2.helpers.prompt_ide_base_tool import (+ PromptServiceBaseTool,+)+from unstract.sdk.adapters.exceptions import AdapterError+from unstract.sdk.adapters.x2text.constants import X2TextConstants+from unstract.sdk.adapters.x2text.llm_whisperer.src import LLMWhisperer+from unstract.sdk.adapters.x2text.llm_whisperer_v2.src import LLMWhispererV2+from unstract.sdk.exceptions import X2TextError+from unstract.sdk.file_storage import FileStorage, FileStorageProvider+from unstract.sdk.utils import ToolUtils+from unstract.sdk.utils.common_utils import log_elapsed+from unstract.sdk.x2txt import TextExtractionResult, X2Text+++class ExtractionService:++ @staticmethod+ @log_elapsed(operation="EXTRACTION")+ def perform_extraction(+ x2text_instance_id: str,+ file_path: str,+ run_id: str,+ platform_key: str,+ output_file_path: Optional[str] = None,+ enable_highlight: bool = False,+ usage_kwargs: dict[Any, Any] = {},+ fs: FileStorage = FileStorage(FileStorageProvider.LOCAL),+ tags: Optional[list[str]] = None,+ execution_source: Optional[str] = None,+ tool_exec_metadata: Optional[dict[str, Any]] = None,+ execution_run_data_folder: Optional[str] = None,+ ) -> str:++ extracted_text = ""+ util = PromptServiceBaseTool(platform_key=platform_key)+ x2text = X2Text(+ tool=util, adapter_instance_id=x2text_instance_id, usage_kwargs=usage_kwargs+ )+ try:+ if enable_highlight and (+ isinstance(x2text.x2text_instance, LLMWhisperer)+ or isinstance(x2text.x2text_instance, LLMWhispererV2)+ ):+ process_response: TextExtractionResult = x2text.process(+ input_file_path=file_path,+ output_file_path=output_file_path,+ enable_highlight=enable_highlight,+ tags=tags,+ fs=fs,+ )+ ExtractionService.update_exec_metadata(+ fs,+ execution_source,+ tool_exec_metadata,+ execution_run_data_folder,+ process_response,+ )+ else:+ process_response: TextExtractionResult = x2text.process(+ input_file_path=file_path,+ output_file_path=output_file_path,+ tags=tags,+ fs=fs,+ )+ extracted_text = process_response.extracted_text+ return extracted_text+ except AdapterError as e:+ msg = f"Error from text extractor '{x2text.x2text_instance.get_name()}'. "+ msg += str(e)+ raise X2TextError(msg) from e++ @staticmethod+ def update_exec_metadata(+ fs,+ execution_source,+ tool_exec_metadata,+ execution_run_data_folder,+ process_response,+ ):+ if execution_source == ExecutionSource.TOOL.value:+ whisper_hash_value = process_response.extraction_metadata.whisper_hash+ metadata = {X2TextConstants.WHISPER_HASH: whisper_hash_value}+ for key, value in metadata.items():+ tool_exec_metadata[key] = value+ metadata_path = execution_run_data_folder / IKeys.METADATA_FILE+ ToolUtils.dump_json(+ file_to_dump=metadata_path,+ json_to_dump=metadata,+ fs=fs,+ )++ # TODO : Handle runId+ # TODO: Revisit passage of tool through SDK+ # TODO : Revisit usgae of update_exec_metadata+ # TODO : Process Text callablediff --git a/prompt-service/src/unstract/prompt_service_v2/services/indexing.py b/prompt-service/src/unstract/prompt_service_v2/services/indexing.pynew file mode 100644index 000000000..09361887b--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/services/indexing.py@@ -0,0 +1,88 @@+import logging++from unstract.prompt_service_v2.core.index_v2 import Index+from unstract.prompt_service_v2.dto import (+ ChunkingConfig,+ FileInfo,+ InstanceIdentifiers,+ ProcessingOptions,+)+from unstract.prompt_service_v2.exceptions import APIError+from unstract.prompt_service_v2.helpers.prompt_ide_base_tool import (+ PromptServiceBaseTool,+)+from unstract.prompt_service_v2.utils.file_utils import FileUtils+from unstract.sdk.embedding import Embedding+from unstract.sdk.utils.indexing_utils import IndexingUtils+from unstract.sdk.vector_db import VectorDB++logger = logging.getLogger(__name__)+++class IndexingService:++ @staticmethod+ def index(+ execution_source: str,+ chunking_config: ChunkingConfig,+ file_info: FileInfo,+ instance_identifiers: InstanceIdentifiers,+ processing_options: ProcessingOptions,+ platform_key: str,+ run_id: str,+ extracted_text: str,+ ) -> str:+ try:+ fs_instance = FileUtils.get_fs_instance(execution_source=execution_source)+ util = PromptServiceBaseTool(platform_key=platform_key)+ index: Index = Index(+ tool=util,+ run_id=run_id,+ capture_metrics=True,+ instance_identifiers=instance_identifiers,+ chunking_config=chunking_config,+ processing_options=processing_options,+ )+ doc_id: str = IndexingUtils.generate_index_key(+ vector_db=instance_identifiers.vector_db_instance_id,+ embedding=instance_identifiers.embedding_instance_id,+ file_path=file_info.file_path,+ file_hash=file_info.file_hash,+ x2text=instance_identifiers.x2text_instance_id,+ chunk_size=str(chunking_config.chunk_size),+ chunk_overlap=str(chunking_config.chunk_overlap),+ tool=util,+ fs=fs_instance,+ )+ embedding = Embedding(+ tool=util,+ adapter_instance_id=instance_identifiers.embedding_instance_id,+ usage_kwargs=processing_options.usage_kwargs,+ )++ vector_db = VectorDB(+ tool=util,+ adapter_instance_id=instance_identifiers.vector_db_instance_id,+ embedding=embedding,+ )++ doc_id_found = index.is_document_indexed(+ doc_id=doc_id,+ embedding=embedding,+ vector_db=vector_db,+ )+ if doc_id_found:+ return doc_id++ # Index and return doc_id+ index.perform_indexing(+ vector_db=vector_db,+ doc_id=doc_id,+ extracted_text=extracted_text,+ )+ return doc_id+ except Exception as e:+ raise APIError(f"Error while indexing : {str(e)}") from e+ finally:+ if "vector_db" in locals():+ vector_db.close()diff --git a/prompt-service/src/unstract/prompt_service_v2/services/retrieval.py b/prompt-service/src/unstract/prompt_service_v2/services/retrieval.pynew file mode 100644index 000000000..dbcb19e03--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/services/retrieval.py@@ -0,0 +1,219 @@+import time+from typing import Any, Optional++from flask import current_app as app+from llama_index.core.vector_stores import ExactMatchFilter, MetadataFilters+from unstract.prompt_service.exceptions import APIError+from unstract.prompt_service_v2.constants import PromptServiceConstants as PSKeys+from unstract.prompt_service_v2.constants import RunLevel+from unstract.prompt_service_v2.services.answer_prompt import AnswerPromptService+from unstract.prompt_service_v2.utils.log import publish_log+from unstract.sdk.constants import LogLevel+from unstract.sdk.exceptions import SdkError+from unstract.sdk.index import Index+from unstract.sdk.llm import LLM+++class RetrievalService:++ @staticmethod+ def run_retrieval( # type:ignore+ tool_settings: dict[str, Any],+ output: dict[str, Any],+ doc_id: str,+ llm: LLM,+ vector_index,+ retrieval_type: str,+ metadata: dict[str, Any],+ execution_source: Optional[str] = None,+ ) -> tuple[str, set[str]]:+ context: set[str] = set()+ prompt = output[PSKeys.PROMPTX]+ if retrieval_type == PSKeys.SUBQUESTION:+ subq_prompt: str = (+ f"I am sending you a verbose prompt \n \n Prompt : {prompt} \n \n"+ "Generate set of specific subquestions "+ "from the prompt which can be used to retrive "+ "relevant context from vector db. "+ "Use your logical abilities to "+ " only generate as many subquestions as necessary "+ " — fewer subquestions if the prompt is simpler. "+ "Decide the minimum limit for subquestions "+ "based on the complexity input prompt and set the maximum limit"+ "for the subquestions to 10."+ "Ensure that each subquestion is distinct and relevant"+ "to the the original query. "+ "Do not add subquestions for details"+ "not mentioned in the original prompt."+ " The goal is to maximize retrieval accuracy"+ " using these subquestions. Use your logical abilities to ensure "+ " that each subquestion targets a distinct aspect of the original"+ " query. Please note that, there are cases where the "+ "response might have a list of answers. The subquestions must not"+ " miss out any values in these cases. "+ "Output should be a list of comma seperated "+ "subquestion prompts. Do not change this format. \n \n "+ " Subquestions : "+ )+ subquestions = AnswerPromptService.run_completion(+ llm=llm,+ prompt=subq_prompt,+ )+ subquestion_list = subquestions.split(",")+ for each_subq in subquestion_list:+ retrieved_context = RetrievalService._retrieve_context(+ output, doc_id, vector_index, each_subq+ )+ context.update(retrieved_context)++ if retrieval_type == PSKeys.SIMPLE:++ context = RetrievalService._retrieve_context(+ output, doc_id, vector_index, prompt+ )++ if not context:+ # UN-1288 For Pinecone, we are seeing an inconsistent case where+ # query with doc_id fails even though indexing just happened.+ # This causes the following retrieve to return no text.+ # To rule out any lag on the Pinecone vector DB write,+ # the following sleep is added+ # Note: This will not fix the issue. Since this issue is inconsistent+ # and not reproducible easily, this is just a safety net.+ time.sleep(2)+ context = RetrievalService._retrieve_context(+ output, doc_id, vector_index, prompt+ )++ answer = AnswerPromptService.construct_and_run_prompt( # type:ignore+ tool_settings=tool_settings,+ output=output,+ llm=llm,+ context="\n".join(context),+ prompt="promptx",+ metadata=metadata,+ execution_source=execution_source,+ )++ return (answer, context)++ @staticmethod+ def _retrieve_context(output, doc_id, vector_index, answer) -> set[str]:+ retriever = vector_index.as_retriever(+ similarity_top_k=output[PSKeys.SIMILARITY_TOP_K],+ filters=MetadataFilters(+ filters=[+ ExactMatchFilter(key="doc_id", value=doc_id),+ # TODO: Enable after adding section in GUI+ # ExactMatchFilter(+ # key="section", value=output["section"]+ ],+ ),+ )+ nodes = retriever.retrieve(answer)+ context: set[str] = set()+ for node in nodes:+ # ToDo: May have to fine-tune this value for node score or keep it+ # configurable at the adapter level+ if node.score > 0:+ context.add(node.get_content())+ else:+ app.logger.info(+ "Node score is less than 0. "+ f"Ignored: {node.node_id} with score {node.score}"+ )+ return context++ @staticmethod+ def fetch_context_from_vector_db(+ index: Index,+ output: dict[str, Any],+ doc_id: str,+ tool_id: str,+ doc_name: str,+ prompt_name: str,+ log_events_id: str,+ usage_kwargs: dict[str, Any],+ ) -> set[str]:+ """+ Fetches context from the index for the given document ID. Implements a retry+ mechanism with logging and raises an error if context retrieval fails.+ Args:+ index: The index object to query.+ output: Dictionary containing keys like embedding and vector DB instance ID.+ doc_id: The document ID to query.+ tool_id: Identifier for the tool in use.+ doc_name: Name of the document being queried.+ prompt_name: Name of the prompt being executed.+ log_events_id: Unique ID for logging events.+ usage_kwargs: Additional usage parameters.+ Raises:+ APIError: If context retrieval fails after retrying.+ """+ context: set[str] = set()+ try:+ retrieved_context = index.query_index(+ embedding_instance_id=output[PSKeys.EMBEDDING],+ vector_db_instance_id=output[PSKeys.VECTOR_DB],+ doc_id=doc_id,+ usage_kwargs=usage_kwargs,+ )++ if retrieved_context:+ context.add(retrieved_context)+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.DEBUG,+ RunLevel.RUN,+ "Fetched context from vector DB",+ )+ else:+ # Handle lag in vector DB write (e.g., Pinecone issue)+ time.sleep(2)+ retrieved_context = index.query_index(+ embedding_instance_id=output[PSKeys.EMBEDDING],+ vector_db_instance_id=output[PSKeys.VECTOR_DB],+ doc_id=doc_id,+ usage_kwargs=usage_kwargs,+ )++ if retrieved_context is None:+ msg = PSKeys.NO_CONTEXT_ERROR+ app.logger.error(+ f"{msg} {output[PSKeys.VECTOR_DB]} for doc_id {doc_id}"+ )+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.ERROR,+ RunLevel.RUN,+ msg,+ )+ raise APIError(message=msg)+ except SdkError as e:+ msg = f"Unable to fetch context from vector DB. {str(e)}"+ app.logger.error(+ f"{msg}. VectorDB: {output[PSKeys.VECTOR_DB]}, doc_id: {doc_id}"+ )+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.ERROR,+ RunLevel.RUN,+ msg,+ )+ raise APIError(message=msg, code=e.status_code)+ return contextdiff --git a/prompt-service/src/unstract/prompt_service_v2/services/retrieval_v2.py b/prompt-service/src/unstract/prompt_service_v2/services/retrieval_v2.pynew file mode 100644index 000000000..63211573e--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/services/retrieval_v2.py@@ -0,0 +1,92 @@+from typing import Any, Optional++from unstract.prompt_service_v2.constants import PromptServiceConstants as PSKeys+from unstract.prompt_service_v2.core.retrievers.simple import SimpleRetriever+from unstract.prompt_service_v2.core.retrievers.subquestion import SubquestionRetriever+from unstract.prompt_service_v2.services.answer_prompt import AnswerPromptService+from unstract.prompt_service_v2.utils.file_utils import FileUtils+from unstract.sdk.llm import LLM+from unstract.sdk.vector_db import VectorDB+++class RetrievalService:+ @staticmethod+ def perform_retrieval( # type:ignore+ tool_settings: dict[str, Any],+ output: dict[str, Any],+ doc_id: str,+ llm: LLM,+ vector_db: VectorDB,+ retrieval_type: str,+ metadata: dict[str, Any],+ chunk_size: int,+ execution_source: str,+ file_path: str,+ ) -> set[str]:+ context: set[str] = set()++ if chunk_size == 0:+ context = RetrievalService.retrieve_complete_context(+ execution_source=execution_source, file_path=file_path+ )+ else:+ context = RetrievalService.run_retrieval(+ tool_settings=tool_settings,+ output=output,+ doc_id=doc_id,+ llm=llm,+ vector_db=vector_db,+ retrieval_type=retrieval_type,+ metadata=metadata,+ execution_source=execution_source,+ )++ return context++ @staticmethod+ def run_retrieval( # type:ignore+ tool_settings: dict[str, Any],+ output: dict[str, Any],+ doc_id: str,+ llm: LLM,+ vector_db: VectorDB,+ retrieval_type: str,+ metadata: dict[str, Any],+ execution_source: Optional[str] = None,+ ) -> tuple[str, set[str]]:+ context: set[str] = set()+ prompt = output[PSKeys.PROMPTX]+ top_k = output[PSKeys.SIMILARITY_TOP_K]+ if retrieval_type == PSKeys.SUBQUESTION:+ context = SubquestionRetriever(+ vector_db=vector_db, doc_id=doc_id, prompt=prompt, top_k=top_k+ ).retrieve()+ if retrieval_type == PSKeys.SIMPLE:+ context = SimpleRetriever(+ vector_db=vector_db, doc_id=doc_id, prompt=prompt, top_k=top_k+ ).retrieve()++ answer = AnswerPromptService.construct_and_run_prompt( # type:ignore+ tool_settings=tool_settings,+ output=output,+ llm=llm,+ context="\n".join(context),+ prompt="promptx",+ metadata=metadata,+ execution_source=execution_source,+ )++ return (answer, context)++ @staticmethod+ def retrieve_complete_context(execution_source: str, file_path: str) -> str:+ """+ Loads full context from raw file for zero chunk size retrieval+ Args:+ path (str): Path to the directory containing text file.++ Returns:+ str: context from extracted file.+ """+ fs_instance = FileUtils.get_fs_instance(execution_source=execution_source)+ return fs_instance.read(path=file_path, mode="r")diff --git a/prompt-service/src/unstract/prompt_service_v2/services/variable_replacement.py b/prompt-service/src/unstract/prompt_service_v2/services/variable_replacement.pynew file mode 100644index 000000000..3492a418a--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/services/variable_replacement.py@@ -0,0 +1,118 @@+from typing import Any++from flask import current_app as app+from unstract.prompt_service.utils.log import publish_log+from unstract.prompt_service_v2.constants import PromptServiceConstants as PSKeys+from unstract.prompt_service_v2.constants import RunLevel, VariableType+from unstract.prompt_service_v2.helpers.variable_replacement import (+ VariableReplacementHelper,+)+from unstract.sdk.constants import LogLevel+++class VariableReplacementService:++ @staticmethod+ def is_variables_present(prompt_text: str) -> bool:+ """Determines if variables are present in the prompt.++ Args:+ prompt (str): Prompt to check++ Returns:+ bool: True if variables are present else False+ """+ return bool(+ len(VariableReplacementHelper.extract_variables_from_prompt(prompt_text))+ )++ @staticmethod+ def replace_variables_in_prompt(+ prompt: dict[str, Any],+ structured_output: dict[str, Any],+ log_events_id: str,+ tool_id: str,+ prompt_name: str,+ doc_name: str,+ ) -> str:+ """Replaces variables in prompt.++ Args:+ prompt (dict[str, Any]): Dict representing the prompt card+ structured_output (dict[str, Any]): Structured data used for variable+ replacement when variable map is not present in `prompt`.+ log_events_id (str): UUID for the WS communication+ tool_id (str): UUID for the prompt studio project+ prompt_name (str): Name of the prompt being run+ doc_name (str): Name of the document being run with+ Returns:+ prompt_text (str): Prompt with variables replaced+ """+ app.logger.info(f"[{tool_id}] Replacing variables in prompt : {prompt_name}")+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.DEBUG,+ RunLevel.RUN,+ "Replacing variables in prompt",+ )+ # Initialized with the prompt because+ # it is used in finally block+ prompt_text = prompt[PSKeys.PROMPT]+ try:+ variable_map = prompt[PSKeys.VARIABLE_MAP]+ prompt_text = VariableReplacementService._execute_variable_replacement(+ prompt_text=prompt[PSKeys.PROMPT], variable_map=variable_map+ )+ except KeyError:+ # Executed incase of structured tool and+ # APIs where we do not set the variable map+ prompt_text = VariableReplacementService._execute_variable_replacement(+ prompt_text=prompt_text, variable_map=structured_output+ )+ finally:+ app.logger.info(+ f"[{tool_id}] Prompt after variable replacement: {prompt_text}"+ )+ publish_log(+ log_events_id,+ {+ "tool_id": tool_id,+ "prompt_key": prompt_name,+ "doc_name": doc_name,+ },+ LogLevel.DEBUG,+ RunLevel.RUN,+ f"Prompt after variable replacement:{prompt_text} ",+ )+ return prompt_text++ @staticmethod+ def _execute_variable_replacement(+ prompt_text: str, variable_map: dict[str, Any]+ ) -> str:+ variables: list[str] = VariableReplacementHelper.extract_variables_from_prompt(+ prompt_text=prompt_text+ )+ for variable in variables:+ variable_type = VariableReplacementHelper.identify_variable_type(+ variable=variable+ )+ if variable_type == VariableType.STATIC:+ prompt_text = VariableReplacementHelper.replace_static_variable(+ prompt=prompt_text,+ structured_output=variable_map,+ variable=variable,+ )++ if variable_type == VariableType.DYNAMIC:+ prompt_text = VariableReplacementHelper.replace_dynamic_variable(+ prompt=prompt_text,+ variable=variable,+ structured_output=variable_map,+ )+ return prompt_textdiff --git a/prompt-service/src/unstract/prompt_service_v2/tests/conftest.py b/prompt-service/src/unstract/prompt_service_v2/tests/conftest.pynew file mode 100644index 000000000..e13f7f486--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/tests/conftest.py@@ -0,0 +1,30 @@+import pytest+from dotenv import load_dotenv+from flask import Flask+from flask_wtf.csrf import CSRFProtect+from unstract.prompt_service_v2.controllers.extraction import extraction_bp+from unstract.prompt_service_v2.controllers.indexing import indexing_bp++# Load test environment variables+load_dotenv(".env.test")+++def client():+ app = Flask(__name__)++ app.register_blueprint(indexing_bp)+ app.register_blueprint(extraction_bp)+ app.config.update(+ {+ "TESTING": True,+ "DEBUG": True,+ "PROPAGATE_EXCEPTIONS": True,+ "WTF_CSRF_ENABLED": False,+ }+ )+ csrf = CSRFProtect()+ csrf.init_app(app) # Compliant+ with app.test_client() as client:+ yield client+ # TODO Add teardown code herediff --git a/prompt-service/src/unstract/prompt_service_v2/tests/integration/input/sample1.pdf b/prompt-service/src/unstract/prompt_service_v2/tests/integration/input/sample1.pdfnew file mode 100644index 000000000..960486fddBinary files /dev/null and b/prompt-service/src/unstract/prompt_service_v2/tests/integration/input/sample1.pdf differdiff --git a/prompt-service/src/unstract/prompt_service_v2/tests/integration/test_api_endpoints.py b/prompt-service/src/unstract/prompt_service_v2/tests/integration/test_api_endpoints.pynew file mode 100644index 000000000..ed4b16d66--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/tests/integration/test_api_endpoints.py@@ -0,0 +1,84 @@+import json+import os++from dotenv import load_dotenv+from flask.testing import FlaskClient+from unstract.prompt_service_v2.helpers.auth import AuthHelper++load_dotenv(".env.test")+++def test_index(client: FlaskClient, mocker):+ # Mock the AuthHelper to bypass authentication+ mocker.patch.object(AuthHelper, "auth_required", lambda x: x)+ mocker.patch.object(+ AuthHelper,+ "get_token_from_auth_header",+ return_value=os.getenv("TEST_PLATFORM_KEY"),+ )++ # Define the payload+ payload = {+ "tool_id": "mock_tool_id",+ "embedding_instance_id": os.getenv("TEST_EMBEDDING_ID"),+ "vector_db_instance_id": os.getenv("TEST_VECTOR_DB_ID"),+ "x2text_instance_id": os.getenv("TEST_X2TEXT_ID"),+ "chunk_size": os.getenv("TEST_CHUNK_SIZE"),+ "chunk_overlap": os.getenv("TEST_CHUNK_OVERLAP"),+ "execution_source": "ide",+ "run_id": os.getenv("TEST_RUN_ID"),+ "extracted_text": os.getenv("TEST_EXTRACTED_TEXT"),+ "usage_kwargs": {},+ "tags": os.getenv("TEST_TAGS"),+ "reindex": False,+ "enable_highlight": False,+ }++ # Send a POST request to the index endpoint+ try:+ response = client.post(+ "/index", data=json.dumps(payload), content_type="application/json"+ )++ except Exception as e:+ import traceback++ traceback.print_exc()+ assert False, f"Test failed due to: {e}"+ # Assert the response+ print(response.data.decode()) # Full response content+ assert response.status_code == 200+ response_data = json.loads(response.data)+ assert "doc_id" in response_data+++def test_extract(client: FlaskClient, mocker):+ # Mock the AuthHelper to bypass authentication+ mocker.patch.object(AuthHelper, "auth_required", lambda x: x)+ mocker.patch.object(+ AuthHelper,+ "get_token_from_auth_header",+ return_value=os.getenv("TEST_PLATFORM_KEY"),+ )++ # Define the payload+ payload = {+ "x2text_instance_id": os.getenv("X2TEXT_INSTANCE_ID"),+ "file_path": os.getenv("TEST_SOURCE_FILE_PATH"),+ "execution_source": "ide",+ "run_id": "mock_run_id",+ "tags": "mock_tag",+ "output_file_path": os.getenv("TEST_OUTPUT_FILE_PATH"),+ "enable_highlight": False,+ "usage_kwargs": {},+ }++ # Send a POST request to the extract endpoint+ response = client.post(+ "/extract", data=json.dumps(payload), content_type="application/json"+ )++ # Assert the response+ assert response.status_code == 200+ response_data = json.loads(response.data)+ assert "extracted_text" in response_datadiff --git a/prompt-service/src/unstract/prompt_service_v2/tests/sample.env.test b/prompt-service/src/unstract/prompt_service_v2/tests/sample.env.testnew file mode 100644index 000000000..0fd829f42--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/tests/sample.env.test@@ -0,0 +1,24 @@+TEST_PLATFORM_KEY=<TEST_PLATFORM_KEY>+TEST_EMBEDDING_ID=d<TEST_EMBEDDING_ID>+TEST_VECTOR_DB_ID=<TEST_VECTOR_DB_ID>+TEST_X2TEXT_ID=<TEST_X2TEXT_ID>+TEST_TOOL_ID=mock_tool_id+TEST_FILE_PATH=unstract/prompt-studio-data/sample1.pdf+TEST_CHUNK_SIZE=512+TEST_CHUNK_OVERLAP=128+TEST_EXECUTION_SOURCE=ide+TEST_RUN_ID=mock_run_id+TEST_EXTRACTED_TEXT=mock_extracted_text+TEST_TAGS=mock_tag1,mock_tag2+TEST_SOURCE_FILE_PATH=/unstract/prompt-service/src/unstract/prompt_service_v2/tests/integration/input/sample1.pdf+TEST_OUTPUT_FILE_PATH=/unstract/prompt-service/src/unstract/prompt_service_v2/tests/integration/output/output.txt++# Platform Service+# Platform service is expected to be up and running for this integration test to run+PLATFORM_SERVICE_HOST=http://127.0.0.1/+PLATFORM_SERVICE_PORT=3001++#Remote storage related envs+PERMANENT_REMOTE_STORAGE='{"provider": "minio", "credentials": {"endpoint_url": "http://localhost:9000", "key": "minio", "secret": "minio123"}}'+TEMPORARY_REMOTE_STORAGE='{"provider": "minio", "credentials": {"endpoint_url": "http://unstract-minio:9000", "key": "minio", "secret": "minio123"}}'+REMOTE_PROMPT_STUDIO_FILE_PATH="unstract/prompt-studio-data/"diff --git a/prompt-service/src/unstract/prompt_service_v2/utils/__init__.py b/prompt-service/src/unstract/prompt_service_v2/utils/__init__.pynew file mode 100644index 000000000..e69de29bbdiff --git a/prompt-service/src/unstract/prompt_service_v2/utils/db_utils.py b/prompt-service/src/unstract/prompt_service_v2/utils/db_utils.pynew file mode 100644index 000000000..f1c47e8c3--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/utils/db_utils.py@@ -0,0 +1,46 @@+from typing import Any, Optional++from unstract.prompt_service_v2.constants import DBTableV2+from unstract.prompt_service_v2.extensions import db+from unstract.prompt_service_v2.utils.env_loader import get_env_or_die++DB_SCHEMA = get_env_or_die("DB_SCHEMA", "unstract")+++class DBUtils:++ @classmethod+ def get_organization_from_bearer_token(+ cls, token: str+ ) -> tuple[Optional[int], str]:+ """Retrieve organization ID and identifier using a bearer token.++ Args:+ token (str): The bearer token (platform key).++ Returns:+ tuple[int, str]: organization uid and organization identifier+ """+ platform_key_table = f'"{DB_SCHEMA}".{DBTableV2.PLATFORM_KEY}'+ organization_table = f'"{DB_SCHEMA}".{DBTableV2.ORGANIZATION}'++ organization_uid: Optional[int] = cls.execute_query(+ f"SELECT organization_id FROM {platform_key_table} WHERE key=%s", (token,)+ )+ if organization_uid is None:+ return None, None++ organization_identifier: Optional[str] = cls.execute_query(+ f"SELECT organization_id FROM {organization_table} WHERE id=%s",+ (organization_uid,),+ )+ return organization_uid, organization_identifier++ @classmethod+ def execute_query(cls, query: str, params: tuple = ()) -> Any:+ cursor = db.execute_sql(query, params)+ result_row = cursor.fetchone()+ cursor.close()+ if not result_row or len(result_row) == 0:+ return None+ return result_row[0]diff --git a/prompt-service/src/unstract/prompt_service_v2/utils/env_loader.py b/prompt-service/src/unstract/prompt_service_v2/utils/env_loader.pynew file mode 100644index 000000000..05de28b11--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/utils/env_loader.py@@ -0,0 +1,22 @@+import os+from typing import Optional+++def get_env_or_die(env_key: str, default: Optional[str] = None) -> str:+ """+ Get the value of an environment variable or raise an error if it is not set.++ Args:+ env_key (str): Name of the environment variable.+ default (Optional[str]): Default value if the variable is not set.++ Returns:+ str: The value of the environment variable.++ Raises:+ ValueError: If the variable is not set.+ """+ env_value = os.environ.get(env_key, default=default)+ if env_value is None:+ raise ValueError(f"Env variable {env_key} is required")+ return env_valuediff --git a/prompt-service/src/unstract/prompt_service_v2/utils/file_utils.py b/prompt-service/src/unstract/prompt_service_v2/utils/file_utils.pynew file mode 100644index 000000000..ce73926f5--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/utils/file_utils.py@@ -0,0 +1,34 @@+from unstract.prompt_service_v2.constants import ExecutionSource, FileStorageKeys+from unstract.sdk.file_storage import FileStorage+from unstract.sdk.file_storage.constants import StorageType+from unstract.sdk.file_storage.env_helper import EnvHelper+++class FileUtils:+ @staticmethod+ def get_fs_instance(execution_source: str) -> FileStorage:+ """+ Returns a FileStorage instance based on the execution source.++ Args:+ execution_source (str): The source from which the execution is triggered.++ Returns:+ FileStorage: The file storage instance - Permanent/Shared temporary++ Raises:+ ValueError: If the execution source is invalid.+ """+ if execution_source == ExecutionSource.IDE.value:+ return EnvHelper.get_storage(+ storage_type=StorageType.PERMANENT,+ env_name=FileStorageKeys.PERMANENT_REMOTE_STORAGE,+ )++ if execution_source == ExecutionSource.TOOL.value:+ return EnvHelper.get_storage(+ storage_type=StorageType.SHARED_TEMPORARY,+ env_name=FileStorageKeys.TEMPORARY_REMOTE_STORAGE,+ )++ raise ValueError(f"Invalid execution source: {execution_source}")diff --git a/prompt-service/src/unstract/prompt_service_v2/utils/log.py b/prompt-service/src/unstract/prompt_service_v2/utils/log.pynew file mode 100644index 000000000..cb19ef53c--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/utils/log.py@@ -0,0 +1,27 @@+from unstract.prompt_service_v2.constants import RunLevel+from unstract.sdk.constants import LogLevel++from unstract.core.pubsub_helper import LogPublisher+++def publish_log(+ log_events_id: str,+ component: dict[str, str],+ level: LogLevel,+ state: RunLevel,+ message: str,+) -> None:+ """Publishes a log to the web socket.++ Args:+ log_events_id (str): UUID for the connection+ component (dict[str, str]): Dict of tool_id, doc_name and prompt_name to+ log context+ level (LogLevel): Log level, one of INFO, WARNING, DEBUG, ERROR+ state (RunLevel): Run level, one of EVAL, RUN, CHALLENGE, TABLE_EXTRACTION+ message (str): Message to log+ """+ LogPublisher.publish(+ log_events_id,+ LogPublisher.log_prompt(component, level.value, state.value, message),+ )diff --git a/prompt-service/src/unstract/prompt_service_v2/utils/request.py b/prompt-service/src/unstract/prompt_service_v2/utils/request.pynew file mode 100644index 000000000..3de8b4846--- /dev/null+++ b/prompt-service/src/unstract/prompt_service_v2/utils/request.py@@ -0,0 +1,62 @@+from enum import Enum+from typing import Any, Optional++import requests as pyrequests+from flask import current_app as app+from requests.exceptions import RequestException+from unstract.prompt_service_v2.exceptions import (+ APIError,+ BadRequest,+ MissingFieldError,+)+++class HTTPMethod(str, Enum):+ GET = "GET"+ POST = "POST"+ DELETE = "DELETE"+ PUT = "PUT"+ PATCH = "PATCH"+++def make_http_request(+ verb: HTTPMethod,+ url: str,+ data: Optional[dict[str, Any]] = None,+ headers: Optional[dict[str, Any]] = None,+ params: Optional[dict[str, Any]] = None,+) -> str:+ """Generic helper function to help make a HTTP request."""+ try:+ if verb == HTTPMethod.GET:+ response = pyrequests.get(url, params=params, headers=headers)+ elif verb == HTTPMethod.POST:+ response = pyrequests.post(url, json=data, params=params, headers=headers)+ elif verb == HTTPMethod.DELETE:+ response = pyrequests.delete(url, params=params, headers=headers)+ else:+ raise ValueError("Invalid HTTP verb. Supported verbs: GET, POST, DELETE")++ response.raise_for_status()+ return_val: str = (+ response.json()+ if response.headers.get("content-type") == "application/json"+ else response.text+ )+ return return_val+ except RequestException as e:+ app.logger.error(f"HTTP request error: {e}")+ raise APIError(f"Error occured while invoking POST API Variable : {str(e)}")+ except Exception as e:+ app.logger.error(f"An unexpected error occurred: {e}")+ raise e+++def validate_request_payload(payload, REQUIRED_FIELDS):+ if not payload:+ raise BadRequest()++ # Validate required fields+ missing_fields = [field for field in REQUIRED_FIELDS if field not in payload]+ if missing_fields:+ raise MissingFieldError(missing_fields)diff --git a/unstract/connectors/src/unstract/connectors/queues/.gitignore b/unstract/connectors/src/unstract/connectors/queues/.gitignorenew file mode 100644index 000000000..7800f0fad--- /dev/null+++ b/unstract/connectors/src/unstract/connectors/queues/.gitignore@@ -0,0 +1 @@+redis