Skip to content

lukeweston1234/Quick-RAG-Langfuse-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

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.

Server Installation

docker build -t fastapi-pgvector-app .
docker run - 80:80 fastapi-pgvector-app //see note on env below

Env Setup

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

DB Installation

cd db
docker compose up

Docker Network

You may need to setup a docker network, I had to on Windows but not on Mac?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published