Use Assistant AI to convert natural language to sql query

Hi, I am trying to use Assistant AI to develop RAG based natural language to sql query converter. Has any one done this before? Can you provide me idea to implement this?

Welcome to the community!

Depends on the scope of your project. It’s quite possible that you need neither assistants nor rag. It is sometimes enough to provide the schema and the request. Sometimes Chain of Thought is necessary. Really depends on a combination of factors and how complex your use-case is!