File size: 1,305 Bytes
9b1e3db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# tools/tool_loader.py

from .festival_recommender import recommend_festivals
from .marketing_strategy import (
    search_contextual_marketing_strategy,
    create_festival_specific_marketing_strategy,
    create_marketing_strategies_for_multiple_festivals
)
from .profile_analyzer import (
    get_festival_profile_by_name,
    analyze_merchant_profile,
    analyze_festival_profile,
)

# ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ดํ„ฐ๊ฐ€ ์‚ฌ์šฉํ•  ์ตœ์ข… ๋„๊ตฌ ๋ฆฌ์ŠคํŠธ
ALL_TOOLS = [
    recommend_festivals,                      # (ํ†ตํ•ฉ) ๊ฐ€๊ฒŒ ๋งž์ถคํ˜• ์ถ•์ œ ์ถ”์ฒœ (์ฟผ๋ฆฌ ์žฌ์ž‘์„ฑ ~ ์ตœ์ข… ๋žญํ‚น) 
    get_festival_profile_by_name,             # (DB์กฐํšŒ) ์ถ•์ œ ์ด๋ฆ„์œผ๋กœ ์ƒ์„ธ ํ”„๋กœํ•„(JSON) ๊ฒ€์ƒ‰
    search_contextual_marketing_strategy,     # (RAG) ์ผ๋ฐ˜์ ์ธ ๋งˆ์ผ€ํŒ…/ํ™๋ณด ์ „๋žต์„ Vector DB์—์„œ ๊ฒ€์ƒ‰
    create_festival_specific_marketing_strategy,        # (LLM) *๋‹จ์ผ* ์ถ•์ œ์— ๋Œ€ํ•œ ๋งž์ถคํ˜• ๋งˆ์ผ€ํŒ… ์ „๋žต ์ƒ์„ฑ 
    create_marketing_strategies_for_multiple_festivals, # (LLM) *์—ฌ๋Ÿฌ* ์ถ•์ œ์— ๋Œ€ํ•œ ๋งž์ถคํ˜• ๋งˆ์ผ€ํŒ… ์ „๋žต ๋™์‹œ ์ƒ์„ฑ 
    analyze_merchant_profile,                 # (LLM) ๊ฐ€๊ฒŒ ํ”„๋กœํ•„(JSON)์„ ๋ฐ›์•„ SWOT/๊ณ ๊ฐ ํŠน์„ฑ ๋ถ„์„ 
    analyze_festival_profile,                 # (LLM) ์ถ•์ œ ํ”„๋กœํ•„(JSON)์„ ๋ฐ›์•„ ํ•ต์‹ฌ ํŠน์ง•/๋ฐฉ๋ฌธ๊ฐ ๋ถ„์„ 
]