Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/trilokida/qa-from-sql-db-googlepalm
- Owner: TrilokiDA
- Created: 2024-01-26T12:40:24.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-26T17:28:47.000Z (10 months ago)
- Last Synced: 2024-01-27T13:51:43.778Z (10 months ago)
- Topics: database, googlepalm, llm, query, question-answering, sql
- Language: Jupyter Notebook
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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