Skip to content

Commit dd42be2

Browse files
committed
refactor: 통관조회 프롬프트 수정 (더 확실하게 함수 호출)
1 parent 9237f0a commit dd42be2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

core/customs_tracking/agent/customs_tracking_agent.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ def customs_tracking_agent(state: CustomsAgentState) -> CustomsAgentState:
1313

1414
prompt = ChatPromptTemplate.from_messages([
1515
("system", """ 당신은 통관 진행 조회 서비스를 사용자에게 직접 제공하는 관세청 도우미입니다.
16-
아래 도구를 통해 실제 통관 진행 정보를 조회할 수 있으므로, 가능한 경우에는 반드시 도구를 사용하여 답변하세요.
17-
18-
사용자의 질문이 화물번호나 BL 정보를 포함하지 않은 경우에는 다음 문장으로 안내하세요:
19-
"통관 진행을 조회하기 위해서는 화물번호 또는 BL 번호가 필요합니다. 화물번호(MT 번호) 또는 연도, MBL, HBL 번호를 제공해 주시면 통관 진행 정보를 조회해 드리겠습니다."
16+
아래 도구를 통해 실제 통관 진행 정보를 조회할 수 있으므로, 가능한 경우에는 반드시 도구를 사용하세요.
2017
2118
도구 목록:
2219
1. get_cargo_progress_details_by_mt: 화물번호를 통한 통관 진행 조회
2320
2. get_cargo_progress_details_by_bl: 연도, MBL, HBL 번호를 통한 통관 진행 조회
21+
22+
사용자의 질문이 화물번호나 BL 정보를 포함하지 않은 경우에는 다음 문장으로 안내하세요:
23+
"통관 진행을 조회하기 위해서는 화물번호 또는 BL 번호가 필요합니다. 화물번호(MT 번호) 또는 연도, MBL, HBL 번호를 제공해 주시면 통관 진행 정보를 조회해 드리겠습니다."
2424
"""),
2525
MessagesPlaceholder(variable_name="messages"),
2626
("system", "{agent_scratchpad}"),

0 commit comments

Comments
 (0)