LinuxSuRen / LinuxSuRen/api-testing

[Feat] Schema-aware enhancement for SQL Agent generation

Abierto
#666 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

enhancement
Lenguaje dominante
Go
Estrellas
369
Forks
67
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

El issue plantea una pregunta sobre la futura generación de SQL consciente del esquema en el AI-Powered API Testing Agent, pero no menciona archivos, pruebas ni puntos de entrada. Empieza por trazar la arquitectura del agente y el flujo actual de natural-language-to-SQL. Para darlo por terminado harían falta un diseño acordado y una mejora demostrada en la generación de SQL, pero este issue todavía no los define.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
sql
Área
ai, databases
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.