Skip to content

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

fix: prompt-studio-fix (#33)

Kirtiman Mishradebc7f35255c
diff --git a/backend/prompt_studio/prompt_studio_core/prompt_studio_helper.py b/backend/prompt_studio/prompt_studio_core/prompt_studio_helper.py
index 361f87066..33bc189ce 100644
--- a/backend/prompt_studio/prompt_studio_core/prompt_studio_helper.py
+++ b/backend/prompt_studio/prompt_studio_core/prompt_studio_helper.py
@@ -388,6 +388,7 @@ class PromptStudioHelper:
vector_db = str(profile_manager.vector_store.id)
x2text_adapter = str(profile_manager.x2text.id)
file_hash = ToolUtils.get_hash_from_file(file_path=file_name)
+ extract_file_path = None
if not is_summary:
directory, filename = os.path.split(file_name)
extract_file_path: str = os.path.join(