DBMS별 SQL 차이를 반영한 Few-Shot Prompt 최적화 제안 #6
Labels
enhancement
New feature or request
prompt
The input provided by the user in natural language that serves as the basis for SQL generation.
Milestone
Why ❓
현재 상황:
llm_utils/chains.py
파일의create_query_maker_chain
함수에서 Few-Shot SQL예제가 모든 DBMS에 동일하게 적용되고 있습니다.Lang2SQL/llm_utils/chains.py
Lines 90 to 104 in 36b5a88
문제점 👿:
How 🤔
SQL-FewShot
을 위 프롬프트에 추가하여 데이터베이스 환경에 맞는 올바른 쿼리를 생성하게 합니다.What 🛠️
best_practice_query
에 따른 로깅이나 최적의 케이스 수동 추가create_query_maker_chain
과 용어 사전 결합을 통해 올바른 쿼리 생성The text was updated successfully, but these errors were encountered: