Skip to content

predictionguard/datachat-streamlit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat with Data using Prediction Guard

Chat with Data is an interactive streamlit based chat UI application built with Prediction Guard, enabling users to engage in conversations powered by data from various datasets. This application demonstrates how to implement chat functionalities with a focus on querying single and multiple datasets, including jobs, social media, and movies, for insightful data-driven interactions.

Features

  • Data-Driven Chat Interface: Engage in conversations that fetch and display data from datasets in real-time.
  • Support for Multiple Datasets: Seamlessly switch between datasets on jobs, social media, and movies for diverse inquiries.
  • Dynamic SQL Query Generation: Automatically generates SQL queries based on user questions to retrieve relevant data.
  • Secure and Private: Implements checks for Personally Identifiable Information (PII) and SQL injection vulnerabilities to ensure secure interactions.

Getting Started

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Python 3.8 or later
  • Streamlit
  • Pandas
  • DuckDB
  • Other dependencies listed in requirements.txt

Installation

  1. Clone the repository:
git clone https://github.com/predictionguard/datachat-streamlit.git
cd streamlit-chat-with-data
  1. Install the required Python packages:
pip install -r requirements.txt
  1. Running the Application To run the application, navigate to the project directory and execute:
python -m streamlit run Home.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages