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 FormDataItem TypeError and improve LLM profile UI (#1414)
vishnuszipstack4d8416b083c4
diff --git a/backend/api_v2/postman_collection/dto.py b/backend/api_v2/postman_collection/dto.pyindex 263bb15b5..17a6865ee 100644--- a/backend/api_v2/postman_collection/dto.py+++ b/backend/api_v2/postman_collection/dto.py@@ -24,6 +24,7 @@ class FormDataItem:type: strsrc: str | None = Nonevalue: str | None = None+ description: str | None = Nonedef __post_init__(self) -> None:if self.type == "file":diff --git a/frontend/src/components/custom-tools/manage-llm-profiles/ManageLlmProfiles.jsx b/frontend/src/components/custom-tools/manage-llm-profiles/ManageLlmProfiles.jsxindex bb831cda2..c2ca9458f 100644--- a/frontend/src/components/custom-tools/manage-llm-profiles/ManageLlmProfiles.jsx+++ b/frontend/src/components/custom-tools/manage-llm-profiles/ManageLlmProfiles.jsx@@ -116,32 +116,22 @@ function ManageLlmProfiles() {const modifiedRows = llmProfiles.map((item) => {return {key: item?.profile_id,- name: (- <div>- <div>{item?.profile_name || ""}</div>- <div className="profile-id-container">- <Typography.Text type="secondary" className="profile-id-text">- {item?.profile_id}- </Typography.Text>- <Tooltip title="Copy Profile ID">- <Button- size="small"- type="text"- className="profile-copy-button"- onClick={() => copyProfileId(item?.profile_id)}- >- <CopyOutlined className="profile-copy-icon" />- </Button>- </Tooltip>- </div>- </div>- ),+ name: item?.profile_name || "",llm: item?.llm || "",embedding_model: item?.embedding_model || "",vector_db: item?.vector_store || "",text_extractor: item?.x2text || "",actions: (<div className="action-buttons-container">+ <Tooltip title="Copy Profile ID">+ <Button+ size="small"+ className="display-flex-align-center"+ onClick={() => copyProfileId(item?.profile_id)}+ >+ <CopyOutlined classID="manage-llm-pro-icon" />+ </Button>+ </Tooltip><Buttonsize="small"className="display-flex-align-center"