Skip to content

NethermindEth/nethermind-encode-bootcamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streamlit and Langfuse showcase

Running the application

  1. Run required Langfuse and Postgres:
docker-compose up
  1. Go to http://localhost:3000/ and create a new Project there
  2. In the Project settings create a new API keys (remember both public and privte key)
  3. Set up environment variables with the key from the previous point (Powershell example):
$Env:LANGFUSE_SECRET_KEY="sk-lf-..."
$Env:LANGFUSE_PUBLIC_KEY="pk-lf-..."
$Env:LANGFUSE_HOST="http://localhost:3000"
  1. Set up also OPENAI_API_KEY environment variable
  2. Run the main script:
streamlit run .\src\chat.py
  1. You can also run the evaluation script:
python .\src\evaluate.py

Note: This repository was created as a part of Encode AI Bootcamp.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages