LinuxSuRen / LinuxSuRen/api-testing
[Feat] Schema-aware enhancement for SQL Agent generation
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Go
- Star
- 369
- Fork
- 67
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hi @LinuxSuRen,
I'm currently exploring the `AI-Powered API Testing Agent` projects in OSPP, and I find the idea of using an AI agent to convert natural language into SQL really awesome!!! I believe it could greatly help non-technical users interact with data more naturally. (As a student, I often feel quite overwhelmed when working with complex or large datasets, and it can be really challenging...)
While reading through the project goals and thinking from a user perspective, I wondered:
Would it make sense to enrich the agent's SQL generation with some form of schema-awareness?
For example, if a user types:
"Show me all disabled accounts"
But the database schema has a field like `status = 'deactivated'` or `is_active = false`, a naive prompt-to-SQL conversion might not catch that. In this case, a retrieval step — even something lightweight like schema inspection or doc-based enrichment — might help improve both accuracy and robustness.
I'm still trying to understand the current architecture better, so this is more of a question than a suggestion. But I'd love to know:
Has this direction been considered before?Would you be open to exploring something like this in the future?
If this is a valuable direction, I'd be very interested in trying to contribute something along these lines after understanding the system more clearly.
Thanks again for your awesome work on this project! I’m really enjoying digging into it.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Issue này là một câu hỏi về việc tạo SQL nhận biết schema trong tương lai cho AI-Powered API Testing Agent, nhưng không nêu tệp, bài kiểm thử hoặc entry point nào. Hãy bắt đầu bằng cách lập bản đồ kiến trúc agent và luồng natural-language-to-SQL hiện tại. Để hoàn thành sẽ cần một thiết kế đã được thống nhất và sự cải thiện được chứng minh trong việc tạo SQL, nhưng issue này vẫn chưa định nghĩa những điều đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- sql
- Lĩnh vực
- ai, databases
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100