LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
Fixed summary indexing (#587)
Deepak K2f29c7b11b89
diff --git a/backend/prompt_studio/prompt_studio_core/prompt_studio_helper.py b/backend/prompt_studio/prompt_studio_core/prompt_studio_helper.pyindex f45412118..befabc54d 100644--- a/backend/prompt_studio/prompt_studio_core/prompt_studio_helper.py+++ b/backend/prompt_studio/prompt_studio_core/prompt_studio_helper.py@@ -784,8 +784,8 @@ class PromptStudioHelper:x2text_adapter = str(profile_manager.x2text.id)extract_file_path: Optional[str] = None+ directory, filename = os.path.split(file_path)if not is_summary:- directory, filename = os.path.split(file_path)extract_file_path = os.path.join(directory, "extract", os.path.splitext(filename)[0] + ".txt")