Skip to content

Commit 6cf7754

Browse files
[DEPS] Version bump in Adapter to 0.15.0 and SDK to 0.26.0 (#328)
* Version bump in adapter & SDK * Pdm lock file update
1 parent 1454d90 commit 6cf7754

File tree

16 files changed

+339
-294
lines changed

16 files changed

+339
-294
lines changed

backend/pdm.lock

Lines changed: 108 additions & 93 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ dependencies = [
3030
"python-socketio==5.9.0", # For log_events
3131
"social-auth-app-django==5.3.0", # For OAuth
3232
"social-auth-core==4.4.2", # For OAuth
33-
"unstract-sdk~=0.25.0",
34-
"unstract-adapters~=0.14.0",
33+
"unstract-sdk~=0.26.0",
34+
"unstract-adapters~=0.15.0",
3535
# ! IMPORTANT!
3636
# Indirect local dependencies usually need to be added in their own projects
3737
# as: https://pdm-project.org/latest/usage/dependency/#local-dependencies.

backend/sample.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ PROMPT_PORT=3003
8989
PROMPT_STUDIO_FILE_PATH=/app/prompt-studio-data
9090

9191
# Structure Tool
92-
STRUCTURE_TOOL_IMAGE_URL="docker:unstract/tool-structure:0.0.19"
92+
STRUCTURE_TOOL_IMAGE_URL="docker:unstract/tool-structure:0.0.20"
9393
STRUCTURE_TOOL_IMAGE_NAME="unstract/tool-structure"
94-
STRUCTURE_TOOL_IMAGE_TAG="0.0.19"
94+
STRUCTURE_TOOL_IMAGE_TAG="0.0.20"
9595

9696
# Feature Flags
9797
EVALUATION_SERVER_IP=localhost
43.2 KB
Loading

pdm.lock

Lines changed: 108 additions & 93 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prompt-service/pdm.lock

Lines changed: 103 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prompt-service/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies = [
1515
"flask~=3.0",
1616
"llama-index==0.10.28",
1717
"python-dotenv==1.0.0",
18-
"unstract-sdk~=0.25.0",
18+
"unstract-sdk~=0.26.0",
1919
"redis>=5.0.3",
2020
"unstract-core @ file:///${PROJECT_ROOT}/../unstract/core",
2121
]

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ hook-check-django-migrations = [
4040
"psycopg2-binary==2.9.9",
4141
"python-dotenv==1.0.0",
4242
"python-magic==0.4.27",
43-
"unstract-sdk~=0.25.0",
44-
"unstract-adapters~=0.14.0",
43+
"unstract-sdk~=0.26.0",
44+
"unstract-adapters~=0.15.0",
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Add your dependencies here
22

33
# Required for all unstract tools
4-
unstract-sdk~=0.25.0
4+
unstract-sdk~=0.26.0

tools/classifier/src/config/properties.json

Lines changed: 1 addition & 1 deletion
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.17",
5+
"toolVersion": "0.0.18",
66
"description": "Classifies a file into a bin based on its contents",
77
"input": {
88
"description": "File to be classified"

tools/structure/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Add your dependencies here
22

33
# Required for all unstract tools
4-
unstract-sdk~=0.25.0
4+
unstract-sdk~=0.26.0

tools/structure/src/config/properties.json

Lines changed: 1 addition & 1 deletion
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.19",
5+
"toolVersion": "0.0.20",
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Add your dependencies here
22

33
# Required for all unstract tools
4-
unstract-sdk~=0.25.0
4+
unstract-sdk~=0.26.0

tools/text_extractor/src/config/properties.json

Lines changed: 1 addition & 1 deletion
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.15",
5+
"toolVersion": "0.0.16",
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

Lines changed: 1 addition & 1 deletion
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-adapters~=0.14.0",
16+
"unstract-adapters~=0.15.0",
1717
# ! IMPORTANT!
1818
# Local dependencies usually need to be added as:
1919
# https://pdm-project.org/latest/usage/dependency/#local-dependencies

unstract/tool-registry/src/unstract/tool_registry/public_tools.json

Lines changed: 6 additions & 6 deletions
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.16",
8+
"toolVersion": "0.0.17",
99
"description": "Classifies a file into a bin based on its contents",
1010
"input": {
1111
"description": "File to be classified"
@@ -139,17 +139,17 @@
139139
}
140140
},
141141
"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",
142-
"image_url": "docker:unstract/tool-classifier:0.0.16",
142+
"image_url": "docker:unstract/tool-classifier:0.0.17",
143143
"image_name": "unstract/tool-classifier",
144-
"image_tag": "0.0.16"
144+
"image_tag": "0.0.17"
145145
},
146146
"text_extractor": {
147147
"tool_uid": "text_extractor",
148148
"properties": {
149149
"schemaVersion": "0.0.1",
150150
"displayName": "Text Extractor",
151151
"functionName": "text_extractor",
152-
"toolVersion": "0.0.15",
152+
"toolVersion": "0.0.16",
153153
"description": "The Text Extractor is a powerful tool designed to convert documents to its text form or Extract texts from documents",
154154
"input": {
155155
"description": "Document"
@@ -224,8 +224,8 @@
224224
}
225225
},
226226
"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",
227-
"image_url": "docker:unstract/tool-text-extractor:0.0.15",
227+
"image_url": "docker:unstract/tool-text-extractor:0.0.16",
228228
"image_name": "unstract/tool-text-extractor",
229-
"image_tag": "0.0.15"
229+
"image_tag": "0.0.16"
230230
}
231231
}

0 commit comments

Comments
 (0)