SQL_Query_Generator / prompts.py
NavyDevilDoc's picture
Create prompts.py
ad5554e verified
raw
history blame
324 Bytes
# Version 1.0 - Basic SQL Generation
SQL_GENERATOR_V1 = """
You are a {dialect} expert.
Database Schema:
{schema}
User Request: {user_input}
Output only the raw SQL code. No explanations.
"""
# Version 1.1 - Added Safety context
SQL_GENERATOR_V2 = SQL_GENERATOR_V1 + "\nEnsure all SELECT statements have a LIMIT of 100."