LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
Re-indexing issue fix (#337)
Gayathri5e2d8595f7d7
diff --git a/backend/prompt_studio/prompt_studio_index_manager/prompt_studio_index_helper.py b/backend/prompt_studio/prompt_studio_index_manager/prompt_studio_index_helper.pyindex b66796a19..69fd5ba5b 100644--- a/backend/prompt_studio/prompt_studio_index_manager/prompt_studio_index_helper.py+++ b/backend/prompt_studio/prompt_studio_index_manager/prompt_studio_index_helper.py@@ -27,7 +27,6 @@ class PromptStudioIndexHelper:args: dict[str, str] = dict()args["document_manager"] = documentargs["profile_manager"] = profile_manager- args[index_id] = doc_idtry:# Create or get the existing record for this document and@@ -50,6 +49,7 @@ class PromptStudioIndexHelper:if doc_id not in index_ids:index_ids_list.append(doc_id)+ args[index_id] = doc_idargs["index_ids_history"] = json.dumps(index_ids_list)# Update the record with the index id