Skip to content

minmindu/streamlit-chatbot-greenplum

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streamlit Chatbot Greenplum

Prerequisite

Before starting the project, please ensure your system meet the below prerequisite.

  • Docker installed before running this app. Please run the below command to verify Docker is installed in your system

`docker --version`

If it is not installed, please refer to this Docker installation guide.

  • Greenplum (version 7) database is up and running

How to Start

  1. Download the source code from Github

git clone https://github.com/ahmedrachid/streamlit-chatbot-greenplum.git

  1. Go to the project repository

cd streamlit-chatbot-greenplum

  1. Open the app.py file and change the database credential if required

vim app.py

Change this section: postgres://<db-user>:<password>@<db-ip>:<db-port>/<databasename>

  1. Build the docker image. The below command is to build a docker image with name streamline-chatbot-greenplum with the latest version

docker build -t streamlit-chatbot-greenplum .

  1. Verify image streamlit-chatbot-greenplum is built successfully

docker images

  1. Run the docker image streamlit-chatbot-Greenplum

docker run -p 8501:8501 streamlit-chatbot-greenplum

  1. Go to the browser and open the web link. Note: the IP address is the IP that your VM / local env uses. For example, http://35.189.1.42:8501

Use Case

Please refer to this blog for detailed explaination and use case.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 51.6%
  • PLpgSQL 46.0%
  • Dockerfile 2.4%