diff --git a/dat-gateway/src/main/resources/static/admin/scaffold.html b/dat-gateway/src/main/resources/static/admin/scaffold.html index f68646a6..d4814e94 100644 --- a/dat-gateway/src/main/resources/static/admin/scaffold.html +++ b/dat-gateway/src/main/resources/static/admin/scaffold.html @@ -967,12 +967,14 @@
- -
-
- -
-
+ +
+ 만들려는 Tool을 제안서처럼 적어주세요. 업무 목적 → 입력값 → 출력값 → 사용 시점 → 제외 범위 → 연계 방식 순서로 구체적으로 작성할수록 정확한 초안을 만들 수 있습니다. +
+ +
+ +
-
-
-
선택한 AI가 Tool 기본 정보와 Input/Output Fields를 채웁니다. Legacy Interface ID와 Client System Code는 실제 연계 명세를 확인해 직접 입력하세요.
+
잘 모르는 항목은 생략해도 됩니다. 선택한 AI가 입력 내용을 바탕으로 Tool 기본 정보와 Input/Output Fields를 채웁니다. Legacy Interface ID와 Client System Code는 실제 연계 명세를 확인해 직접 입력하세요.
@@ -2403,6 +2403,21 @@ return document.getElementById('aiModelSelect').value; } + const TOOL_DRAFT_SAMPLE = `고객번호로 보험계약 상태를 조회하는 Tool을 만들어주세요. +목적: 고객의 계약 유지 상태 확인 +입력: 고객번호(필수), 기준일자(선택) +출력: 계약번호, 상품명, 계약상태, 계약일자 +사용 시점: 고객이 보유 계약이나 계약 상태를 문의할 때 +제외 범위: 계약 변경 및 해지 처리 +연계 방식: MCI`; + + function loadToolDraftSample() { + const input = document.getElementById('toolNaturalLanguage'); + if (input.value.trim() && !confirm('작성 중인 내용 대신 샘플을 불러올까요?')) return; + input.value = TOOL_DRAFT_SAMPLE; + input.focus(); + } + async function createAiToolDraft() { const source = document.getElementById('toolNaturalLanguage').value.trim(); if (!source) {