Skip to content

analyticsrepo01/nl2sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nl2sql

Getting Started

  1. Clone this repository to your local machine.

  2. Install the required dependencies using the following command:

    pip install -r requirements.txt
  3. Fill in your project_id, location, datset_id, table names and list of pre selected questions template in app.py based on requirements

  4. Run app.py to start the Streamlit application:

    streamlit run app.py
  5. Open the Streamlit application in your web browser using the provided URL.

Usage

Chat

  1. Input your question in the text box, either in English or any other natural language.
  2. Press "Send" to send the question to the application or select pre-selected question
  3. The application will process the question using Palm2 and LangChain, converting it SQL and retrieve result from Bigquery.
  4. Data from Bigquery will be displayed on the chat box with history appended.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published