From fe003013f419dd2bdbf30c97339fcc8e1354cfb0 Mon Sep 17 00:00:00 2001 From: tk Date: Mon, 30 Jun 2025 17:38:13 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/llm/prompt/__init__.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 lib/llm/prompt/__init__.py diff --git a/lib/llm/prompt/__init__.py b/lib/llm/prompt/__init__.py deleted file mode 100644 index a0d6d3e..0000000 --- a/lib/llm/prompt/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# why this is isn't index -# 이 파일을 __init__.py로 만든 이유는 -# 굳이 이 짧은 코드를 파일을 하나 더 만드는게 코드의 가독성을 떨어뜨린다고 판단했기 때문입니다. - -def get_prompt(type:str) -> str: - """ - Prompt를 반환합니다. - - :param type: 'auth' {Auth List} 또는 'google' {OAuth Provider}, 'meta' {OAuth Provider}을 지정합니다. - :return: 해당하는 프롬프트 문자열 - """ - if type.lower() == "auth": - from lib.llm.prompt.auth_list import extract_oauth_list_prompt - return extract_oauth_list_prompt - - elif type.lower() == "microsoft" and type.lower() == "microsoftonline": - from lib.llm.prompt.Microsoft import extend_planner_system_message - return extend_planner_system_message - - else: - from lib.llm.prompt.fallback import extend_planner_system_message - return extend_planner_system_message