Skip to content

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

Label changes for better understanding/UX (#1196)

Shuveb Hussain9e1773d32c85
diff --git a/frontend/src/components/custom-tools/add-custom-tool-form-modal/AddCustomToolFormModal.jsx b/frontend/src/components/custom-tools/add-custom-tool-form-modal/AddCustomToolFormModal.jsx
index 12401fd17..1a1610bb2 100644
--- a/frontend/src/components/custom-tools/add-custom-tool-form-modal/AddCustomToolFormModal.jsx
+++ b/frontend/src/components/custom-tools/add-custom-tool-form-modal/AddCustomToolFormModal.jsx
@@ -7,6 +7,7 @@ import { getBackendErrorDetail } from "../../../helpers/GetStaticData";
import { useAlertStore } from "../../../store/alert-store";
import "./AddCustomToolFormModal.css";
import { useExceptionHandler } from "../../../hooks/useExceptionHandler";
+
import { useNavigate } from "react-router-dom";
const defaultFromDetails = {
tool_name: "",
@@ -89,7 +90,11 @@ function AddCustomToolFormModal({
return (
<Modal
- title={isEdit ? "Edit Tool Information " : "Add Tool Information"}
+ title={
+ isEdit
+ ? "Edit Prompt Studio project"
+ : "Create new Prompt Studio project"
+ }
width={450}
open={open}
onCancel={() => {
@@ -113,9 +118,9 @@ function AddCustomToolFormModal({
onValuesChange={handleInputChange}
>
<Form.Item
- label="Tool Name"
+ label="Prompt Studio project name"
name="tool_name"
- rules={[{ required: true, message: "Please enter tool name" }]}
+ rules={[{ required: true, message: "Please enter project name" }]}
validateStatus={
getBackendErrorDetail("tool_name", backendErrors) ? "error" : ""
}
diff --git a/frontend/src/components/deployments/create-api-deployment-modal/CreateApiDeploymentModal.jsx b/frontend/src/components/deployments/create-api-deployment-modal/CreateApiDeploymentModal.jsx
index d8f325700..c67504c88 100644
--- a/frontend/src/components/deployments/create-api-deployment-modal/CreateApiDeploymentModal.jsx
+++ b/frontend/src/components/deployments/create-api-deployment-modal/CreateApiDeploymentModal.jsx
@@ -183,7 +183,7 @@ const CreateApiDeploymentModal = ({
onValuesChange={handleInputChange}
>
<Form.Item
- label="Display Name"
+ label="Display Name(for humans)"
name="display_name"
rules={[{ required: true, message: "Please enter display name" }]}
validateStatus={
@@ -206,7 +206,7 @@ const CreateApiDeploymentModal = ({
</Form.Item>
<Form.Item
- label="API Name"
+ label="API Name(forms part of the API signature)"
name="api_name"
rules={[
{ required: true, message: "Please enter API Name" },