Skip to content

Commit 7946bf8

Browse files
fix: Updated the SDK version to 0.54.0rc11 - vector_db connections closing pre-maturely (#1047)
* Updated versions to the latest sdk(0.054.0rc11) and updater the tool versions * Commit pdm.lock changes --------- Co-authored-by: pk-zipstack <[email protected]> Co-authored-by: vishnuszipstack <[email protected]>
1 parent ae00a49 commit 7946bf8

File tree

17 files changed

+1090
-1313
lines changed

17 files changed

+1090
-1313
lines changed

backend/pdm.lock

+323-380
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies = [
3232
"python-socketio==5.9.0", # For log_events
3333
"social-auth-app-django==5.3.0", # For OAuth
3434
"social-auth-core==4.4.2", # For OAuth
35-
"unstract-sdk~=0.54.0rc8",
35+
"unstract-sdk~=0.54.0rc11",
3636
# ! IMPORTANT!
3737
# Indirect local dependencies usually need to be added in their own projects
3838
# as: https://pdm-project.org/latest/usage/dependency/#local-dependencies.

backend/sample.env

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ REMOTE_PROMPT_STUDIO_FILE_PATH=
8282

8383
# Structure Tool Image (Runs prompt studio exported tools)
8484
# https://hub.docker.com/r/unstract/tool-structure
85-
STRUCTURE_TOOL_IMAGE_URL="docker:unstract/tool-structure:0.0.53"
85+
STRUCTURE_TOOL_IMAGE_URL="docker:unstract/tool-structure:0.0.54"
8686
STRUCTURE_TOOL_IMAGE_NAME="unstract/tool-structure"
87-
STRUCTURE_TOOL_IMAGE_TAG="0.0.53"
87+
STRUCTURE_TOOL_IMAGE_TAG="0.0.54"
8888

8989
# Feature Flags
9090
EVALUATION_SERVER_IP=unstract-flipt

pdm.lock

+338-395
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

platform-service/pdm.lock

+91-143
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

platform-service/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies = [
1313
"redis~=5.2.1",
1414
"cryptography>=41.0.7",
1515
"requests>=2.31.0",
16-
"unstract-sdk==0.54.0rc10",
16+
"unstract-sdk==0.54.0rc11",
1717
"gcsfs==2024.10.0",
1818
"unstract-flags @ file:///${PROJECT_ROOT}/../unstract/flags",
1919
]

prompt-service/pdm.lock

+319-376
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prompt-service/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies = [
1515
"flask~=3.0",
1616
"llama-index==0.10.58",
1717
"python-dotenv==1.0.0",
18-
"unstract-sdk~=0.54.0rc8",
18+
"unstract-sdk~=0.54.0rc11",
1919
"redis>=5.0.3",
2020
"unstract-core @ file:///${PROJECT_ROOT}/../unstract/core",
2121
"unstract-flags @ file:///${PROJECT_ROOT}/../unstract/flags",

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ hook-check-django-migrations = [
4141
"psycopg2-binary==2.9.9",
4242
"python-dotenv==1.0.0",
4343
"python-magic==0.4.27",
44-
"unstract-sdk~=0.54.0rc8",
44+
"unstract-sdk~=0.54.0rc11",
4545
"-e unstract-connectors @ file:///${PROJECT_ROOT}/unstract/connectors",
4646
"-e unstract-core @ file:///${PROJECT_ROOT}/unstract/core",
4747
"-e unstract-flags @ file:///${PROJECT_ROOT}/unstract/flags",

tools/classifier/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Add your dependencies here
22

33
# Required for all unstract tools
4-
unstract-sdk~=0.54.0rc6
4+
unstract-sdk~=0.54.0rc11
55
# Required for remote storage support
66
s3fs[boto3]==2024.6.0

tools/classifier/src/config/properties.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"schemaVersion": "0.0.1",
33
"displayName": "File Classifier",
44
"functionName": "classify",
5-
"toolVersion": "0.0.41",
5+
"toolVersion": "0.0.42",
66
"description": "Classifies a file into a bin based on its contents",
77
"input": {
88
"description": "File to be classified"

tools/structure/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Add your dependencies here
22

33
# Required for all unstract tools
4-
unstract-sdk~=0.54.0rc8
4+
unstract-sdk~=0.54.0rc11
55
# Required for remote storage support
66
s3fs[boto3]==2024.6.0

tools/structure/src/config/properties.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"schemaVersion": "0.0.1",
33
"displayName": "Structure Tool",
44
"functionName": "structure_tool",
5-
"toolVersion": "0.0.53",
5+
"toolVersion": "0.0.54",
66
"description": "This is a template tool which can answer set of input prompts designed in the Prompt Studio",
77
"input": {
88
"description": "File that needs to be indexed and parsed for answers"

tools/text_extractor/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Add your dependencies here
22

33
# Required for all unstract tools
4-
unstract-sdk~=0.54.0rc6
4+
unstract-sdk~=0.54.0rc11
55
# Required for remote storage support
66
s3fs[boto3]==2024.6.0

tools/text_extractor/src/config/properties.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"schemaVersion": "0.0.1",
33
"displayName": "Text Extractor",
44
"functionName": "text_extractor",
5-
"toolVersion": "0.0.40",
5+
"toolVersion": "0.0.41",
66
"description": "The Text Extractor is a powerful tool designed to convert documents to its text form or Extract texts from documents",
77
"input": {
88
"description": "Document"

unstract/tool-registry/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies = [
1313
"docker~=6.1.3",
1414
"jsonschema~=4.18.2",
1515
"PyYAML~=6.0.1",
16-
"unstract-sdk~=0.54.0rc8",
16+
"unstract-sdk~=0.54.0rc11",
1717
# ! IMPORTANT!
1818
# Local dependencies usually need to be added as:
1919
# https://pdm-project.org/latest/usage/dependency/#local-dependencies

unstract/tool-registry/tool_registry_config/public_tools.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"schemaVersion": "0.0.1",
66
"displayName": "File Classifier",
77
"functionName": "classify",
8-
"toolVersion": "0.0.41",
8+
"toolVersion": "0.0.42",
99
"description": "Classifies a file into a bin based on its contents",
1010
"input": {
1111
"description": "File to be classified"
@@ -106,17 +106,17 @@
106106
"properties": {}
107107
},
108108
"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",
109-
"image_url": "docker:unstract/tool-classifier:0.0.41",
109+
"image_url": "docker:unstract/tool-classifier:0.0.42",
110110
"image_name": "unstract/tool-classifier",
111-
"image_tag": "0.0.41"
111+
"image_tag": "0.0.42"
112112
},
113113
"text_extractor": {
114114
"tool_uid": "text_extractor",
115115
"properties": {
116116
"schemaVersion": "0.0.1",
117117
"displayName": "Text Extractor",
118118
"functionName": "text_extractor",
119-
"toolVersion": "0.0.40",
119+
"toolVersion": "0.0.41",
120120
"description": "The Text Extractor is a powerful tool designed to convert documents to its text form or Extract texts from documents",
121121
"input": {
122122
"description": "Document"
@@ -191,8 +191,8 @@
191191
}
192192
},
193193
"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",
194-
"image_url": "docker:unstract/tool-text-extractor:0.0.40",
194+
"image_url": "docker:unstract/tool-text-extractor:0.0.41",
195195
"image_name": "unstract/tool-text-extractor",
196-
"image_tag": "0.0.40"
196+
"image_tag": "0.0.41"
197197
}
198198
}

0 commit comments

Comments
 (0)