This repository contains a Streamlit application that demonstrates the capabilities of a generative AI app powered by OpenAI's API. The application is containerized using Docker for easy deployment and scalability.
- Docker
- An API key from OpenAI
# Clone this repository to your local machine with
git clone https://github.com/sirendi/case-conference.git
# Set up environment. Edit values appropriately
cp env.example .env
# Add postgresql for Mac machines
brew install postgresql
# Setups the python and conda environment
make init
# Activate your Python env
conda activate case
# Install python libs
make install
After setting up the project and starting the PostgreSQL container, you can import the patient data from a CSV file into the database using the following steps:
make docker-build
make docker-up
make import-data
After starting the container, the Streamlit app will be accessible at http://localhost:8501
. Enter your prompts in the provided text area and click 'Generate' to see the AI-generated responses.
When you're done and you want to stop the container, use:
docker-compose down
make docker-logs service=<SERVICE>
docker exec -it postgres-db psql -U demo_user -d patient
Unit and integration tests
Retrieval Augmented Generation
Semantic Routing