Skip to content

Conversation

@hyeong8465
Copy link
Contributor

@hyeong8465 hyeong8465 commented Aug 2, 2025

JIRA Task ๐Ÿ”–

  • Ticket: AI-18
  • Branch : feature/response

์ž‘์—… ๋‚ด์šฉ ๐Ÿ“Œ

  • ์ตœ์ข… ๋‹ต๋ณ€ ์ƒ์„ฑ ๋…ธ๋“œ ํ”„๋กฌํ”„ํŠธ ์—”์ง€๋‹ˆ์–ด๋ง(์ฑ—๋ด‡๋‹ต๊ฒŒ)
  • ํ”„๋กฌํ”„ํŠธ ํŒŒ์ผ ๋ถ„๋ฆฌ(src/prompts/v1/sql_agent)
  • pyinstaller ๋นŒ๋“œ ์ง€์› ํ•จ์ˆ˜

์ฐธ๊ณ  ์‚ฌํ•ญ ๐Ÿ“‚

  • ๋นŒ๋“œ ๋ช…๋ น์–ด ๋ณ€๊ฒฝ
# ์ด์ „ ๋นŒ๋“œ ๊ฒฐ๊ณผ๋ฌผ ์‚ญ์ œ
rm -rf build dist

# ์‹คํ–‰ ํŒŒ์ผ ๋นŒ๋“œ
pyinstaller --clean --onefile --add-data "src/prompts:prompts" --name ai src/main.py 

# pyinstaller๋Š” .py ํŒŒ์ผ๋งŒ ๋นŒ๋“œํ•˜๊ธฐ ๋•Œ๋ฌธ์— .yaml ํŒŒ์ผ์ธ ํ”„๋กฌํ”„ํŠธ๋“ค์„ ์ถ”๊ฐ€ํ•˜๊ณ  ๋งคํ•‘ํ•˜๋Š” ์ž‘์—… ํ•„์š”
# --add-data "src/prompts:prompts"
  • ๊ฒ€์ฆ ์‹คํŒจ๋‚˜ ์‹คํ–‰ ์‹คํŒจ ์ƒํ™ฉ์— ๋Œ€ํ•œ ํ…Œ์ŠคํŠธ ํ•„์š”
  • DB ์–ด๋…ธํ…Œ์ด์…˜ ๊ด€๋ จ๋œ ํ”„๋กฌํ”„ํŠธ๋Š” src/prompts/v1/db_annotation ํด๋” ๋งŒ๋“ค์–ด์„œ ์ž‘์—…ํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค
  • ๊ธฐ์กด ํŒŒ์ผ์—์„œ ์ˆ˜์ •ํ•˜๊ณ  ํฐ ๋ณ€ํ™”๊ฐ€ ์žˆ์„ ๋•Œ v2 ํด๋” ๋งŒ๋“ค์–ด์„œ ๋ฒ„์ „๊ด€๋ฆฌ ํ•˜๋ฉด ๋  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

@hyeong8465 hyeong8465 requested a review from wwjin-j August 2, 2025 16:22
@hyeong8465 hyeong8465 merged commit abeaee7 into develop Aug 5, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants