-
Couldn't load subscription status.
- Fork 1
[CAI-640] 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
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.
🦋 Changeset detectedLatest commit: f63e3ab The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
|
This pull request is stale because it has been open for 14 days with no activity. If the pull request is still valid, please update it within 21 days to keep it open or merge it, otherwise it will be closed automatically. |
# Conflicts: # apps/chatbot/docker/compose.yaml
# Conflicts: # apps/chatbot/.env.example # apps/chatbot/docker/compose.yaml
Deleted an obsolete file containing initialization logs for Terraform backend. This file was unnecessary and contributed no functional value to the codebase, improving clarity and reducing repository clutter.
…o-v3' into CAI-302-upgrade-local-langfuse-to-v3 # Conflicts: # apps/chatbot/.env.example # apps/chatbot/docker/compose.yaml
Moved Langfuse-related environment variables from multiple files into a dedicated `.env.langfuse` for improved organization and maintenance. Updated `.gitignore`, `.env.example`, and Docker compose configurations to reflect the change. This centralization simplifies environment management and enhances clarity across the project.
Co-authored-by: marcobottaro <39835990+marcobottaro@users.noreply.github.com>
Jira Pull Request LinkThis Pull Request refers to the following Jira issue CAI-640 |
|
This PR exceeds the recommended size of 800 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
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.yamlfile 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.yamlto split Langfuse intolangfuse-webandlangfuse-workerservices, 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/amd64specification 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:
ntwnetwork with direct dependencies and health checks, and removing unnecessary network definitions for simpler configuration. [1] [2] [3]Local development setup improvements:
apps/chatbot/README.mdto 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: