-
Notifications
You must be signed in to change notification settings - Fork 1
WIP: CAI-302 upgrade local langfuse to v3 #1722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Adds AWS Lambda Runtime Interface Emulator (RIE) to the development Dockerfile for local testing purposes. Updates README to include instructions for creating and filling in the Google service account JSON file.
Added `platform` specifications and restructured services, including new `langfuse-web`, `langfuse-worker`, `clickhouse`, and `minio` setups. Removed unused `networks` references and added health checks for critical services. These changes modernize and enhance the infrastructure to support new functionality and improve service reliability.
Corrected a misspelling in the README subtitle for better clarity. Ensures professionalism and avoids confusion for users following setup instructions.
|
Removed obsolete variables from .env.example and updated relevant configurations in docker/compose.yaml to ensure consistency. Adjusted ports and Langfuse initialization parameters to align with the updated environment setup.
Moved sensitive and configurable environment variables to `.env` files for improved readability and security. Updated comments in `docker/compose.yaml` to suggest consolidating environment variables into a dedicated `.env.langfuse` file.
Jira Pull request Link@amanfrinati it seems this Pull Request has no issues that refers to Jira! |
Branch is not up to date with base branch@amanfrinati it seems this Pull Request is not updated with base branch. |
List of Changes
This pull request updates the local development environment for the chatbot application, with a focus on improving Docker Compose configuration, service orchestration, and setup documentation. The most important changes include a major refactor of the
docker/compose.yaml
file to enhance compatibility and support for Langfuse, ClickHouse, and Minio, as well as improvements to health checks and local setup instructions.Docker Compose service orchestration and compatibility:
docker/compose.yaml
to split Langfuse intolangfuse-web
andlangfuse-worker
services, and added new dependencies (ClickHouse and Minio) with detailed environment configuration for Langfuse integration. This enables more advanced observability and analytics features for the chatbot.platform: linux/amd64
specification to several services (api
,create-redis-index
,jupyter
) to improve cross-platform compatibility, especially on Apple Silicon and other non-amd64 hosts. [1] [2] [3]Service health checks and reliability:
ntw
network with direct dependencies and health checks, and removing unnecessary network definitions for simpler configuration. [1] [2] [3]Local development setup improvements:
apps/chatbot/README.md
to include instructions for copying the Google service account example file, clarifying the initial setup steps for new developers.Documentation fixes:
README.md
("Copile" → "Compile") to improve clarity.Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: