Skip to content

Conversation

ehddnr301
Copy link
Collaborator

#️⃣ Issue Number

📝 요약(Summary)

  • CLI 실행/구성 옵션을 Streamlit Settings로 통합해 env 세팅과정을 제거하려했습니다.

💬 To Reviewers (선택)

  • 동작에 오류는 없는지 체크 부탁드립니다.
  • 현재 모든 환경변수 값을 Json으로 저장해 사용합니다. (추후에 DB환경이 잘 지원되면 분리가능할 것으로 보입니다.)
    • 이번 PR에서 모두 적용하지 않은 이유는 Datahub처럼 자연스러운 Docker환경을 제공하지 않는데 DB를 추가하는것에 부담을... 느꼈습니다!
  • 작업을 하다보니 고봉밥이 되어버렸는데 죄송합니다..!!

설정 페이지 제공

image

사이드바 에서 설정 선택

image

PR Checklist

  • uv run lang2sql run-streamlit -p 8888 로 실행 후 동작 확인

reference) How to Code Review

  • 따봉(👍): 리뷰어가 리뷰이의 코드에서 칭찬의 의견을 남기고 싶을 때 사용합니다.
  • 느낌표(❗): 리뷰어가 리뷰이에게 필수적으로 코드 수정을 요청할 때 사용합니다.
  • 물음표 (❓): 리뷰어가 리뷰이에게 의견을 물어보고 싶을 때 사용합니다.
  • 알약 (💊): 리뷰어가 리뷰이의 코드에서 개선된 방법을 제안하지만 그것의 반영이 필수까지는 아닐 때 사용합니다.

@ehddnr301 ehddnr301 linked an issue Oct 4, 2025 that may be closed by this pull request
Copy link
Contributor

@ParkGyeongTae ParkGyeongTae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 완전 좋네여! 잘동작합니다~!

DEFAULT_VECTORDB_TYPE,
DEFAULT_VECTORDB_LOCATION,
load_config,
_get_session_value,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💊 _ 접두사 함수의 경우 클래스 내에서만 선언된 경우 클래스 내에서만 private하게 사용, 파일에서 함수만 선언된 경우 해당 파일에서만 사용하는 것으로 추후에 개선할 수 있을 것 같아요~!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 좋은 지적 감사합니다! 초기에 하나의 파일로 구현하고 쪼개다 보니 기존 함수명을 그대로 들고와서, 불필요한 import를 제거하고 함수명을 업데이트 했습니다. f25e897

@ehddnr301 ehddnr301 merged commit efa97ed into master Oct 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.

[기능] CLI 실행 옵션을 UI에서 통합 관리하도록 개선

2 participants