Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

➕(summmary) add Langfuse to summary service dependencies

lebaudantoine43f3e4691bc9
diff --git a/src/summary/pyproject.toml b/src/summary/pyproject.toml
index 6e1d4367..62686a26 100644
--- a/src/summary/pyproject.toml
+++ b/src/summary/pyproject.toml
@@ -15,6 +15,7 @@ dependencies = [
"posthog==6.9.1",
"requests==2.32.5",
"sentry-sdk[fastapi, celery]==2.43.0",
+ "langfuse==3.10.6"
]
[project.optional-dependencies]
diff --git a/src/summary/summary/core/config.py b/src/summary/summary/core/config.py
index 8ffe7d6e..cb5c24fb 100644
--- a/src/summary/summary/core/config.py
+++ b/src/summary/summary/core/config.py
@@ -4,6 +4,7 @@ from functools import lru_cache
from typing import Annotated, List, Optional
from fastapi import Depends
+from pydantic import SecretStr
from pydantic_settings import BaseSettings, SettingsConfigDict
@@ -77,6 +78,12 @@ class Settings(BaseSettings):
posthog_event_failure: str = "transcript-failure"
posthog_event_success: str = "transcript-success"
+ # Langfuse (LLM Observability)
+ langfuse_enabled: bool = False
+ langfuse_host: Optional[str] = None
+ langfuse_public_key: Optional[str] = None
+ langfuse_secret_key: Optional[SecretStr] = None
+
# TaskTracker
task_tracker_redis_url: str = "redis://redis/0"
task_tracker_prefix: str = "task_metadata:"