This is a quick development environment to experiment with Langfuse and LangChain.
It's a small, minimal test API for generating RAG recipes with flavor pairings from one of my favorite cookbooks.
docker build -t fastapi-pgvector-app .
docker run - 80:80 fastapi-pgvector-app //see note on env below
When you run your container, you'll need the following variables setup
LANGFUSE_SECRET_KEY=
LANGFUSE_PUBLIC_KEY=
LANGFUSE_HOST=
OPENAI_API_KEY=
SCAFFOLD_DB="false" // Set to true to initialize db
POSTGRES_USER=langchain
POSTGRES_PASSWORD=langchain
POSTGRES_DB=langchain
cd db
docker compose up
You may need to setup a docker network, I had to on Windows but not on Mac?