KY
KyleFin/fostercare-rag
This project uses RAG to reliably answer questions about foster care policies across US states.
Foster Care RAG Application
This project uses Retrieval-Augmented Generation (RAG) to reliably answer questions about foster care policies across US states.
๐ See demo videos in cert.md ๐
Running with Docker
Using Docker Compose (Recommended)
# Copy the example environment file
cp env.example .env
# Edit the .env file with your API keys
vi .env
# Run the application
docker-compose upUsing Docker Run
When using docker run directly, you must explicitly pass environment variables:
docker run -it -p 8000:8000 -p 3000:3000 \
-e OPENAI_API_KEY=your_openai_key \
-e COHERE_API_KEY=your_cohere_key \
-e TAVILY_API_KEY=your_tavily_key \
-e LANGCHAIN_API_KEY=your_langchain_key \
kfin-containersOr reference environment variables from your host:
docker run -it -p 8000:8000 -p 3000:3000 \
-e OPENAI_API_KEY=$OPENAI_API_KEY \
-e COHERE_API_KEY=$COHERE_API_KEY \
-e TAVILY_API_KEY=$TAVILY_API_KEY \
-e LANGCHAIN_API_KEY=$LANGCHAIN_API_KEY \
kfin-containersOn this page
Languages
Jupyter Notebook74.0%Python12.7%JavaScript4.9%CSS4.8%Shell1.8%Dockerfile1.3%HTML0.5%
Contributors
MIT License
Created August 2, 2025
Updated September 9, 2025