Skip to content

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

Persist the evaluation data inside the output manager

Tahier Hussain498b42ad2ec8
diff --git a/backend/prompt_studio/prompt_studio_output_manager/models.py b/backend/prompt_studio/prompt_studio_output_manager/models.py
index 3392bd5a2..1e12d7cd2 100644
--- a/backend/prompt_studio/prompt_studio_output_manager/models.py
+++ b/backend/prompt_studio/prompt_studio_output_manager/models.py
@@ -26,7 +26,13 @@ class PromptStudioOutputManager(BaseModel):
db_comment="Field to store the document name",
editable=True,
)
-
+ eval_metrics = models.JSONField(
+ db_column="eval_metrics",
+ null=False,
+ blank=False,
+ default=list,
+ db_comment="Field to store the evaluation metrics",
+ )
tool_id = models.ForeignKey(
CustomTool,
on_delete=models.SET_NULL,