Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

Update readme (#13)

Marc Klingenfc5747bdfaa7
diff --git a/README.md b/README.md
index c4815363e6..7ca2483df1 100644
--- a/README.md
+++ b/README.md
@@ -1,114 +1,81 @@
<div align="center">
- <a href="https://langfuse.com">
- <img alt="langfuse Logo" src="https://github.com/langfuse/langfuse/blob/main/readme.png" alt="Logo" width="400">
- </a>
+ <a href="https://langfuse.com">
+ <h1>🪢 langfuse</h1>
+ </a>
+ <h3>
+ Open-source experimentation platform for LLM-based applications
+ </h3>
+ <span>
+ Improve LLM features in production by capturing their I/O, add attributes, enriching it with user feedback, and identifying quality bottlenecks in use cases and chains
+ </span>
+ </br></br>
+ <div>
+ <a href="https://langfuse.com/docs">
+ <strong>Explore the docs »</strong>
+ </a>
+ </br>
+ <a href="https://discord.gg/7NXusRtqYU">
+ <strong>Join the langfuse Discord »</strong>
+ </a>
+ </br>
+ <a href="https://langfuse.com/#roadmap">
+ <strong>Roadmap</strong>
+ </a> ·
+ <a href="https://langfuse.com">
+ <strong>langfuse.com</strong>
+ </a> ·
+ <a href="https://github.com/langfuse/langfuse/issues/new?labels=%F0%9F%90%9E%E2%9D%94+unconfirmed+bug&projects=&template=bug_report.yml&title=bug%3A+">
+ <strong>Report Bug</strong>
+ </a> ·
+ <a href="https://github.com/langfuse/langfuse/issues/new?assignees=&labels=%E2%9C%A8+enhancement&projects=&template=feature_request.yml&title=feat%3A+">
+ <strong>Feature Request</strong>
+ </a>
+ </div>
-<h3 align="center">Open-source experimentation platform for LLM-based applications</h3>
</div>
-
-<p align="center">
- <a href="https://langfuse.com/docs"><strong>Explore the docs »</strong></a> </br>
- <a href="https://langfuse.com"><strong>Website »</strong></a> | <a href="https://discord.gg/7NXusRtqYU"><strong>Join our Discord »</strong></a> | <a href="mailto:[email protected]">[email protected]</a>
-</p>
-
-# 🧐 Introduction
-
-langfuse helps you debug and improve your LLM-based application by logging/analyzing all user interactions, backend traces, and explicit/implicit user feedback.
+</br>
# 🤖 Features
-1. Data collection
- - Tracing LLM application, chain, agent via backend SDK
- - Feedback collection from users via frontend SDKs
-2. Data exploration
- - Identify issues
- - Debug LLM application
-3. Store user-generated prompt/completion/feedback sets
- - For few-shot prompts
- - For fine-tuning
-
-# 🚴‍ Get started
-
-- [Quickstart](https://langfuse.com/docs/get-started)
-- [Demo](https://langfuse.com/#walkthrough-3-min)
+Short walkthrough to help getting an overview of the project, who it is useful for, and how it is integrated with your application.
-# 🏡 Run locally
+<a href="https://langfuse.com/docs#walkthrough">
+ <img src="readme_walkthrough_thumbnail.png" width="450" title="Walkthrough" />
+</a>
-Follow the steps below to set up the environment via docker-compose. Both the server and the database will be running in docker containers.
+## 1. Monitor usage
-```bash
-# execute docker-compose
-docker-compose up
-```
+- Stay on top of trends in output quality and feature adoption
+- Track token usage by feature, user, and model (coming soon)
-Use the API or SDKs to integrate langfuse with your application
+## 2. Understand and segment use cases
-# 👨‍💻 Development
+- LLM-based features can be used in all sorts of ways. With langfuse, you can easily segment executions by user attributes, scores, and other dimensions.
+- Model-based clustering of use cases to help understand how users are using the features (coming soon)
-Follow the steps below to setup the development environment.
+## 3. Identify quality bottlenecks
-## Set up the application locally
+- Compare low-quality executions side-by-side to gain a deep understanding on why chains did not perform well
+- Model-based comparison of executions with automated suggestions (coming soon)
-Follow the steps below to set up a dev environment. You will have a postgres database running in a docker container. The server will be started using NPM.
+## 4. Built your data moat (coming soon)
-```bash
-# create env file
-cp .env.dev.example .env
-# Install dependencies
-npm install
-# Run the db
-docker-compose -f docker-compose.dev.yml up
-# Migration
-npx prisma migrate dev
-# Seed the database
-npx prisma db seed
-# Start the server
-npm run dev
-```
+- Retrieval API to query prompts/completions based on similarity to current prompt
+- Exports of high-quality prompt/completions for fine tuning; e.g. use GPT-4 completions to train own Llama models
-# 🚜 Production Deployment
-
-## Build a Docker container
-
-The following instructions explain how to create a single container for deployment. The container will contain the server but no database. Please adjust the db url in the .env file to point to your database.
-
-```bash
-# build the container
-docker build \
---build-arg DATABASE_URL=postgresql://postgres:[email protected]:5432/postgres \
---build-arg NEXTAUTH_SECRET=mysecret \
---build-arg NEXTAUTH_URL=http:localhost:3030 \
--t langfuse .
-# run the container
-docker run \
---env DATABASE_URL=postgresql://postgres:[email protected]:5432/postgres \
---env NEXTAUTH_SECRET=mysecret \
---env NEXTAUTH_URL=http:localhost:3030 \
--p 3030:3000 \
--a STDOUT langfuse
-```
-
-## Generate SDKs
+# 🚴‍ Get started
-```bash
-# in the langfuse repo
-# install fern CLI: https://docs.buildwithfern.com/compiler/cli-reference
-fern generate --api server
-fern generate --api client
+Follow the [quickstart](https://langfuse.com/docs/get-started) for local, self-hosted or cloud
-# in the client repo
-npm install --save @finto-fern/api-client
+# 🗺️ Roadmap
-# update the client in the client repo
-# install ncu via: https://www.npmjs.com/package/npm-check-updates
-ncu -u && npm update --save
-```
+`langfuse` is built in public and the roadmap is shaped together with users of the project. While the details change frequently, you can find a rough outline of where the project is headed on our [roadmap](http://langfuse.com/#roadmap).
# 👫 Contributing
Join the community [on Discord](https://discord.gg/7NXusRtqYU).
-To contribute code, send us a PR, raise a github issue, or email at [email protected]
+To contribute, send us a PR, raise a github issue, or email at [email protected]
# 🥷 Authors
diff --git a/demo_thumbnail.jpg b/demo_thumbnail.jpg
new file mode 100644
index 0000000000..93a41a5e69
Binary files /dev/null and b/demo_thumbnail.jpg differ
diff --git a/readme.png b/readme.png
deleted file mode 100644
index 50b8ecac00..0000000000
Binary files a/readme.png and /dev/null differ
diff --git a/readme_walkthrough_thumbnail.png b/readme_walkthrough_thumbnail.png
new file mode 100644
index 0000000000..d6ec8f4262
Binary files /dev/null and b/readme_walkthrough_thumbnail.png differ