QueryGPT

A Uber introduziu o QueryGPT, uma ferramenta que utiliza IA generativa para traduzir prompts de linguagem natural em consultas SQL, simplificando os processos de análise de dados. Com LLM’s, o QueryGPT reduz o tempo de criação de consultas de aproximadamente 10 minutos para 3 minutos. É incrível e impressionante, o que achei interessante são algumas restrições e suposições:

  • “We introduced “workspaces,” which are curated collections of SQL samples and tables tailored to specific business domains”
  • “Another issue we found was that it’s incredibly challenging to go from a user’s natural language prompt to finding the relevant schemas”
  • “Allowing users to select the tables used in the query generation came up as feedback from some users who saw that the tables that were eventually picked by QueryGPT were not correct “
  • “We’ve been experimenting with prompts to reduce hallucinations”

Portanto, ainda precisamos entender o espaço do problema e encontrar soluções adaptadas ao nosso negócio, sem esquecer que sempre haverá algum nível de alucinação.

QueryGPT – Natural Language to SQL using Generative AI