Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/trilokida/qa-from-sql-db-googlepalm

Query from DB with help of LLM in Simple English query
https://github.com/trilokida/qa-from-sql-db-googlepalm

database googlepalm llm query question-answering sql

Last synced: 4 days ago
JSON representation

Query from DB with help of LLM in Simple English query

Awesome Lists containing this project

README

        

# Question And Answer from SQL Database
Query from DB with help of LLM(GooglePalm) in Simple English language

### Steps for running code
- Create virtual env
- *conda create --name myenv python=3.x*
- *conda activate myenv*
- Install requirements file with *pip install -r requirements.txt*
- [Create Google API Key](https://makersuite.google.com/app/apikey)
- Run [db_creation_atliq_t_shirts.sql](https://github.com/TrilokiDA/QA-from-SQL-DB-GooglePalm/blob/main/db_creation_atliq_t_shirts.sql) file in MySQL to create Table
- Run [app.py](https://github.com/TrilokiDA/QA-from-SQL-DB-GooglePalm/blob/main/app.py) in terminal as *python app.py*
- Do *query* with the help of Postman or other API tester s/w