LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
feat: Bumped SDK to 0.46.0 in services and tools (#632)
Chandrasekharan M5d120b13e96c
diff --git a/backend/adapter_processor/adapter_processor.py b/backend/adapter_processor/adapter_processor.pyindex cc4da9a9a..4b3407157 100644--- a/backend/adapter_processor/adapter_processor.py+++ b/backend/adapter_processor/adapter_processor.py@@ -15,8 +15,8 @@ from platform_settings.platform_auth_service import PlatformAuthenticationServicfrom unstract.sdk.adapters.adapterkit import Adapterkitfrom unstract.sdk.adapters.base import Adapterfrom unstract.sdk.adapters.enums import AdapterTypes-from unstract.sdk.adapters.exceptions import AdapterErrorfrom unstract.sdk.adapters.x2text.constants import X2TextConstants+from unstract.sdk.exceptions import SdkErrorfrom .models import AdapterInstance, UserDefaultAdapter@@ -93,7 +93,7 @@ class AdapterProcessor:test_result: bool = adapter_instance.test_connection()logger.info(f"{adapter_id} test result: {test_result}")return test_result- except AdapterError as e:+ except SdkError as e:raise TestAdapterError(str(e))@staticmethoddiff --git a/backend/pdm.lock b/backend/pdm.lockindex 231fda20b..78d606630 100644--- a/backend/pdm.lock+++ b/backend/pdm.lock@@ -5,7 +5,7 @@groups = ["default", "deploy", "dev", "test"]strategy = ["inherit_metadata"]lock_version = "4.4.2"-content_hash = "sha256:b08b463b0eab5411f2bad4ed023d7ab5f06638118ffc913a01fe0fe167ce9198"+content_hash = "sha256:5a41f7fb855a552c750c23bda694bd4c8058dc87d912a06fd0e1933878e92d86"[[package]]name = "adlfs"@@ -28,35 +28,35 @@ files = [[[package]]name = "aiobotocore"-version = "2.13.2"+version = "2.13.3"requires_python = ">=3.8"summary = "Async client for aws services using botocore and aiohttp"groups = ["default", "dev"]dependencies = ["aiohttp<4.0.0,>=3.9.2","aioitertools<1.0.0,>=0.5.1",- "botocore<1.34.132,>=1.34.70",+ "botocore<1.34.163,>=1.34.70","wrapt<2.0.0,>=1.10.10",]files = [- {file = "aiobotocore-2.13.2-py3-none-any.whl", hash = "sha256:18cbd934ed835a04020c2cffe5d1cfbeb9ff0a340a8c7f0a869c17cf3e43de6a"},- {file = "aiobotocore-2.13.2.tar.gz", hash = "sha256:8ae2ffe3fd227923c69e12271b7a723c7c93853d8dbbd214e774613bd444b32f"},+ {file = "aiobotocore-2.13.3-py3-none-any.whl", hash = "sha256:1272f765fd9414e1a68f8add71978367db94e17e36c3bf629cf1153eb5141fb9"},+ {file = "aiobotocore-2.13.3.tar.gz", hash = "sha256:ac5620f93cc3e7c2aef7c67ba2bb74035ff8d49ee2325821daed13b3dd82a473"},][[package]]name = "aiobotocore"-version = "2.13.2"+version = "2.13.3"extras = ["boto3"]requires_python = ">=3.8"summary = "Async client for aws services using botocore and aiohttp"groups = ["default", "dev"]dependencies = [- "aiobotocore==2.13.2",- "boto3<1.34.132,>=1.34.70",+ "aiobotocore==2.13.3",+ "boto3<1.34.163,>=1.34.70",]files = [- {file = "aiobotocore-2.13.2-py3-none-any.whl", hash = "sha256:18cbd934ed835a04020c2cffe5d1cfbeb9ff0a340a8c7f0a869c17cf3e43de6a"},- {file = "aiobotocore-2.13.2.tar.gz", hash = "sha256:8ae2ffe3fd227923c69e12271b7a723c7c93853d8dbbd214e774613bd444b32f"},+ {file = "aiobotocore-2.13.3-py3-none-any.whl", hash = "sha256:1272f765fd9414e1a68f8add71978367db94e17e36c3bf629cf1153eb5141fb9"},+ {file = "aiobotocore-2.13.3.tar.gz", hash = "sha256:ac5620f93cc3e7c2aef7c67ba2bb74035ff8d49ee2325821daed13b3dd82a473"},][[package]]@@ -408,23 +408,23 @@ files = [[[package]]name = "boto3"-version = "1.34.131"+version = "1.34.162"requires_python = ">=3.8"summary = "The AWS SDK for Python"groups = ["default", "dev"]dependencies = [- "botocore<1.35.0,>=1.34.131",+ "botocore<1.35.0,>=1.34.162","jmespath<2.0.0,>=0.7.1","s3transfer<0.11.0,>=0.10.0",]files = [- {file = "boto3-1.34.131-py3-none-any.whl", hash = "sha256:05e388cb937e82be70bfd7eb0c84cf8011ff35cf582a593873ac21675268683b"},- {file = "boto3-1.34.131.tar.gz", hash = "sha256:dab8f72a6c4e62b4fd70da09e08a6b2a65ea2115b27dd63737142005776ef216"},+ {file = "boto3-1.34.162-py3-none-any.whl", hash = "sha256:d6f6096bdab35a0c0deff469563b87d184a28df7689790f7fe7be98502b7c590"},+ {file = "boto3-1.34.162.tar.gz", hash = "sha256:873f8f5d2f6f85f1018cbb0535b03cceddc7b655b61f66a0a56995238804f41f"},][[package]]name = "botocore"-version = "1.34.131"+version = "1.34.162"requires_python = ">=3.8"summary = "Low-level, data-driven core of boto 3."groups = ["default", "dev"]@@ -434,8 +434,8 @@ dependencies = ["urllib3<1.27,>=1.25.4; python_version < \"3.10\"",]files = [- {file = "botocore-1.34.131-py3-none-any.whl", hash = "sha256:13b011d7b206ce00727dcee26548fa3b550db9046d5a0e90ac25a6e6c8fde6ef"},- {file = "botocore-1.34.131.tar.gz", hash = "sha256:502ddafe1d627fcf1e4c007c86454e5dd011dba7c58bd8e8a5368a79f3e387dc"},+ {file = "botocore-1.34.162-py3-none-any.whl", hash = "sha256:2d918b02db88d27a75b48275e6fb2506e9adaaddbec1ffa6a8a0898b34e769be"},+ {file = "botocore-1.34.162.tar.gz", hash = "sha256:adc23be4fb99ad31961236342b7cbf3c0bfc62532cd02852196032e8c0d682f3"},][[package]]@@ -455,7 +455,7 @@ files = [[[package]]name = "boxsdk"-version = "3.12.0"+version = "3.13.0"summary = "Official Box Python SDK"groups = ["default", "dev"]dependencies = [@@ -466,24 +466,24 @@ dependencies = ["urllib3",]files = [- {file = "boxsdk-3.12.0-py2.py3-none-any.whl", hash = "sha256:732303731801dcd1573760c6d1d1cbaf4e6c20e872669c1027556e352a4ec031"},- {file = "boxsdk-3.12.0.tar.gz", hash = "sha256:f4405dc6ab06aa2104a05fb993470800b81bb1a8d65b87f84cea82186df8f23c"},+ {file = "boxsdk-3.13.0-py2.py3-none-any.whl", hash = "sha256:028b339ae2a5a13215ca550167e4ac094ed3e66ac2f9b20613b467f2b4d77c8b"},+ {file = "boxsdk-3.13.0.tar.gz", hash = "sha256:c01350bdb0d24aa7927a64f6e9e8d7899be2ff43ea0e1410d4a1a273763146d2"},][[package]]name = "boxsdk"-version = "3.12.0"+version = "3.13.0"extras = ["jwt"]summary = "Official Box Python SDK"groups = ["default", "dev"]dependencies = [- "boxsdk==3.12.0",+ "boxsdk==3.13.0","cryptography>=3","pyjwt>=1.7.0",]files = [- {file = "boxsdk-3.12.0-py2.py3-none-any.whl", hash = "sha256:732303731801dcd1573760c6d1d1cbaf4e6c20e872669c1027556e352a4ec031"},- {file = "boxsdk-3.12.0.tar.gz", hash = "sha256:f4405dc6ab06aa2104a05fb993470800b81bb1a8d65b87f84cea82186df8f23c"},+ {file = "boxsdk-3.13.0-py2.py3-none-any.whl", hash = "sha256:028b339ae2a5a13215ca550167e4ac094ed3e66ac2f9b20613b467f2b4d77c8b"},+ {file = "boxsdk-3.13.0.tar.gz", hash = "sha256:c01350bdb0d24aa7927a64f6e9e8d7899be2ff43ea0e1410d4a1a273763146d2"},][[package]]@@ -1067,7 +1067,7 @@ files = [[[package]]name = "google-api-core"-version = "2.19.1"+version = "2.19.2"requires_python = ">=3.7"summary = "Google API client core library"groups = ["default", "dev"]@@ -1079,30 +1079,30 @@ dependencies = ["requests<3.0.0.dev0,>=2.18.0",]files = [- {file = "google-api-core-2.19.1.tar.gz", hash = "sha256:f4695f1e3650b316a795108a76a1c416e6afb036199d1c1f1f110916df479ffd"},- {file = "google_api_core-2.19.1-py3-none-any.whl", hash = "sha256:f12a9b8309b5e21d92483bbd47ce2c445861ec7d269ef6784ecc0ea8c1fa6125"},+ {file = "google_api_core-2.19.2-py3-none-any.whl", hash = "sha256:53ec0258f2837dd53bbd3d3df50f5359281b3cc13f800c941dd15a9b5a415af4"},+ {file = "google_api_core-2.19.2.tar.gz", hash = "sha256:ca07de7e8aa1c98a8bfca9321890ad2340ef7f2eb136e558cee68f24b94b0a8f"},][[package]]name = "google-api-core"-version = "2.19.1"+version = "2.19.2"extras = ["grpc"]requires_python = ">=3.7"summary = "Google API client core library"groups = ["default", "dev"]dependencies = [- "google-api-core==2.19.1",+ "google-api-core==2.19.2","grpcio-status<2.0.dev0,>=1.33.2","grpcio<2.0dev,>=1.33.2",]files = [- {file = "google-api-core-2.19.1.tar.gz", hash = "sha256:f4695f1e3650b316a795108a76a1c416e6afb036199d1c1f1f110916df479ffd"},- {file = "google_api_core-2.19.1-py3-none-any.whl", hash = "sha256:f12a9b8309b5e21d92483bbd47ce2c445861ec7d269ef6784ecc0ea8c1fa6125"},+ {file = "google_api_core-2.19.2-py3-none-any.whl", hash = "sha256:53ec0258f2837dd53bbd3d3df50f5359281b3cc13f800c941dd15a9b5a415af4"},+ {file = "google_api_core-2.19.2.tar.gz", hash = "sha256:ca07de7e8aa1c98a8bfca9321890ad2340ef7f2eb136e558cee68f24b94b0a8f"},][[package]]name = "google-api-python-client"-version = "2.142.0"+version = "2.143.0"requires_python = ">=3.7"summary = "Google API Client Library for Python"groups = ["default", "dev"]@@ -1114,8 +1114,8 @@ dependencies = ["uritemplate<5,>=3.0.1",]files = [- {file = "google_api_python_client-2.142.0-py2.py3-none-any.whl", hash = "sha256:266799082bb8301f423ec204dffbffb470b502abbf29efd1f83e644d36eb5a8f"},- {file = "google_api_python_client-2.142.0.tar.gz", hash = "sha256:a1101ac9e24356557ca22f07ff48b7f61fa5d4b4e7feeef3bda16e5dcb86350e"},+ {file = "google_api_python_client-2.143.0-py2.py3-none-any.whl", hash = "sha256:d5654134522b9b574b82234e96f7e0aeeabcbf33643fbabcd449ef0068e3a476"},+ {file = "google_api_python_client-2.143.0.tar.gz", hash = "sha256:6a75441f9078e6e2fcdf4946a153fda1e2cc81b5e9c8d6e8c0750c85c7f8a566"},][[package]]@@ -1167,7 +1167,7 @@ files = [[[package]]name = "google-cloud-aiplatform"-version = "1.62.0"+version = "1.64.0"requires_python = ">=3.8"summary = "Vertex AI API client library"groups = ["default", "dev"]@@ -1185,8 +1185,8 @@ dependencies = ["shapely<3.0.0dev",]files = [- {file = "google-cloud-aiplatform-1.62.0.tar.gz", hash = "sha256:e15d5b2a99e30d4a16f4c51cfb8129962e6da41a9027d2ea696abe0e2f006fe8"},- {file = "google_cloud_aiplatform-1.62.0-py2.py3-none-any.whl", hash = "sha256:d7738e0fd4494a54ae08a51755a2143d58937cba2db826189771f45566c9ee3c"},+ {file = "google-cloud-aiplatform-1.64.0.tar.gz", hash = "sha256:475a612829b283eb8f783e773d37115c30db42e2e50065c8653db0c9bd18b0da"},+ {file = "google_cloud_aiplatform-1.64.0-py2.py3-none-any.whl", hash = "sha256:3a79ce2ec047868c348336624a60993464ca977fd258bcf609cc79309a8101c4"},][[package]]@@ -1326,7 +1326,7 @@ files = [[[package]]name = "googleapis-common-protos"-version = "1.63.2"+version = "1.65.0"requires_python = ">=3.7"summary = "Common protobufs used in Google APIs"groups = ["default", "dev"]@@ -1334,24 +1334,24 @@ dependencies = ["protobuf!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<6.0.0.dev0,>=3.20.2",]files = [- {file = "googleapis-common-protos-1.63.2.tar.gz", hash = "sha256:27c5abdffc4911f28101e635de1533fb4cfd2c37fbaa9174587c799fac90aa87"},- {file = "googleapis_common_protos-1.63.2-py2.py3-none-any.whl", hash = "sha256:27a2499c7e8aff199665b22741997e485eccc8645aa9176c7c988e6fae507945"},+ {file = "googleapis_common_protos-1.65.0-py2.py3-none-any.whl", hash = "sha256:2972e6c496f435b92590fd54045060867f3fe9be2c82ab148fc8885035479a63"},+ {file = "googleapis_common_protos-1.65.0.tar.gz", hash = "sha256:334a29d07cddc3aa01dee4988f9afd9b2916ee2ff49d6b757155dc0d197852c0"},][[package]]name = "googleapis-common-protos"-version = "1.63.2"+version = "1.65.0"extras = ["grpc"]requires_python = ">=3.7"summary = "Common protobufs used in Google APIs"groups = ["default", "dev"]dependencies = [- "googleapis-common-protos==1.63.2",+ "googleapis-common-protos==1.65.0","grpcio<2.0.0.dev0,>=1.44.0",]files = [- {file = "googleapis-common-protos-1.63.2.tar.gz", hash = "sha256:27c5abdffc4911f28101e635de1533fb4cfd2c37fbaa9174587c799fac90aa87"},- {file = "googleapis_common_protos-1.63.2-py2.py3-none-any.whl", hash = "sha256:27a2499c7e8aff199665b22741997e485eccc8645aa9176c7c988e6fae507945"},+ {file = "googleapis_common_protos-1.65.0-py2.py3-none-any.whl", hash = "sha256:2972e6c496f435b92590fd54045060867f3fe9be2c82ab148fc8885035479a63"},+ {file = "googleapis_common_protos-1.65.0.tar.gz", hash = "sha256:334a29d07cddc3aa01dee4988f9afd9b2916ee2ff49d6b757155dc0d197852c0"},][[package]]@@ -1598,13 +1598,13 @@ files = [[[package]]name = "idna"-version = "3.7"-requires_python = ">=3.5"+version = "3.8"+requires_python = ">=3.6"summary = "Internationalized Domain Names in Applications (IDNA)"groups = ["default", "dev"]files = [- {file = "idna-3.7-py3-none-any.whl", hash = "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0"},- {file = "idna-3.7.tar.gz", hash = "sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"},+ {file = "idna-3.8-py3-none-any.whl", hash = "sha256:050b4e5baadcd44d760cedbd2b8e639f2ff89bbc7a5730fcc662954303377aac"},+ {file = "idna-3.8.tar.gz", hash = "sha256:d838c2c0ed6fced7693d5e8ab8e734d5f8fda53a039c0164afb0b82e771e3603"},][[package]]@@ -1724,7 +1724,7 @@ files = [[[package]]name = "llama-cloud"-version = "0.0.13"+version = "0.0.15"requires_python = "<4,>=3.8"summary = ""groups = ["default", "dev"]@@ -1733,8 +1733,8 @@ dependencies = ["pydantic>=1.10",]files = [- {file = "llama_cloud-0.0.13-py3-none-any.whl", hash = "sha256:b641450308b80c85eeae7ef9cb5a3b4a3b1823d5cde05b626ce33f7494ec6229"},- {file = "llama_cloud-0.0.13.tar.gz", hash = "sha256:0e3165a22f8df34a00d13f1f5739438ba4d620f2d8a9289df830078a39fe6f1f"},+ {file = "llama_cloud-0.0.15-py3-none-any.whl", hash = "sha256:52f18a3870e23c4a9b5f66827a58dc87d5a1c3034d1ce6ab513ca7eb09ae8b36"},+ {file = "llama_cloud-0.0.15.tar.gz", hash = "sha256:be06fd888e889623796b9c2aa0fc0d09ef039ed5145ff267d8408ccbea70c048"},][[package]]@@ -1983,7 +1983,7 @@ files = [[[package]]name = "llama-index-llms-bedrock"-version = "0.1.12"+version = "0.1.13"requires_python = "<4.0,>=3.8.1"summary = "llama-index llms bedrock integration"groups = ["default", "dev"]@@ -1993,8 +1993,8 @@ dependencies = ["llama-index-llms-anthropic<0.2.0,>=0.1.7",]files = [- {file = "llama_index_llms_bedrock-0.1.12-py3-none-any.whl", hash = "sha256:3217108e28a43700c0b9444eb0843a580d9e91627b5550d874a2d83a4a9b94ab"},- {file = "llama_index_llms_bedrock-0.1.12.tar.gz", hash = "sha256:9c575565623f6bd2b4445a2b7614d9dfac069b6cedc6ceeb740b5f4cac28368a"},+ {file = "llama_index_llms_bedrock-0.1.13-py3-none-any.whl", hash = "sha256:ac66932dc08b9ba83ad5914bee74975488bcdf1be143af7aa31289c120c76d3e"},+ {file = "llama_index_llms_bedrock-0.1.13.tar.gz", hash = "sha256:9a7a2e257302a7692dab23b42cf97eec5c6209c2afa7a865a42f9c1e29e689c7"},][[package]]@@ -2260,7 +2260,7 @@ files = [[[package]]name = "marshmallow"-version = "3.21.3"+version = "3.22.0"requires_python = ">=3.8"summary = "A lightweight library for converting complex datatypes to and from native Python datatypes."groups = ["default", "dev"]@@ -2268,8 +2268,8 @@ dependencies = ["packaging>=17.0",]files = [- {file = "marshmallow-3.21.3-py3-none-any.whl", hash = "sha256:86ce7fb914aa865001a4b2092c4c2872d13bc347f3d42673272cabfdbad386f1"},- {file = "marshmallow-3.21.3.tar.gz", hash = "sha256:4f57c5e050a54d66361e826f94fba213eb10b67b2fdb02c3e0343ce207ba1662"},+ {file = "marshmallow-3.22.0-py3-none-any.whl", hash = "sha256:71a2dce49ef901c3f97ed296ae5051135fd3febd2bf43afe0ae9a82143a494d9"},+ {file = "marshmallow-3.22.0.tar.gz", hash = "sha256:4972f529104a220bb8637d595aa4c9762afbe7f7a77d82dc58c1615d70c5823e"},][[package]]@@ -2454,7 +2454,7 @@ files = [[[package]]name = "ollama"-version = "0.3.1"+version = "0.3.2"requires_python = "<4.0,>=3.8"summary = "The official Python client for Ollama."groups = ["default", "dev"]@@ -2462,13 +2462,13 @@ dependencies = ["httpx<0.28.0,>=0.27.0",]files = [- {file = "ollama-0.3.1-py3-none-any.whl", hash = "sha256:db50034c73d6350349bdfba19c3f0d54a3cea73eb97b35f9d7419b2fc7206454"},- {file = "ollama-0.3.1.tar.gz", hash = "sha256:032572fb494a4fba200c65013fe937a65382c846b5f358d9e8918ecbc9ac44b5"},+ {file = "ollama-0.3.2-py3-none-any.whl", hash = "sha256:ed2a6f752bd91c49b477d84a259c5657785d7777689d4a27ffe0a4d5b5dd3cae"},+ {file = "ollama-0.3.2.tar.gz", hash = "sha256:7deb3287cdefa1c39cc046163096f8597b83f59ca31a1f8ae78e71eccb7af95f"},][[package]]name = "openai"-version = "1.41.1"+version = "1.42.0"requires_python = ">=3.7.1"summary = "The official Python library for the openai API"groups = ["default", "dev"]@@ -2483,8 +2483,8 @@ dependencies = ["typing-extensions<5,>=4.11",]files = [- {file = "openai-1.41.1-py3-none-any.whl", hash = "sha256:56fb04105263f79559aff3ceea2e1dd16f8c5385e8238cb66cf0e6888fa8bfcf"},- {file = "openai-1.41.1.tar.gz", hash = "sha256:e38e376efd91e0d4db071e2a6517b6b4cac1c2a6fd63efdc5ec6be10c5967c1b"},+ {file = "openai-1.42.0-py3-none-any.whl", hash = "sha256:dc91e0307033a4f94931e5d03cc3b29b9717014ad5e73f9f2051b6cb5eda4d80"},+ {file = "openai-1.42.0.tar.gz", hash = "sha256:c9d31853b4e0bc2dc8bd08003b462a006035655a701471695d0bfdc08529cde3"},][[package]]@@ -2908,14 +2908,14 @@ files = [[[package]]name = "pyparsing"-version = "3.1.2"+version = "3.1.4"requires_python = ">=3.6.8"summary = "pyparsing module - Classes and methods to define and execute parsing grammars"groups = ["default", "dev"]marker = "python_version > \"3.0\""files = [- {file = "pyparsing-3.1.2-py3-none-any.whl", hash = "sha256:f9db75911801ed778fe61bb643079ff86601aca99fcae6345aa67292038fb742"},- {file = "pyparsing-3.1.2.tar.gz", hash = "sha256:a1bac0ce561155ecc3ed78ca94d3c9378656ad4c94c1270de543f621420f94ad"},+ {file = "pyparsing-3.1.4-py3-none-any.whl", hash = "sha256:a6a7ee4235a3f944aa1fa2249307708f893fe5717dc603503c6c7969c070fb7c"},+ {file = "pyparsing-3.1.4.tar.gz", hash = "sha256:f86ec8d1a83f11977c9a6ea7598e8c27fc5cddfa5b07ea2241edbbde1d7bc032"},][[package]]@@ -3089,7 +3089,7 @@ files = [[[package]]name = "qdrant-client"-version = "1.11.0"+version = "1.11.1"requires_python = ">=3.8"summary = "Client library for the Qdrant vector search engine"groups = ["default", "dev"]@@ -3103,8 +3103,8 @@ dependencies = ["urllib3<3,>=1.26.14",]files = [- {file = "qdrant_client-1.11.0-py3-none-any.whl", hash = "sha256:1f574ccebb91c0bc8a620c9a41a5a010084fbc4d8c6f1cd0ab7b2eeb97336fc0"},- {file = "qdrant_client-1.11.0.tar.gz", hash = "sha256:7c1d4d7a96cfd1ee0cde2a21c607e9df86bcca795ad8d1fd274d295ab64b8458"},+ {file = "qdrant_client-1.11.1-py3-none-any.whl", hash = "sha256:1375fad77c825c957181ff53775fb900c4383e817f864ea30b2605314da92f07"},+ {file = "qdrant_client-1.11.1.tar.gz", hash = "sha256:bfc23239b027073352ad92152209ec50281519686b7da3041612faece0fcdfbd"},][[package]]@@ -3278,13 +3278,13 @@ files = [[[package]]name = "setuptools"-version = "73.0.0"+version = "74.0.0"requires_python = ">=3.8"summary = "Easily download, build, install, upgrade, and uninstall Python packages"groups = ["default", "dev"]files = [- {file = "setuptools-73.0.0-py3-none-any.whl", hash = "sha256:f2bfcce7ae1784d90b04c57c2802e8649e1976530bb25dc72c2b078d3ecf4864"},- {file = "setuptools-73.0.0.tar.gz", hash = "sha256:3c08705fadfc8c7c445cf4d98078f0fafb9225775b2b4e8447e40348f82597c0"},+ {file = "setuptools-74.0.0-py3-none-any.whl", hash = "sha256:0274581a0037b638b9fc1c6883cc71c0210865aaa76073f7882376b641b84e8f"},+ {file = "setuptools-74.0.0.tar.gz", hash = "sha256:a85e96b8be2b906f3e3e789adec6a9323abf79758ecfa3065bd740d81158b11e"},][[package]]@@ -3731,7 +3731,7 @@ dependencies = [[[package]]name = "unstract-sdk"-version = "0.45.1"+version = "0.46.0"requires_python = "<3.11.1,>=3.9"summary = "A framework for writing Unstract Tools/Apps"groups = ["default", "dev"]@@ -3747,7 +3747,7 @@ dependencies = ["llama-index-llms-anthropic==0.1.16","llama-index-llms-anyscale==0.1.4","llama-index-llms-azure-openai==0.1.10",- "llama-index-llms-bedrock==0.1.12",+ "llama-index-llms-bedrock==0.1.13","llama-index-llms-mistralai==0.1.19","llama-index-llms-ollama==0.2.2","llama-index-llms-openai==0.1.27",@@ -3770,8 +3770,8 @@ dependencies = ["transformers==4.37.0",]files = [- {file = "unstract_sdk-0.45.1-py3-none-any.whl", hash = "sha256:36a78ff8de154b17f60a11f369a478c02a07ef1506dc4b234771cb5c3a1f1625"},- {file = "unstract_sdk-0.45.1.tar.gz", hash = "sha256:7d6b7b133792552606e8413b6590903559c5d5c71ababa2f8b5ad81ed04fb426"},+ {file = "unstract_sdk-0.46.0-py3-none-any.whl", hash = "sha256:09b13289c3384578b6e9598cfe2ae1013705d9e394218682aa24bbb6406422b4"},+ {file = "unstract_sdk-0.46.0.tar.gz", hash = "sha256:4fa969eb078b5f1bb0eb05142519a08d307b5ea95afaaf06fb8383285857d037"},][[package]]@@ -3786,7 +3786,7 @@ dependencies = ["PyYAML~=6.0.1","docker~=6.1.3","jsonschema~=4.18.2",- "unstract-sdk~=0.45.1",+ "unstract-sdk~=0.46.0","unstract-tool-sandbox",]diff --git a/backend/pyproject.toml b/backend/pyproject.tomlindex 7d91743fb..f3d7d756d 100644--- a/backend/pyproject.toml+++ b/backend/pyproject.toml@@ -32,7 +32,7 @@ dependencies = ["python-socketio==5.9.0", # For log_events"social-auth-app-django==5.3.0", # For OAuth"social-auth-core==4.4.2", # For OAuth- "unstract-sdk~=0.45.1",+ "unstract-sdk~=0.46.0",# ! IMPORTANT!# Indirect local dependencies usually need to be added in their own projects# as: https://pdm-project.org/latest/usage/dependency/#local-dependencies.diff --git a/backend/sample.env b/backend/sample.envindex 1f12cf2d7..83c7be821 100644--- a/backend/sample.env+++ b/backend/sample.env@@ -90,9 +90,9 @@ PROMPT_STUDIO_FILE_PATH=/app/prompt-studio-data# Structure Tool Image (Runs prompt studio exported tools)# https://hub.docker.com/r/unstract/tool-structure-STRUCTURE_TOOL_IMAGE_URL="docker:unstract/tool-structure:0.0.39"+STRUCTURE_TOOL_IMAGE_URL="docker:unstract/tool-structure:0.0.40"STRUCTURE_TOOL_IMAGE_NAME="unstract/tool-structure"-STRUCTURE_TOOL_IMAGE_TAG="0.0.39"+STRUCTURE_TOOL_IMAGE_TAG="0.0.40"# Feature FlagsEVALUATION_SERVER_IP=unstract-fliptdiff --git a/pdm.lock b/pdm.lockindex 1106c876c..0fdb01d80 100644--- a/pdm.lock+++ b/pdm.lock@@ -5,7 +5,7 @@groups = ["default", "hook-check-django-migrations", "lint"]strategy = ["inherit_metadata"]lock_version = "4.4.2"-content_hash = "sha256:8a34b250607069698ea3978eae74e9b3e807c23e13901a955014d32d51c28d61"+content_hash = "sha256:d7266fb7a14b58660f3a28e3d04039f440d85ddec49fd85f6e492f4188f02564"[[package]]name = "adlfs"@@ -28,35 +28,35 @@ files = [[[package]]name = "aiobotocore"-version = "2.13.2"+version = "2.13.3"requires_python = ">=3.8"summary = "Async client for aws services using botocore and aiohttp"groups = ["hook-check-django-migrations"]dependencies = ["aiohttp<4.0.0,>=3.9.2","aioitertools<1.0.0,>=0.5.1",- "botocore<1.34.132,>=1.34.70",+ "botocore<1.34.163,>=1.34.70","wrapt<2.0.0,>=1.10.10",]files = [- {file = "aiobotocore-2.13.2-py3-none-any.whl", hash = "sha256:18cbd934ed835a04020c2cffe5d1cfbeb9ff0a340a8c7f0a869c17cf3e43de6a"},- {file = "aiobotocore-2.13.2.tar.gz", hash = "sha256:8ae2ffe3fd227923c69e12271b7a723c7c93853d8dbbd214e774613bd444b32f"},+ {file = "aiobotocore-2.13.3-py3-none-any.whl", hash = "sha256:1272f765fd9414e1a68f8add71978367db94e17e36c3bf629cf1153eb5141fb9"},+ {file = "aiobotocore-2.13.3.tar.gz", hash = "sha256:ac5620f93cc3e7c2aef7c67ba2bb74035ff8d49ee2325821daed13b3dd82a473"},][[package]]name = "aiobotocore"-version = "2.13.2"+version = "2.13.3"extras = ["boto3"]requires_python = ">=3.8"summary = "Async client for aws services using botocore and aiohttp"groups = ["hook-check-django-migrations"]dependencies = [- "aiobotocore==2.13.2",- "boto3<1.34.132,>=1.34.70",+ "aiobotocore==2.13.3",+ "boto3<1.34.163,>=1.34.70",]files = [- {file = "aiobotocore-2.13.2-py3-none-any.whl", hash = "sha256:18cbd934ed835a04020c2cffe5d1cfbeb9ff0a340a8c7f0a869c17cf3e43de6a"},- {file = "aiobotocore-2.13.2.tar.gz", hash = "sha256:8ae2ffe3fd227923c69e12271b7a723c7c93853d8dbbd214e774613bd444b32f"},+ {file = "aiobotocore-2.13.3-py3-none-any.whl", hash = "sha256:1272f765fd9414e1a68f8add71978367db94e17e36c3bf629cf1153eb5141fb9"},+ {file = "aiobotocore-2.13.3.tar.gz", hash = "sha256:ac5620f93cc3e7c2aef7c67ba2bb74035ff8d49ee2325821daed13b3dd82a473"},][[package]]@@ -254,7 +254,7 @@ files = [[[package]]name = "authlib"-version = "1.3.1"+version = "1.3.2"requires_python = ">=3.8"summary = "The ultimate Python library in building OAuth and OpenID Connect servers and clients."groups = ["hook-check-django-migrations"]@@ -262,8 +262,8 @@ dependencies = ["cryptography",]files = [- {file = "Authlib-1.3.1-py2.py3-none-any.whl", hash = "sha256:d35800b973099bbadc49b42b256ecb80041ad56b7fe1216a362c7943c088f377"},- {file = "authlib-1.3.1.tar.gz", hash = "sha256:7ae843f03c06c5c0debd63c9db91f9fda64fa62a42a77419fa15fbb7e7a58917"},+ {file = "Authlib-1.3.2-py2.py3-none-any.whl", hash = "sha256:ede026a95e9f5cdc2d4364a52103f5405e75aa156357e831ef2bfd0bc5094dfc"},+ {file = "authlib-1.3.2.tar.gz", hash = "sha256:4b16130117f9eb82aa6eec97f6dd4673c3f960ac0283ccdae2897ee4bc030ba2"},][[package]]@@ -395,23 +395,23 @@ files = [[[package]]name = "boto3"-version = "1.34.131"+version = "1.34.162"requires_python = ">=3.8"summary = "The AWS SDK for Python"groups = ["hook-check-django-migrations"]dependencies = [- "botocore<1.35.0,>=1.34.131",+ "botocore<1.35.0,>=1.34.162","jmespath<2.0.0,>=0.7.1","s3transfer<0.11.0,>=0.10.0",]files = [- {file = "boto3-1.34.131-py3-none-any.whl", hash = "sha256:05e388cb937e82be70bfd7eb0c84cf8011ff35cf582a593873ac21675268683b"},- {file = "boto3-1.34.131.tar.gz", hash = "sha256:dab8f72a6c4e62b4fd70da09e08a6b2a65ea2115b27dd63737142005776ef216"},+ {file = "boto3-1.34.162-py3-none-any.whl", hash = "sha256:d6f6096bdab35a0c0deff469563b87d184a28df7689790f7fe7be98502b7c590"},+ {file = "boto3-1.34.162.tar.gz", hash = "sha256:873f8f5d2f6f85f1018cbb0535b03cceddc7b655b61f66a0a56995238804f41f"},][[package]]name = "botocore"-version = "1.34.131"+version = "1.34.162"requires_python = ">=3.8"summary = "Low-level, data-driven core of boto 3."groups = ["hook-check-django-migrations"]@@ -421,8 +421,8 @@ dependencies = ["urllib3<1.27,>=1.25.4; python_version < \"3.10\"",]files = [- {file = "botocore-1.34.131-py3-none-any.whl", hash = "sha256:13b011d7b206ce00727dcee26548fa3b550db9046d5a0e90ac25a6e6c8fde6ef"},- {file = "botocore-1.34.131.tar.gz", hash = "sha256:502ddafe1d627fcf1e4c007c86454e5dd011dba7c58bd8e8a5368a79f3e387dc"},+ {file = "botocore-1.34.162-py3-none-any.whl", hash = "sha256:2d918b02db88d27a75b48275e6fb2506e9adaaddbec1ffa6a8a0898b34e769be"},+ {file = "botocore-1.34.162.tar.gz", hash = "sha256:adc23be4fb99ad31961236342b7cbf3c0bfc62532cd02852196032e8c0d682f3"},][[package]]@@ -442,7 +442,7 @@ files = [[[package]]name = "boxsdk"-version = "3.12.0"+version = "3.13.0"summary = "Official Box Python SDK"groups = ["hook-check-django-migrations"]dependencies = [@@ -453,24 +453,24 @@ dependencies = ["urllib3",]files = [- {file = "boxsdk-3.12.0-py2.py3-none-any.whl", hash = "sha256:732303731801dcd1573760c6d1d1cbaf4e6c20e872669c1027556e352a4ec031"},- {file = "boxsdk-3.12.0.tar.gz", hash = "sha256:f4405dc6ab06aa2104a05fb993470800b81bb1a8d65b87f84cea82186df8f23c"},+ {file = "boxsdk-3.13.0-py2.py3-none-any.whl", hash = "sha256:028b339ae2a5a13215ca550167e4ac094ed3e66ac2f9b20613b467f2b4d77c8b"},+ {file = "boxsdk-3.13.0.tar.gz", hash = "sha256:c01350bdb0d24aa7927a64f6e9e8d7899be2ff43ea0e1410d4a1a273763146d2"},][[package]]name = "boxsdk"-version = "3.12.0"+version = "3.13.0"extras = ["jwt"]summary = "Official Box Python SDK"groups = ["hook-check-django-migrations"]dependencies = [- "boxsdk==3.12.0",+ "boxsdk==3.13.0","cryptography>=3","pyjwt>=1.7.0",]files = [- {file = "boxsdk-3.12.0-py2.py3-none-any.whl", hash = "sha256:732303731801dcd1573760c6d1d1cbaf4e6c20e872669c1027556e352a4ec031"},- {file = "boxsdk-3.12.0.tar.gz", hash = "sha256:f4405dc6ab06aa2104a05fb993470800b81bb1a8d65b87f84cea82186df8f23c"},+ {file = "boxsdk-3.13.0-py2.py3-none-any.whl", hash = "sha256:028b339ae2a5a13215ca550167e4ac094ed3e66ac2f9b20613b467f2b4d77c8b"},+ {file = "boxsdk-3.13.0.tar.gz", hash = "sha256:c01350bdb0d24aa7927a64f6e9e8d7899be2ff43ea0e1410d4a1a273763146d2"},][[package]]@@ -1055,7 +1055,7 @@ files = [[[package]]name = "google-api-core"-version = "2.19.1"+version = "2.19.2"requires_python = ">=3.7"summary = "Google API client core library"groups = ["hook-check-django-migrations"]@@ -1067,30 +1067,30 @@ dependencies = ["requests<3.0.0.dev0,>=2.18.0",]files = [- {file = "google-api-core-2.19.1.tar.gz", hash = "sha256:f4695f1e3650b316a795108a76a1c416e6afb036199d1c1f1f110916df479ffd"},- {file = "google_api_core-2.19.1-py3-none-any.whl", hash = "sha256:f12a9b8309b5e21d92483bbd47ce2c445861ec7d269ef6784ecc0ea8c1fa6125"},+ {file = "google_api_core-2.19.2-py3-none-any.whl", hash = "sha256:53ec0258f2837dd53bbd3d3df50f5359281b3cc13f800c941dd15a9b5a415af4"},+ {file = "google_api_core-2.19.2.tar.gz", hash = "sha256:ca07de7e8aa1c98a8bfca9321890ad2340ef7f2eb136e558cee68f24b94b0a8f"},][[package]]name = "google-api-core"-version = "2.19.1"+version = "2.19.2"extras = ["grpc"]requires_python = ">=3.7"summary = "Google API client core library"groups = ["hook-check-django-migrations"]dependencies = [- "google-api-core==2.19.1",+ "google-api-core==2.19.2","grpcio-status<2.0.dev0,>=1.33.2","grpcio<2.0dev,>=1.33.2",]files = [- {file = "google-api-core-2.19.1.tar.gz", hash = "sha256:f4695f1e3650b316a795108a76a1c416e6afb036199d1c1f1f110916df479ffd"},- {file = "google_api_core-2.19.1-py3-none-any.whl", hash = "sha256:f12a9b8309b5e21d92483bbd47ce2c445861ec7d269ef6784ecc0ea8c1fa6125"},+ {file = "google_api_core-2.19.2-py3-none-any.whl", hash = "sha256:53ec0258f2837dd53bbd3d3df50f5359281b3cc13f800c941dd15a9b5a415af4"},+ {file = "google_api_core-2.19.2.tar.gz", hash = "sha256:ca07de7e8aa1c98a8bfca9321890ad2340ef7f2eb136e558cee68f24b94b0a8f"},][[package]]name = "google-api-python-client"-version = "2.142.0"+version = "2.143.0"requires_python = ">=3.7"summary = "Google API Client Library for Python"groups = ["hook-check-django-migrations"]@@ -1102,8 +1102,8 @@ dependencies = ["uritemplate<5,>=3.0.1",]files = [- {file = "google_api_python_client-2.142.0-py2.py3-none-any.whl", hash = "sha256:266799082bb8301f423ec204dffbffb470b502abbf29efd1f83e644d36eb5a8f"},- {file = "google_api_python_client-2.142.0.tar.gz", hash = "sha256:a1101ac9e24356557ca22f07ff48b7f61fa5d4b4e7feeef3bda16e5dcb86350e"},+ {file = "google_api_python_client-2.143.0-py2.py3-none-any.whl", hash = "sha256:d5654134522b9b574b82234e96f7e0aeeabcbf33643fbabcd449ef0068e3a476"},+ {file = "google_api_python_client-2.143.0.tar.gz", hash = "sha256:6a75441f9078e6e2fcdf4946a153fda1e2cc81b5e9c8d6e8c0750c85c7f8a566"},][[package]]@@ -1155,7 +1155,7 @@ files = [[[package]]name = "google-cloud-aiplatform"-version = "1.62.0"+version = "1.64.0"requires_python = ">=3.8"summary = "Vertex AI API client library"groups = ["hook-check-django-migrations"]@@ -1173,8 +1173,8 @@ dependencies = ["shapely<3.0.0dev",]files = [- {file = "google-cloud-aiplatform-1.62.0.tar.gz", hash = "sha256:e15d5b2a99e30d4a16f4c51cfb8129962e6da41a9027d2ea696abe0e2f006fe8"},- {file = "google_cloud_aiplatform-1.62.0-py2.py3-none-any.whl", hash = "sha256:d7738e0fd4494a54ae08a51755a2143d58937cba2db826189771f45566c9ee3c"},+ {file = "google-cloud-aiplatform-1.64.0.tar.gz", hash = "sha256:475a612829b283eb8f783e773d37115c30db42e2e50065c8653db0c9bd18b0da"},+ {file = "google_cloud_aiplatform-1.64.0-py2.py3-none-any.whl", hash = "sha256:3a79ce2ec047868c348336624a60993464ca977fd258bcf609cc79309a8101c4"},][[package]]@@ -1314,7 +1314,7 @@ files = [[[package]]name = "googleapis-common-protos"-version = "1.63.2"+version = "1.65.0"requires_python = ">=3.7"summary = "Common protobufs used in Google APIs"groups = ["hook-check-django-migrations"]@@ -1322,24 +1322,24 @@ dependencies = ["protobuf!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<6.0.0.dev0,>=3.20.2",]files = [- {file = "googleapis-common-protos-1.63.2.tar.gz", hash = "sha256:27c5abdffc4911f28101e635de1533fb4cfd2c37fbaa9174587c799fac90aa87"},- {file = "googleapis_common_protos-1.63.2-py2.py3-none-any.whl", hash = "sha256:27a2499c7e8aff199665b22741997e485eccc8645aa9176c7c988e6fae507945"},+ {file = "googleapis_common_protos-1.65.0-py2.py3-none-any.whl", hash = "sha256:2972e6c496f435b92590fd54045060867f3fe9be2c82ab148fc8885035479a63"},+ {file = "googleapis_common_protos-1.65.0.tar.gz", hash = "sha256:334a29d07cddc3aa01dee4988f9afd9b2916ee2ff49d6b757155dc0d197852c0"},][[package]]name = "googleapis-common-protos"-version = "1.63.2"+version = "1.65.0"extras = ["grpc"]requires_python = ">=3.7"summary = "Common protobufs used in Google APIs"groups = ["hook-check-django-migrations"]dependencies = [- "googleapis-common-protos==1.63.2",+ "googleapis-common-protos==1.65.0","grpcio<2.0.0.dev0,>=1.44.0",]files = [- {file = "googleapis-common-protos-1.63.2.tar.gz", hash = "sha256:27c5abdffc4911f28101e635de1533fb4cfd2c37fbaa9174587c799fac90aa87"},- {file = "googleapis_common_protos-1.63.2-py2.py3-none-any.whl", hash = "sha256:27a2499c7e8aff199665b22741997e485eccc8645aa9176c7c988e6fae507945"},+ {file = "googleapis_common_protos-1.65.0-py2.py3-none-any.whl", hash = "sha256:2972e6c496f435b92590fd54045060867f3fe9be2c82ab148fc8885035479a63"},+ {file = "googleapis_common_protos-1.65.0.tar.gz", hash = "sha256:334a29d07cddc3aa01dee4988f9afd9b2916ee2ff49d6b757155dc0d197852c0"},][[package]]@@ -1572,13 +1572,13 @@ files = [[[package]]name = "idna"-version = "3.7"-requires_python = ">=3.5"+version = "3.8"+requires_python = ">=3.6"summary = "Internationalized Domain Names in Applications (IDNA)"groups = ["hook-check-django-migrations"]files = [- {file = "idna-3.7-py3-none-any.whl", hash = "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0"},- {file = "idna-3.7.tar.gz", hash = "sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"},+ {file = "idna-3.8-py3-none-any.whl", hash = "sha256:050b4e5baadcd44d760cedbd2b8e639f2ff89bbc7a5730fcc662954303377aac"},+ {file = "idna-3.8.tar.gz", hash = "sha256:d838c2c0ed6fced7693d5e8ab8e734d5f8fda53a039c0164afb0b82e771e3603"},][[package]]@@ -1698,7 +1698,7 @@ files = [[[package]]name = "llama-cloud"-version = "0.0.13"+version = "0.0.15"requires_python = "<4,>=3.8"summary = ""groups = ["hook-check-django-migrations"]@@ -1707,8 +1707,8 @@ dependencies = ["pydantic>=1.10",]files = [- {file = "llama_cloud-0.0.13-py3-none-any.whl", hash = "sha256:b641450308b80c85eeae7ef9cb5a3b4a3b1823d5cde05b626ce33f7494ec6229"},- {file = "llama_cloud-0.0.13.tar.gz", hash = "sha256:0e3165a22f8df34a00d13f1f5739438ba4d620f2d8a9289df830078a39fe6f1f"},+ {file = "llama_cloud-0.0.15-py3-none-any.whl", hash = "sha256:52f18a3870e23c4a9b5f66827a58dc87d5a1c3034d1ce6ab513ca7eb09ae8b36"},+ {file = "llama_cloud-0.0.15.tar.gz", hash = "sha256:be06fd888e889623796b9c2aa0fc0d09ef039ed5145ff267d8408ccbea70c048"},][[package]]@@ -1957,7 +1957,7 @@ files = [[[package]]name = "llama-index-llms-bedrock"-version = "0.1.12"+version = "0.1.13"requires_python = "<4.0,>=3.8.1"summary = "llama-index llms bedrock integration"groups = ["hook-check-django-migrations"]@@ -1967,8 +1967,8 @@ dependencies = ["llama-index-llms-anthropic<0.2.0,>=0.1.7",]files = [- {file = "llama_index_llms_bedrock-0.1.12-py3-none-any.whl", hash = "sha256:3217108e28a43700c0b9444eb0843a580d9e91627b5550d874a2d83a4a9b94ab"},- {file = "llama_index_llms_bedrock-0.1.12.tar.gz", hash = "sha256:9c575565623f6bd2b4445a2b7614d9dfac069b6cedc6ceeb740b5f4cac28368a"},+ {file = "llama_index_llms_bedrock-0.1.13-py3-none-any.whl", hash = "sha256:ac66932dc08b9ba83ad5914bee74975488bcdf1be143af7aa31289c120c76d3e"},+ {file = "llama_index_llms_bedrock-0.1.13.tar.gz", hash = "sha256:9a7a2e257302a7692dab23b42cf97eec5c6209c2afa7a865a42f9c1e29e689c7"},][[package]]@@ -2234,7 +2234,7 @@ files = [[[package]]name = "marshmallow"-version = "3.21.3"+version = "3.22.0"requires_python = ">=3.8"summary = "A lightweight library for converting complex datatypes to and from native Python datatypes."groups = ["hook-check-django-migrations"]@@ -2242,8 +2242,8 @@ dependencies = ["packaging>=17.0",]files = [- {file = "marshmallow-3.21.3-py3-none-any.whl", hash = "sha256:86ce7fb914aa865001a4b2092c4c2872d13bc347f3d42673272cabfdbad386f1"},- {file = "marshmallow-3.21.3.tar.gz", hash = "sha256:4f57c5e050a54d66361e826f94fba213eb10b67b2fdb02c3e0343ce207ba1662"},+ {file = "marshmallow-3.22.0-py3-none-any.whl", hash = "sha256:71a2dce49ef901c3f97ed296ae5051135fd3febd2bf43afe0ae9a82143a494d9"},+ {file = "marshmallow-3.22.0.tar.gz", hash = "sha256:4972f529104a220bb8637d595aa4c9762afbe7f7a77d82dc58c1615d70c5823e"},][[package]]@@ -2449,7 +2449,7 @@ files = [[[package]]name = "ollama"-version = "0.3.1"+version = "0.3.2"requires_python = "<4.0,>=3.8"summary = "The official Python client for Ollama."groups = ["hook-check-django-migrations"]@@ -2457,13 +2457,13 @@ dependencies = ["httpx<0.28.0,>=0.27.0",]files = [- {file = "ollama-0.3.1-py3-none-any.whl", hash = "sha256:db50034c73d6350349bdfba19c3f0d54a3cea73eb97b35f9d7419b2fc7206454"},- {file = "ollama-0.3.1.tar.gz", hash = "sha256:032572fb494a4fba200c65013fe937a65382c846b5f358d9e8918ecbc9ac44b5"},+ {file = "ollama-0.3.2-py3-none-any.whl", hash = "sha256:ed2a6f752bd91c49b477d84a259c5657785d7777689d4a27ffe0a4d5b5dd3cae"},+ {file = "ollama-0.3.2.tar.gz", hash = "sha256:7deb3287cdefa1c39cc046163096f8597b83f59ca31a1f8ae78e71eccb7af95f"},][[package]]name = "openai"-version = "1.41.1"+version = "1.42.0"requires_python = ">=3.7.1"summary = "The official Python library for the openai API"groups = ["hook-check-django-migrations"]@@ -2478,8 +2478,8 @@ dependencies = ["typing-extensions<5,>=4.11",]files = [- {file = "openai-1.41.1-py3-none-any.whl", hash = "sha256:56fb04105263f79559aff3ceea2e1dd16f8c5385e8238cb66cf0e6888fa8bfcf"},- {file = "openai-1.41.1.tar.gz", hash = "sha256:e38e376efd91e0d4db071e2a6517b6b4cac1c2a6fd63efdc5ec6be10c5967c1b"},+ {file = "openai-1.42.0-py3-none-any.whl", hash = "sha256:dc91e0307033a4f94931e5d03cc3b29b9717014ad5e73f9f2051b6cb5eda4d80"},+ {file = "openai-1.42.0.tar.gz", hash = "sha256:c9d31853b4e0bc2dc8bd08003b462a006035655a701471695d0bfdc08529cde3"},][[package]]@@ -2932,14 +2932,14 @@ files = [[[package]]name = "pyparsing"-version = "3.1.2"+version = "3.1.4"requires_python = ">=3.6.8"summary = "pyparsing module - Classes and methods to define and execute parsing grammars"groups = ["hook-check-django-migrations"]marker = "python_version > \"3.0\""files = [- {file = "pyparsing-3.1.2-py3-none-any.whl", hash = "sha256:f9db75911801ed778fe61bb643079ff86601aca99fcae6345aa67292038fb742"},- {file = "pyparsing-3.1.2.tar.gz", hash = "sha256:a1bac0ce561155ecc3ed78ca94d3c9378656ad4c94c1270de543f621420f94ad"},+ {file = "pyparsing-3.1.4-py3-none-any.whl", hash = "sha256:a6a7ee4235a3f944aa1fa2249307708f893fe5717dc603503c6c7969c070fb7c"},+ {file = "pyparsing-3.1.4.tar.gz", hash = "sha256:f86ec8d1a83f11977c9a6ea7598e8c27fc5cddfa5b07ea2241edbbde1d7bc032"},][[package]]@@ -3052,7 +3052,7 @@ files = [[[package]]name = "qdrant-client"-version = "1.11.0"+version = "1.11.1"requires_python = ">=3.8"summary = "Client library for the Qdrant vector search engine"groups = ["hook-check-django-migrations"]@@ -3066,8 +3066,8 @@ dependencies = ["urllib3<3,>=1.26.14",]files = [- {file = "qdrant_client-1.11.0-py3-none-any.whl", hash = "sha256:1f574ccebb91c0bc8a620c9a41a5a010084fbc4d8c6f1cd0ab7b2eeb97336fc0"},- {file = "qdrant_client-1.11.0.tar.gz", hash = "sha256:7c1d4d7a96cfd1ee0cde2a21c607e9df86bcca795ad8d1fd274d295ab64b8458"},+ {file = "qdrant_client-1.11.1-py3-none-any.whl", hash = "sha256:1375fad77c825c957181ff53775fb900c4383e817f864ea30b2605314da92f07"},+ {file = "qdrant_client-1.11.1.tar.gz", hash = "sha256:bfc23239b027073352ad92152209ec50281519686b7da3041612faece0fcdfbd"},][[package]]@@ -3241,13 +3241,13 @@ files = [[[package]]name = "setuptools"-version = "73.0.0"+version = "74.0.0"requires_python = ">=3.8"summary = "Easily download, build, install, upgrade, and uninstall Python packages"groups = ["hook-check-django-migrations"]files = [- {file = "setuptools-73.0.0-py3-none-any.whl", hash = "sha256:f2bfcce7ae1784d90b04c57c2802e8649e1976530bb25dc72c2b078d3ecf4864"},- {file = "setuptools-73.0.0.tar.gz", hash = "sha256:3c08705fadfc8c7c445cf4d98078f0fafb9225775b2b4e8447e40348f82597c0"},+ {file = "setuptools-74.0.0-py3-none-any.whl", hash = "sha256:0274581a0037b638b9fc1c6883cc71c0210865aaa76073f7882376b641b84e8f"},+ {file = "setuptools-74.0.0.tar.gz", hash = "sha256:a85e96b8be2b906f3e3e789adec6a9323abf79758ecfa3065bd740d81158b11e"},][[package]]@@ -3656,13 +3656,13 @@ files = [[[package]]name = "types-setuptools"-version = "71.1.0.20240818"+version = "73.0.0.20240822"requires_python = ">=3.8"summary = "Typing stubs for setuptools"groups = ["lint"]files = [- {file = "types-setuptools-71.1.0.20240818.tar.gz", hash = "sha256:f62eaffaa39774462c65fbb49368c4dc1d91a90a28371cb14e1af090ff0e41e3"},- {file = "types_setuptools-71.1.0.20240818-py3-none-any.whl", hash = "sha256:c4f95302f88369ac0ac46c67ddbfc70c6c4dbbb184d9fed356244217a2934025"},+ {file = "types-setuptools-73.0.0.20240822.tar.gz", hash = "sha256:3a060681098eb3fbc2fea0a86f7f6af6aa1ca71906039d88d891ea2cecdd4dbf"},+ {file = "types_setuptools-73.0.0.20240822-py3-none-any.whl", hash = "sha256:b9eba9b68546031317a0fa506d4973641d987d74f79e7dd8369ad4f7a93dea17"},][[package]]@@ -3795,7 +3795,7 @@ dependencies = [[[package]]name = "unstract-sdk"-version = "0.45.1"+version = "0.46.0"requires_python = "<3.11.1,>=3.9"summary = "A framework for writing Unstract Tools/Apps"groups = ["hook-check-django-migrations"]@@ -3811,7 +3811,7 @@ dependencies = ["llama-index-llms-anthropic==0.1.16","llama-index-llms-anyscale==0.1.4","llama-index-llms-azure-openai==0.1.10",- "llama-index-llms-bedrock==0.1.12",+ "llama-index-llms-bedrock==0.1.13","llama-index-llms-mistralai==0.1.19","llama-index-llms-ollama==0.2.2","llama-index-llms-openai==0.1.27",@@ -3834,8 +3834,8 @@ dependencies = ["transformers==4.37.0",]files = [- {file = "unstract_sdk-0.45.1-py3-none-any.whl", hash = "sha256:36a78ff8de154b17f60a11f369a478c02a07ef1506dc4b234771cb5c3a1f1625"},- {file = "unstract_sdk-0.45.1.tar.gz", hash = "sha256:7d6b7b133792552606e8413b6590903559c5d5c71ababa2f8b5ad81ed04fb426"},+ {file = "unstract_sdk-0.46.0-py3-none-any.whl", hash = "sha256:09b13289c3384578b6e9598cfe2ae1013705d9e394218682aa24bbb6406422b4"},+ {file = "unstract_sdk-0.46.0.tar.gz", hash = "sha256:4fa969eb078b5f1bb0eb05142519a08d307b5ea95afaaf06fb8383285857d037"},][[package]]@@ -3850,7 +3850,7 @@ dependencies = ["PyYAML~=6.0.1","docker~=6.1.3","jsonschema~=4.18.2",- "unstract-sdk~=0.45.1",+ "unstract-sdk~=0.46.0","unstract-tool-sandbox",]diff --git a/prompt-service/pdm.lock b/prompt-service/pdm.lockindex 4ce50a158..2ed66ce8e 100644--- a/prompt-service/pdm.lock+++ b/prompt-service/pdm.lock@@ -5,7 +5,7 @@groups = ["default", "deploy"]strategy = ["inherit_metadata"]lock_version = "4.4.2"-content_hash = "sha256:ec2b97fef8f7504f327c004969e5964ac64f8a4cf0ab566eb15141f7c2666a5a"+content_hash = "sha256:94b814774360a8ce0d0731b800484f36f2be41766a4cae0f6934aceecd753707"[[package]]name = "aiohappyeyeballs"@@ -154,7 +154,7 @@ files = [[[package]]name = "authlib"-version = "1.3.1"+version = "1.3.2"requires_python = ">=3.8"summary = "The ultimate Python library in building OAuth and OpenID Connect servers and clients."groups = ["default"]@@ -162,8 +162,8 @@ dependencies = ["cryptography",]files = [- {file = "Authlib-1.3.1-py2.py3-none-any.whl", hash = "sha256:d35800b973099bbadc49b42b256ecb80041ad56b7fe1216a362c7943c088f377"},- {file = "authlib-1.3.1.tar.gz", hash = "sha256:7ae843f03c06c5c0debd63c9db91f9fda64fa62a42a77419fa15fbb7e7a58917"},+ {file = "Authlib-1.3.2-py2.py3-none-any.whl", hash = "sha256:ede026a95e9f5cdc2d4364a52103f5405e75aa156357e831ef2bfd0bc5094dfc"},+ {file = "authlib-1.3.2.tar.gz", hash = "sha256:4b16130117f9eb82aa6eec97f6dd4673c3f960ac0283ccdae2897ee4bc030ba2"},][[package]]@@ -503,7 +503,7 @@ files = [[[package]]name = "google-api-core"-version = "2.19.1"+version = "2.19.2"requires_python = ">=3.7"summary = "Google API client core library"groups = ["default"]@@ -515,25 +515,25 @@ dependencies = ["requests<3.0.0.dev0,>=2.18.0",]files = [- {file = "google-api-core-2.19.1.tar.gz", hash = "sha256:f4695f1e3650b316a795108a76a1c416e6afb036199d1c1f1f110916df479ffd"},- {file = "google_api_core-2.19.1-py3-none-any.whl", hash = "sha256:f12a9b8309b5e21d92483bbd47ce2c445861ec7d269ef6784ecc0ea8c1fa6125"},+ {file = "google_api_core-2.19.2-py3-none-any.whl", hash = "sha256:53ec0258f2837dd53bbd3d3df50f5359281b3cc13f800c941dd15a9b5a415af4"},+ {file = "google_api_core-2.19.2.tar.gz", hash = "sha256:ca07de7e8aa1c98a8bfca9321890ad2340ef7f2eb136e558cee68f24b94b0a8f"},][[package]]name = "google-api-core"-version = "2.19.1"+version = "2.19.2"extras = ["grpc"]requires_python = ">=3.7"summary = "Google API client core library"groups = ["default"]dependencies = [- "google-api-core==2.19.1",+ "google-api-core==2.19.2","grpcio-status<2.0.dev0,>=1.33.2","grpcio<2.0dev,>=1.33.2",]files = [- {file = "google-api-core-2.19.1.tar.gz", hash = "sha256:f4695f1e3650b316a795108a76a1c416e6afb036199d1c1f1f110916df479ffd"},- {file = "google_api_core-2.19.1-py3-none-any.whl", hash = "sha256:f12a9b8309b5e21d92483bbd47ce2c445861ec7d269ef6784ecc0ea8c1fa6125"},+ {file = "google_api_core-2.19.2-py3-none-any.whl", hash = "sha256:53ec0258f2837dd53bbd3d3df50f5359281b3cc13f800c941dd15a9b5a415af4"},+ {file = "google_api_core-2.19.2.tar.gz", hash = "sha256:ca07de7e8aa1c98a8bfca9321890ad2340ef7f2eb136e558cee68f24b94b0a8f"},][[package]]@@ -554,7 +554,7 @@ files = [[[package]]name = "google-cloud-aiplatform"-version = "1.62.0"+version = "1.64.0"requires_python = ">=3.8"summary = "Vertex AI API client library"groups = ["default"]@@ -572,8 +572,8 @@ dependencies = ["shapely<3.0.0dev",]files = [- {file = "google-cloud-aiplatform-1.62.0.tar.gz", hash = "sha256:e15d5b2a99e30d4a16f4c51cfb8129962e6da41a9027d2ea696abe0e2f006fe8"},- {file = "google_cloud_aiplatform-1.62.0-py2.py3-none-any.whl", hash = "sha256:d7738e0fd4494a54ae08a51755a2143d58937cba2db826189771f45566c9ee3c"},+ {file = "google-cloud-aiplatform-1.64.0.tar.gz", hash = "sha256:475a612829b283eb8f783e773d37115c30db42e2e50065c8653db0c9bd18b0da"},+ {file = "google_cloud_aiplatform-1.64.0-py2.py3-none-any.whl", hash = "sha256:3a79ce2ec047868c348336624a60993464ca977fd258bcf609cc79309a8101c4"},][[package]]@@ -695,7 +695,7 @@ files = [[[package]]name = "googleapis-common-protos"-version = "1.63.2"+version = "1.65.0"requires_python = ">=3.7"summary = "Common protobufs used in Google APIs"groups = ["default"]@@ -703,24 +703,24 @@ dependencies = ["protobuf!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<6.0.0.dev0,>=3.20.2",]files = [- {file = "googleapis-common-protos-1.63.2.tar.gz", hash = "sha256:27c5abdffc4911f28101e635de1533fb4cfd2c37fbaa9174587c799fac90aa87"},- {file = "googleapis_common_protos-1.63.2-py2.py3-none-any.whl", hash = "sha256:27a2499c7e8aff199665b22741997e485eccc8645aa9176c7c988e6fae507945"},+ {file = "googleapis_common_protos-1.65.0-py2.py3-none-any.whl", hash = "sha256:2972e6c496f435b92590fd54045060867f3fe9be2c82ab148fc8885035479a63"},+ {file = "googleapis_common_protos-1.65.0.tar.gz", hash = "sha256:334a29d07cddc3aa01dee4988f9afd9b2916ee2ff49d6b757155dc0d197852c0"},][[package]]name = "googleapis-common-protos"-version = "1.63.2"+version = "1.65.0"extras = ["grpc"]requires_python = ">=3.7"summary = "Common protobufs used in Google APIs"groups = ["default"]dependencies = [- "googleapis-common-protos==1.63.2",+ "googleapis-common-protos==1.65.0","grpcio<2.0.0.dev0,>=1.44.0",]files = [- {file = "googleapis-common-protos-1.63.2.tar.gz", hash = "sha256:27c5abdffc4911f28101e635de1533fb4cfd2c37fbaa9174587c799fac90aa87"},- {file = "googleapis_common_protos-1.63.2-py2.py3-none-any.whl", hash = "sha256:27a2499c7e8aff199665b22741997e485eccc8645aa9176c7c988e6fae507945"},+ {file = "googleapis_common_protos-1.65.0-py2.py3-none-any.whl", hash = "sha256:2972e6c496f435b92590fd54045060867f3fe9be2c82ab148fc8885035479a63"},+ {file = "googleapis_common_protos-1.65.0.tar.gz", hash = "sha256:334a29d07cddc3aa01dee4988f9afd9b2916ee2ff49d6b757155dc0d197852c0"},][[package]]@@ -942,18 +942,18 @@ files = [[[package]]name = "idna"-version = "3.7"-requires_python = ">=3.5"+version = "3.8"+requires_python = ">=3.6"summary = "Internationalized Domain Names in Applications (IDNA)"groups = ["default"]files = [- {file = "idna-3.7-py3-none-any.whl", hash = "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0"},- {file = "idna-3.7.tar.gz", hash = "sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"},+ {file = "idna-3.8-py3-none-any.whl", hash = "sha256:050b4e5baadcd44d760cedbd2b8e639f2ff89bbc7a5730fcc662954303377aac"},+ {file = "idna-3.8.tar.gz", hash = "sha256:d838c2c0ed6fced7693d5e8ab8e734d5f8fda53a039c0164afb0b82e771e3603"},][[package]]name = "importlib-metadata"-version = "8.3.0"+version = "8.4.0"requires_python = ">=3.8"summary = "Read metadata from Python packages"groups = ["default"]@@ -962,8 +962,8 @@ dependencies = ["zipp>=0.5",]files = [- {file = "importlib_metadata-8.3.0-py3-none-any.whl", hash = "sha256:42817a4a0be5845d22c6e212db66a94ad261e2318d80b3e0d363894a79df2b67"},- {file = "importlib_metadata-8.3.0.tar.gz", hash = "sha256:9c8fa6e8ea0f9516ad5c8db9246a731c948193c7754d3babb0114a05b27dd364"},+ {file = "importlib_metadata-8.4.0-py3-none-any.whl", hash = "sha256:66f342cc6ac9818fc6ff340576acd24d65ba0b3efabb2b4ac08b598965a4a2f1"},+ {file = "importlib_metadata-8.4.0.tar.gz", hash = "sha256:9a547d3bc3608b025f93d403fdd1aae741c24fbb8314df4b155675742ce303c5"},][[package]]@@ -1073,7 +1073,7 @@ files = [[[package]]name = "llama-cloud"-version = "0.0.13"+version = "0.0.15"requires_python = "<4,>=3.8"summary = ""groups = ["default"]@@ -1082,8 +1082,8 @@ dependencies = ["pydantic>=1.10",]files = [- {file = "llama_cloud-0.0.13-py3-none-any.whl", hash = "sha256:b641450308b80c85eeae7ef9cb5a3b4a3b1823d5cde05b626ce33f7494ec6229"},- {file = "llama_cloud-0.0.13.tar.gz", hash = "sha256:0e3165a22f8df34a00d13f1f5739438ba4d620f2d8a9289df830078a39fe6f1f"},+ {file = "llama_cloud-0.0.15-py3-none-any.whl", hash = "sha256:52f18a3870e23c4a9b5f66827a58dc87d5a1c3034d1ce6ab513ca7eb09ae8b36"},+ {file = "llama_cloud-0.0.15.tar.gz", hash = "sha256:be06fd888e889623796b9c2aa0fc0d09ef039ed5145ff267d8408ccbea70c048"},][[package]]@@ -1332,7 +1332,7 @@ files = [[[package]]name = "llama-index-llms-bedrock"-version = "0.1.12"+version = "0.1.13"requires_python = "<4.0,>=3.8.1"summary = "llama-index llms bedrock integration"groups = ["default"]@@ -1342,8 +1342,8 @@ dependencies = ["llama-index-llms-anthropic<0.2.0,>=0.1.7",]files = [- {file = "llama_index_llms_bedrock-0.1.12-py3-none-any.whl", hash = "sha256:3217108e28a43700c0b9444eb0843a580d9e91627b5550d874a2d83a4a9b94ab"},- {file = "llama_index_llms_bedrock-0.1.12.tar.gz", hash = "sha256:9c575565623f6bd2b4445a2b7614d9dfac069b6cedc6ceeb740b5f4cac28368a"},+ {file = "llama_index_llms_bedrock-0.1.13-py3-none-any.whl", hash = "sha256:ac66932dc08b9ba83ad5914bee74975488bcdf1be143af7aa31289c120c76d3e"},+ {file = "llama_index_llms_bedrock-0.1.13.tar.gz", hash = "sha256:9a7a2e257302a7692dab23b42cf97eec5c6209c2afa7a865a42f9c1e29e689c7"},][[package]]@@ -1620,7 +1620,7 @@ files = [[[package]]name = "marshmallow"-version = "3.21.3"+version = "3.22.0"requires_python = ">=3.8"summary = "A lightweight library for converting complex datatypes to and from native Python datatypes."groups = ["default"]@@ -1628,8 +1628,8 @@ dependencies = ["packaging>=17.0",]files = [- {file = "marshmallow-3.21.3-py3-none-any.whl", hash = "sha256:86ce7fb914aa865001a4b2092c4c2872d13bc347f3d42673272cabfdbad386f1"},- {file = "marshmallow-3.21.3.tar.gz", hash = "sha256:4f57c5e050a54d66361e826f94fba213eb10b67b2fdb02c3e0343ce207ba1662"},+ {file = "marshmallow-3.22.0-py3-none-any.whl", hash = "sha256:71a2dce49ef901c3f97ed296ae5051135fd3febd2bf43afe0ae9a82143a494d9"},+ {file = "marshmallow-3.22.0.tar.gz", hash = "sha256:4972f529104a220bb8637d595aa4c9762afbe7f7a77d82dc58c1615d70c5823e"},][[package]]@@ -1768,7 +1768,7 @@ files = [[[package]]name = "ollama"-version = "0.3.1"+version = "0.3.2"requires_python = "<4.0,>=3.8"summary = "The official Python client for Ollama."groups = ["default"]@@ -1776,13 +1776,13 @@ dependencies = ["httpx<0.28.0,>=0.27.0",]files = [- {file = "ollama-0.3.1-py3-none-any.whl", hash = "sha256:db50034c73d6350349bdfba19c3f0d54a3cea73eb97b35f9d7419b2fc7206454"},- {file = "ollama-0.3.1.tar.gz", hash = "sha256:032572fb494a4fba200c65013fe937a65382c846b5f358d9e8918ecbc9ac44b5"},+ {file = "ollama-0.3.2-py3-none-any.whl", hash = "sha256:ed2a6f752bd91c49b477d84a259c5657785d7777689d4a27ffe0a4d5b5dd3cae"},+ {file = "ollama-0.3.2.tar.gz", hash = "sha256:7deb3287cdefa1c39cc046163096f8597b83f59ca31a1f8ae78e71eccb7af95f"},][[package]]name = "openai"-version = "1.41.1"+version = "1.42.0"requires_python = ">=3.7.1"summary = "The official Python library for the openai API"groups = ["default"]@@ -1797,8 +1797,8 @@ dependencies = ["typing-extensions<5,>=4.11",]files = [- {file = "openai-1.41.1-py3-none-any.whl", hash = "sha256:56fb04105263f79559aff3ceea2e1dd16f8c5385e8238cb66cf0e6888fa8bfcf"},- {file = "openai-1.41.1.tar.gz", hash = "sha256:e38e376efd91e0d4db071e2a6517b6b4cac1c2a6fd63efdc5ec6be10c5967c1b"},+ {file = "openai-1.42.0-py3-none-any.whl", hash = "sha256:dc91e0307033a4f94931e5d03cc3b29b9717014ad5e73f9f2051b6cb5eda4d80"},+ {file = "openai-1.42.0.tar.gz", hash = "sha256:c9d31853b4e0bc2dc8bd08003b462a006035655a701471695d0bfdc08529cde3"},][[package]]@@ -2183,7 +2183,7 @@ files = [[[package]]name = "qdrant-client"-version = "1.11.0"+version = "1.11.1"requires_python = ">=3.8"summary = "Client library for the Qdrant vector search engine"groups = ["default"]@@ -2197,8 +2197,8 @@ dependencies = ["urllib3<3,>=1.26.14",]files = [- {file = "qdrant_client-1.11.0-py3-none-any.whl", hash = "sha256:1f574ccebb91c0bc8a620c9a41a5a010084fbc4d8c6f1cd0ab7b2eeb97336fc0"},- {file = "qdrant_client-1.11.0.tar.gz", hash = "sha256:7c1d4d7a96cfd1ee0cde2a21c607e9df86bcca795ad8d1fd274d295ab64b8458"},+ {file = "qdrant_client-1.11.1-py3-none-any.whl", hash = "sha256:1375fad77c825c957181ff53775fb900c4383e817f864ea30b2605314da92f07"},+ {file = "qdrant_client-1.11.1.tar.gz", hash = "sha256:bfc23239b027073352ad92152209ec50281519686b7da3041612faece0fcdfbd"},][[package]]@@ -2311,13 +2311,13 @@ files = [[[package]]name = "setuptools"-version = "73.0.0"+version = "74.0.0"requires_python = ">=3.8"summary = "Easily download, build, install, upgrade, and uninstall Python packages"groups = ["default"]files = [- {file = "setuptools-73.0.0-py3-none-any.whl", hash = "sha256:f2bfcce7ae1784d90b04c57c2802e8649e1976530bb25dc72c2b078d3ecf4864"},- {file = "setuptools-73.0.0.tar.gz", hash = "sha256:3c08705fadfc8c7c445cf4d98078f0fafb9225775b2b4e8447e40348f82597c0"},+ {file = "setuptools-74.0.0-py3-none-any.whl", hash = "sha256:0274581a0037b638b9fc1c6883cc71c0210865aaa76073f7882376b641b84e8f"},+ {file = "setuptools-74.0.0.tar.gz", hash = "sha256:a85e96b8be2b906f3e3e789adec6a9323abf79758ecfa3065bd740d81158b11e"},][[package]]@@ -2571,7 +2571,7 @@ dependencies = [[[package]]name = "unstract-sdk"-version = "0.45.1"+version = "0.46.0"requires_python = "<3.11.1,>=3.9"summary = "A framework for writing Unstract Tools/Apps"groups = ["default"]@@ -2587,7 +2587,7 @@ dependencies = ["llama-index-llms-anthropic==0.1.16","llama-index-llms-anyscale==0.1.4","llama-index-llms-azure-openai==0.1.10",- "llama-index-llms-bedrock==0.1.12",+ "llama-index-llms-bedrock==0.1.13","llama-index-llms-mistralai==0.1.19","llama-index-llms-ollama==0.2.2","llama-index-llms-openai==0.1.27",@@ -2610,8 +2610,8 @@ dependencies = ["transformers==4.37.0",]files = [- {file = "unstract_sdk-0.45.1-py3-none-any.whl", hash = "sha256:36a78ff8de154b17f60a11f369a478c02a07ef1506dc4b234771cb5c3a1f1625"},- {file = "unstract_sdk-0.45.1.tar.gz", hash = "sha256:7d6b7b133792552606e8413b6590903559c5d5c71ababa2f8b5ad81ed04fb426"},+ {file = "unstract_sdk-0.46.0-py3-none-any.whl", hash = "sha256:09b13289c3384578b6e9598cfe2ae1013705d9e394218682aa24bbb6406422b4"},+ {file = "unstract_sdk-0.46.0.tar.gz", hash = "sha256:4fa969eb078b5f1bb0eb05142519a08d307b5ea95afaaf06fb8383285857d037"},][[package]]@@ -2670,7 +2670,7 @@ files = [[[package]]name = "werkzeug"-version = "3.0.3"+version = "3.0.4"requires_python = ">=3.8"summary = "The comprehensive WSGI web application library."groups = ["default"]@@ -2678,8 +2678,8 @@ dependencies = ["MarkupSafe>=2.1.1",]files = [- {file = "werkzeug-3.0.3-py3-none-any.whl", hash = "sha256:fc9645dc43e03e4d630d23143a04a7f947a9a3b5727cd535fdfe155a17cc48c8"},- {file = "werkzeug-3.0.3.tar.gz", hash = "sha256:097e5bfda9f0aba8da6b8545146def481d06aa7d3266e7448e2cccf67dd8bd18"},+ {file = "werkzeug-3.0.4-py3-none-any.whl", hash = "sha256:02c9eb92b7d6c06f31a782811505d2157837cea66aaede3e217c7c27c039476c"},+ {file = "werkzeug-3.0.4.tar.gz", hash = "sha256:34f2371506b250df4d4f84bfe7b0921e4762525762bbd936614909fe25cd7306"},][[package]]@@ -2712,12 +2712,12 @@ files = [[[package]]name = "zipp"-version = "3.20.0"+version = "3.20.1"requires_python = ">=3.8"summary = "Backport of pathlib-compatible object wrapper for zip files"groups = ["default"]marker = "python_version < \"3.10\""files = [- {file = "zipp-3.20.0-py3-none-any.whl", hash = "sha256:58da6168be89f0be59beb194da1250516fdaa062ccebd30127ac65d30045e10d"},- {file = "zipp-3.20.0.tar.gz", hash = "sha256:0145e43d89664cfe1a2e533adc75adafed82fe2da404b4bbb6b026c0157bdb31"},+ {file = "zipp-3.20.1-py3-none-any.whl", hash = "sha256:9960cd8967c8f85a56f920d5d507274e74f9ff813a0ab8889a5b5be2daf44064"},+ {file = "zipp-3.20.1.tar.gz", hash = "sha256:c22b14cc4763c5a5b04134207736c107db42e9d3ef2d9779d465f5f1bcba572b"},]diff --git a/prompt-service/pyproject.toml b/prompt-service/pyproject.tomlindex f6ea2c73d..df72de94e 100644--- a/prompt-service/pyproject.toml+++ b/prompt-service/pyproject.toml@@ -15,7 +15,7 @@ dependencies = ["flask~=3.0","llama-index==0.10.58","python-dotenv==1.0.0",- "unstract-sdk~=0.45.1",+ "unstract-sdk~=0.46.0","redis>=5.0.3","unstract-core @ file:///${PROJECT_ROOT}/../unstract/core","unstract-flags @ file:///${PROJECT_ROOT}/../unstract/flags",diff --git a/pyproject.toml b/pyproject.tomlindex e04e8482d..8c5cbd4e7 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -41,7 +41,7 @@ hook-check-django-migrations = ["psycopg2-binary==2.9.9","python-dotenv==1.0.0","python-magic==0.4.27",- "unstract-sdk~=0.45.1",+ "unstract-sdk~=0.46.0","-e unstract-connectors @ file:///${PROJECT_ROOT}/unstract/connectors","-e unstract-core @ file:///${PROJECT_ROOT}/unstract/core","-e unstract-flags @ file:///${PROJECT_ROOT}/unstract/flags",diff --git a/tools/classifier/requirements.txt b/tools/classifier/requirements.txtindex ae28b5eb0..0c4e48aea 100644--- a/tools/classifier/requirements.txt+++ b/tools/classifier/requirements.txt@@ -1,4 +1,4 @@# Add your dependencies here# Required for all unstract tools-unstract-sdk~=0.45.1+unstract-sdk~=0.46.0diff --git a/tools/classifier/src/config/properties.json b/tools/classifier/src/config/properties.jsonindex 804992208..5d298891e 100644--- a/tools/classifier/src/config/properties.json+++ b/tools/classifier/src/config/properties.json@@ -2,7 +2,7 @@"schemaVersion": "0.0.1","displayName": "File Classifier","functionName": "classify",- "toolVersion": "0.0.33",+ "toolVersion": "0.0.34","description": "Classifies a file into a bin based on its contents","input": {"description": "File to be classified"diff --git a/tools/structure/requirements.txt b/tools/structure/requirements.txtindex ae28b5eb0..0c4e48aea 100644--- a/tools/structure/requirements.txt+++ b/tools/structure/requirements.txt@@ -1,4 +1,4 @@# Add your dependencies here# Required for all unstract tools-unstract-sdk~=0.45.1+unstract-sdk~=0.46.0diff --git a/tools/structure/src/config/properties.json b/tools/structure/src/config/properties.jsonindex a7a861ffd..1ae89a631 100644--- a/tools/structure/src/config/properties.json+++ b/tools/structure/src/config/properties.json@@ -2,7 +2,7 @@"schemaVersion": "0.0.1","displayName": "Structure Tool","functionName": "structure_tool",- "toolVersion": "0.0.39",+ "toolVersion": "0.0.40","description": "This is a template tool which can answer set of input prompts designed in the Prompt Studio","input": {"description": "File that needs to be indexed and parsed for answers"diff --git a/tools/structure/src/main.py b/tools/structure/src/main.pyindex 234f88fcc..179621a3f 100644--- a/tools/structure/src/main.py+++ b/tools/structure/src/main.py@@ -5,7 +5,7 @@ from pathlib import Pathfrom typing import Anyfrom constants import SettingsKeys # type: ignore [attr-defined]-from unstract.sdk.constants import LogState, MetadataKey+from unstract.sdk.constants import LogLevel, LogState, MetadataKeyfrom unstract.sdk.index import Indexfrom unstract.sdk.prompt import PromptToolfrom unstract.sdk.tool.base import BaseTool@@ -167,7 +167,10 @@ class StructureTool(BaseTool):breakreindex = Falseexcept Exception as e:- self.stream_error_and_exit(f"Error fetching data and indexing: {e}")+ self.stream_log(+ f"Error fetching data and indexing: {e}", level=LogLevel.ERROR+ )+ raise# TODO : Make this snippet pluggable and introduce pluggablity for tools.for output in outputs:diff --git a/tools/text_extractor/requirements.txt b/tools/text_extractor/requirements.txtindex ae28b5eb0..0c4e48aea 100644--- a/tools/text_extractor/requirements.txt+++ b/tools/text_extractor/requirements.txt@@ -1,4 +1,4 @@# Add your dependencies here# Required for all unstract tools-unstract-sdk~=0.45.1+unstract-sdk~=0.46.0diff --git a/tools/text_extractor/src/config/properties.json b/tools/text_extractor/src/config/properties.jsonindex e63f62d54..e35a4c476 100644--- a/tools/text_extractor/src/config/properties.json+++ b/tools/text_extractor/src/config/properties.json@@ -2,7 +2,7 @@"schemaVersion": "0.0.1","displayName": "Text Extractor","functionName": "text_extractor",- "toolVersion": "0.0.31",+ "toolVersion": "0.0.32","description": "The Text Extractor is a powerful tool designed to convert documents to its text form or Extract texts from documents","input": {"description": "Document"diff --git a/unstract/tool-registry/pyproject.toml b/unstract/tool-registry/pyproject.tomlindex 2be49d823..f73d8a525 100644--- a/unstract/tool-registry/pyproject.toml+++ b/unstract/tool-registry/pyproject.toml@@ -13,7 +13,7 @@ dependencies = ["docker~=6.1.3","jsonschema~=4.18.2","PyYAML~=6.0.1",- "unstract-sdk~=0.45.1",+ "unstract-sdk~=0.46.0",# ! IMPORTANT!# Local dependencies usually need to be added as:# https://pdm-project.org/latest/usage/dependency/#local-dependenciesdiff --git a/unstract/tool-registry/tool_registry_config/public_tools.json b/unstract/tool-registry/tool_registry_config/public_tools.jsonindex ccc0fa092..303c717aa 100644--- a/unstract/tool-registry/tool_registry_config/public_tools.json+++ b/unstract/tool-registry/tool_registry_config/public_tools.json@@ -5,7 +5,7 @@"schemaVersion": "0.0.1","displayName": "File Classifier","functionName": "classify",- "toolVersion": "0.0.33",+ "toolVersion": "0.0.34","description": "Classifies a file into a bin based on its contents","input": {"description": "File to be classified"@@ -106,9 +106,9 @@"properties": {}},"icon": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<svg\n enable-background=\"new 0 0 20 20\"\n height=\"48\"\n viewBox=\"0 0 20 20\"\n width=\"48\"\n fill=\"#000000\"\n version=\"1.1\"\n id=\"svg8109\"\n sodipodi:docname=\"folder_copy_black_48dp.svg\"\n xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\"\n xmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:svg=\"http://www.w3.org/2000/svg\">\n <defs\n id=\"defs8113\" />\n <sodipodi:namedview\n id=\"namedview8111\"\n pagecolor=\"#ffffff\"\n bordercolor=\"#000000\"\n borderopacity=\"0.25\"\n inkscape:showpageshadow=\"2\"\n inkscape:pageopacity=\"0.0\"\n inkscape:pagecheckerboard=\"0\"\n inkscape:deskcolor=\"#d1d1d1\"\n showgrid=\"false\" />\n <g\n id=\"g8099\">\n <rect\n fill=\"none\"\n height=\"20\"\n width=\"20\"\n x=\"0\"\n id=\"rect8097\"\n y=\"0\" />\n </g>\n <g\n id=\"g8107\"\n style=\"fill:#ff4d6d;fill-opacity:1\">\n <g\n id=\"g8105\"\n style=\"fill:#ff4d6d;fill-opacity:1\">\n <path\n d=\"M 2.5,5 H 1 V 15.5 C 1,16.33 1.67,17 2.5,17 H 15.68 V 15.5 H 2.5 Z\"\n id=\"path8101\"\n style=\"fill:#ff4d6d;fill-opacity:1\" />\n <path\n d=\"M 16.5,4 H 11 L 9,2 H 5.5 C 4.67,2 4,2.67 4,3.5 v 9 C 4,13.33 4.67,14 5.5,14 h 11 c 0.83,0 1.5,-0.67 1.5,-1.5 v -7 C 18,4.67 17.33,4 16.5,4 Z m 0,8.5 h -11 v -9 h 2.88 l 2,2 h 6.12 z\"\n id=\"path8103\"\n style=\"fill:#ff4d6d;fill-opacity:1\" />\n </g>\n </g>\n</svg>\n",- "image_url": "docker:unstract/tool-classifier:0.0.33",+ "image_url": "docker:unstract/tool-classifier:0.0.34","image_name": "unstract/tool-classifier",- "image_tag": "0.0.33"+ "image_tag": "0.0.34"},"text_extractor": {"tool_uid": "text_extractor",@@ -116,7 +116,7 @@"schemaVersion": "0.0.1","displayName": "Text Extractor","functionName": "text_extractor",- "toolVersion": "0.0.31",+ "toolVersion": "0.0.32","description": "The Text Extractor is a powerful tool designed to convert documents to its text form or Extract texts from documents","input": {"description": "Document"@@ -191,8 +191,8 @@}},"icon": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<svg\n enable-background=\"new 0 0 20 20\"\n height=\"48\"\n viewBox=\"0 0 20 20\"\n width=\"48\"\n fill=\"#000000\"\n version=\"1.1\"\n id=\"svg8109\"\n sodipodi:docname=\"folder_copy_black_48dp.svg\"\n xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\"\n xmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:svg=\"http://www.w3.org/2000/svg\">\n <defs\n id=\"defs8113\" />\n <sodipodi:namedview\n id=\"namedview8111\"\n pagecolor=\"#ffffff\"\n bordercolor=\"#000000\"\n borderopacity=\"0.25\"\n inkscape:showpageshadow=\"2\"\n inkscape:pageopacity=\"0.0\"\n inkscape:pagecheckerboard=\"0\"\n inkscape:deskcolor=\"#d1d1d1\"\n showgrid=\"false\" />\n <g\n id=\"g8099\">\n <rect\n fill=\"none\"\n height=\"20\"\n width=\"20\"\n x=\"0\"\n id=\"rect8097\"\n y=\"0\" />\n </g>\n <g\n id=\"g8107\"\n style=\"fill:#ff4d6d;fill-opacity:1\">\n <g\n id=\"g8105\"\n style=\"fill:#ff4d6d;fill-opacity:1\">\n <path\n d=\"M 2.5,5 H 1 V 15.5 C 1,16.33 1.67,17 2.5,17 H 15.68 V 15.5 H 2.5 Z\"\n id=\"path8101\"\n style=\"fill:#ff4d6d;fill-opacity:1\" />\n <path\n d=\"M 16.5,4 H 11 L 9,2 H 5.5 C 4.67,2 4,2.67 4,3.5 v 9 C 4,13.33 4.67,14 5.5,14 h 11 c 0.83,0 1.5,-0.67 1.5,-1.5 v -7 C 18,4.67 17.33,4 16.5,4 Z m 0,8.5 h -11 v -9 h 2.88 l 2,2 h 6.12 z\"\n id=\"path8103\"\n style=\"fill:#ff4d6d;fill-opacity:1\" />\n </g>\n </g>\n</svg>\n",- "image_url": "docker:unstract/tool-text-extractor:0.0.31",+ "image_url": "docker:unstract/tool-text-extractor:0.0.32","image_name": "unstract/tool-text-extractor",- "image_tag": "0.0.31"+ "image_tag": "0.0.32"}}