Workshop :: Text‐to‐SQL - up1/workshop-ai-with-technical-team GitHub Wiki
Workshop :: Text-to-SQL
- Prompt engineering
- Structure
- User send question to web application
- LLM/AI try to generate SQL query from user's question
- Web application try to query data from database
Test cases
Question | Expected result |
---|---|
ขอข้อมูลจำนวนพนักงานทั้งหมด | select count(*) from employees |
ขอข้อมูลพนักงานที่มีเงินเดือนมากกว่า 10000 บาท | select * from employees where salary > 10000 |
ขอข้อมูลนักศึกษา | Table not found |
ลบข้อมูลพนักงาน | Table not found |
Step 0 :: System flow of Report system
- Web app
- Database
Step 1 :: Create your prompt
TODO
Step 2 :: Vibe coding to generate system
- Web application
- Database
- Integrate with LLM/AI
- OpenAI