--- title: DataRetreivalFromDatabase emoji: ⚡ colorFrom: blue colorTo: yellow sdk: streamlit sdk_version: 1.37.0 app_file: app.py pinned: false license: apache-2.0 --- # Data Retrieval from Database using gemini-pro(LLM) This Generative AI model can convert the text written in natural Language to the SQL Query using the gemini-pro model and retrieves the data from the Database. This is the Data that is present in the database ![image/png](https://cdn-uploads.huggingface.co/production/uploads/66a41712509b600cba4c48f2/RKhitiCIoC10E4M34XOkj.png) One of the Query asked the model and it answered accurately ![image/png](https://cdn-uploads.huggingface.co/production/uploads/66a41712509b600cba4c48f2/Q0BHJSRIkfHYnRD312xbO.png) Another Snap of an example ![image/png](https://cdn-uploads.huggingface.co/production/uploads/66a41712509b600cba4c48f2/EqKQdBXhbuAlnKCcpWYLU.png) ## Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate. Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference