Skip to content

Feature/10 보여주는 결과의 확장 필요성 #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

anjaaaaeeeellll
Copy link
Contributor

#️⃣ Issue Number

📝 요약(Summary)

  • 쿼리가 생성됐을때, 해당 쿼리를 Clickhouse에서 실행한 결과를 pd.Dataframe 형태로 plot

💬 To Reviewers (선택)

  • streamlit_app.py가 너무 지저분해진건 아닐지.

PR Checklist

  • TBD

reference) How to Code Review

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

@anjaaaaeeeellll anjaaaaeeeellll linked an issue Apr 20, 2025 that may be closed by this pull request
Copy link
Collaborator

@ehddnr301 ehddnr301 left a comment

Choose a reason for hiding this comment

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

👍 Output을 선택적으로 가져올수 있는 부분 너무 좋습니다!
image

❗코드에서 에러가 나서 다음과 같이 고치긴했는데 제 환경문제인가 싶어서요오! 한번 더 확인해주세요!

streamlit_app.py

from connect_db import ConnectDB
-> from llm_utils.connect_db import ConnectDB
st.write("결과:", res["generated_query"].content)
->    st.write("결과:", res["generated_query"])
  sql = res["generated_query"].content.split("```")[1][
      3:
  ]  # 쿼리 앞쪽의 "sql " 제거
-> sql = res["generated_query"]  # 쿼리 앞쪽의 "sql " 제거

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.

👍 좋은 기능인 것 같아요!!

Copy link
Contributor

@nonegom nonegom left a comment

Choose a reason for hiding this comment

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

👍 좋은 것 같습니다! 혹시 코드가 조금 길어지는 것 같으시면, 일부 코드를 모듈화 할 수도 있을 것 같습니다! sidebar의 경우 with 구문으로 사용하시는 방법도 고려해보시면 좋을 것 같아요

@bongkyunSON
Copy link

👍너무 좋습니다!

Copy link
Contributor

@seyoung4503 seyoung4503 left a comment

Choose a reason for hiding this comment

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

👍 좋습니다

@ehddnr301
Copy link
Collaborator

👍 #64 에서 한번에 머지되도록 하겠습니다. @anjaaaaeeeellll님 감사합니다!!

@ehddnr301 ehddnr301 closed this Apr 24, 2025
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.

보여주는 결과의 확장 필요성
7 participants