File_ids in OpenAI Assistance

In my case, I want to retrieve the information from database in Natural Language. At first, I used Langchain’s create_sql_agent for that matter. I also want to try OpenAI Assistance to generate information but it requires file_ids. I just want to know is there any way to use my DB without passing file_ids.

I also want to know is it a good idea to use OpenAI Assistance for that purpose.