whoiskatrin / sql-translator

SQL Translator is a tool for converting natural language queries into SQL code using artificial intelligence. This project is 100% free and open source.
https://www.sqltranslate.app/
MIT License
4.16k stars 356 forks source link

BUG FIX FOR HISTORY #50

Closed code-arnab closed 1 year ago

code-arnab commented 1 year ago

REPEATED HISTORY ENTRIES FOR SAME INPUT TEXT HAS BEEN FIXED

Currently if you try to translate even a very generic query like "show me all the cars that are yellow" and translate it this will show proper result but if you hit the translate button over and over again it will change the case of the keys values like column name, table name and other properties and add it to the history tag identifying them as different entries. I will provide before and after of this in the conversation section of this PR.

PREVIOUSLY : Screenshot (1) Screenshot (2) Screenshot 1 AFTER FIX: Screenshot (4) Screenshot (5)

vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to a Personal Account owned by @whoiskatrin on Vercel.

@whoiskatrin first needs to authorize it.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
sql-translator ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 29, 2023 at 9:40PM (UTC)