LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
[FIX] Fixing line-item identifier (#1273)
harini-venkataraman87ecf21b9267
diff --git a/backend/prompt_studio/prompt_studio_v2/migrations/0007_merge_table_record_cell_types.py b/backend/prompt_studio/prompt_studio_v2/migrations/0007_merge_table_record_cell_types.pyindex 5f5ccd449..52017d79c 100644--- a/backend/prompt_studio/prompt_studio_v2/migrations/0007_merge_table_record_cell_types.py+++ b/backend/prompt_studio/prompt_studio_v2/migrations/0007_merge_table_record_cell_types.py@@ -10,7 +10,7 @@ def forward_enforce_type_updates(apps: Any, schema_editor: Any) -> None:# line-item -> jsonprompt.objects.filter(enforce_type="line-item").update(- enforce_type="json", is_line_item=True+ enforce_type="json", has_line_item_history=True)# table or record -> line-item@@ -23,7 +23,7 @@ def revert_enforce_type_updates(apps, schema_editor: Any) -> None:prompt = apps.get_model("prompt_studio_v2", "ToolStudioPrompt")# Revert json -> line-item for records where is_line_item is True- prompt.objects.filter(enforce_type="json", is_line_item=True).update(+ prompt.objects.filter(enforce_type="json", has_line_item_history=True).update(enforce_type="line-item")