Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

Fix usage tracking (#326)

Deepak K3b787e87adde
diff --git a/tools/classifier/src/config/properties.json b/tools/classifier/src/config/properties.json
index 4155a6437..8401bb2aa 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.16",
+ "toolVersion": "0.0.17",
"description": "Classifies a file into a bin based on its contents",
"input": {
"description": "File to be classified"
diff --git a/tools/classifier/src/main.py b/tools/classifier/src/main.py
index 17d13d4fb..39300629b 100644
--- a/tools/classifier/src/main.py
+++ b/tools/classifier/src/main.py
@@ -88,6 +88,7 @@ class UnstractClassifier(BaseTool):
llm=llm,
workflow_id=self.workflow_id,
execution_id=self.execution_id,
+ adapter_instance_id=llm_adapter_instance_id,
)
max_tokens = tool_llm.get_max_tokens(reserved_for_output=50 + 1000)
max_bytes = int(max_tokens * 1.3)