From 4229ff7931caffae6ad3c621127546af9db19540 Mon Sep 17 00:00:00 2001 From: sohyeonjung Date: Sun, 29 Jun 2025 04:31:28 +0900 Subject: [PATCH 1/3] =?UTF-8?q?[chore]=20#29=20loglevel=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 417b50e..e559d79 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -23,8 +23,8 @@ spring: port: 6379 logging: level: - root: INFO # 전체 로그 최소 INFO 이상 기록 :contentReference[oaicite:0]{index=0} - org.springframework.web: INFO # Spring MVC 디스패처 서블릿 로그 :contentReference[oaicite:1]{index=1} + root: DEBUG + org.springframework.web: DEBUG gemini: api: From 64efff0deaa91964b29d073020abd958aa1f6997 Mon Sep 17 00:00:00 2001 From: sohyeonjung Date: Sun, 29 Jun 2025 04:35:13 +0900 Subject: [PATCH 2/3] =?UTF-8?q?[fix]=20#29=20policy=20prompt=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/kernellabs/kernellabs/application/PolicyService.java | 5 +++-- src/main/resources/application.yml | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/kernellabs/kernellabs/application/PolicyService.java b/src/main/java/com/kernellabs/kernellabs/application/PolicyService.java index 2498692..adda029 100644 --- a/src/main/java/com/kernellabs/kernellabs/application/PolicyService.java +++ b/src/main/java/com/kernellabs/kernellabs/application/PolicyService.java @@ -19,11 +19,12 @@ public class PolicyService { private final String prompt = """ 의성군으로 이주하려는 사람들을 위한 최신 혜택 정보를 알려줘. 주거, 교육, 귀농귀촌, 복지, 창업, 일자리 지원금, 정착금 등 모든 종류의 이주 및 정착 혜택을 포함해줘. - 각 혜택별로 지원 조건, 신청 방법, 담당 부서 또는 관련 웹사이트 링크 같은 상세 정보도 알려줘. + 각 혜택별로 지원 조건, 신청 방법, 담당 부서 또는 같은 상세 정보도 알려줘. 정보를 대주제와 소주제로 나눠서 정리해줘. - 각 소주제 아래에 자세한 설명을 추가하고, 관련 링크가 있다면 URL 주소를 명확히 포함해줘. + 각 소주제 아래에 자세한 설명을 추가해줘. 각 항목은 줄 바꿈(\n)을 사용해서 구분해줘. 다른 지역 정보나 일반적인 내용은 제외하고, 오직 의성군 관련 혜택만 다뤄줘. + 그리고 맨 밑에 의성 군청 웹사이트 주소만 넣어줘. """; public PolicyResponse getCurrentPolicy() { diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index e559d79..1399740 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -23,8 +23,8 @@ spring: port: 6379 logging: level: - root: DEBUG - org.springframework.web: DEBUG + root: INFO + org.springframework.web: INFO gemini: api: From 668e0644a6a13e2be4dc310ba50497f0097f6245 Mon Sep 17 00:00:00 2001 From: sohyeonjung Date: Sun, 29 Jun 2025 04:46:07 +0900 Subject: [PATCH 3/3] =?UTF-8?q?[fix]=20#29=20policy=20prompt=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/kernellabs/kernellabs/application/PolicyService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/kernellabs/kernellabs/application/PolicyService.java b/src/main/java/com/kernellabs/kernellabs/application/PolicyService.java index adda029..8d41ec3 100644 --- a/src/main/java/com/kernellabs/kernellabs/application/PolicyService.java +++ b/src/main/java/com/kernellabs/kernellabs/application/PolicyService.java @@ -24,7 +24,7 @@ public class PolicyService { 각 소주제 아래에 자세한 설명을 추가해줘. 각 항목은 줄 바꿈(\n)을 사용해서 구분해줘. 다른 지역 정보나 일반적인 내용은 제외하고, 오직 의성군 관련 혜택만 다뤄줘. - 그리고 맨 밑에 의성 군청 웹사이트 주소만 넣어줘. + 그리고 맨 밑에 의성 군청 웹사이트를 제외하고 웹사이트 url 주소는 절대 넣지마. """; public PolicyResponse getCurrentPolicy() {