Spaces:
Sleeping
Sleeping
Commit History
-
Refactor LangSmith run logging to use updated API methods
- Updated the LangSmithTracer class to replace deprecated run_create method with create_run for logging document retrieval and RAG generation runs. - Enhanced logging messages to remove run ID details, focusing on successful logging actions instead. - Improved code clarity and maintainability by aligning with the latest API specifications.ac39032 -
Enhance Dockerfile and application configuration for improved functionality
- Added environment variables for LangChain and LangSmith integration in docker-compose.yml to support enhanced tracing and project management. - Updated Dockerfile to streamline the frontend build process and optimize dependency installation, ensuring a more efficient multi-stage build. - Refactored API main.py to utilize LangChain's prompt templates and integrated LangSmith utilities for better logging and tracing capabilities. - Removed outdated requirements.txt file to simplify dependency management, consolidating all necessary packages within pyproject.toml. - Adjusted frontend component to correctly handle streamed text responses, improving user experience during chat interactions.d3dec26