Spaces:
Sleeping
Sleeping
Commit History
-
Refactor Qdrant integration and update dependencies
- Simplified Qdrant vector database implementation by removing unnecessary ID mappings and using text hashing for unique IDs. - Updated docker-compose.yml to utilize environment variable for Qdrant configuration. - Added langchain-qdrant dependency in pyproject.toml and uv.lock to support new features. - Refactored API main.py to create vector database instances using the updated VectorDatabase class.6d817f0 -
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
-
Remove version specification from docker-compose.yml as it is no longer needed for the Qdrant service integration.
18b5712
-
Refactor vector database integration to use Qdrant and update related configurations
- Replaced VectorDatabase with QdrantVectorDatabase across the application for improved vector similarity search. - Updated docker-compose.yml to include Qdrant service with necessary configurations. - Enhanced README.md to document Qdrant integration and its configuration options. - Added new method in EmbeddingModel to retrieve embedding dimensions. - Adjusted API and service files to accommodate Qdrant settings and ensure compatibility.ed6feab
-
Update Docker configuration to change application port and environment variables
- Changed the exposed port from 8000 to 7860 in both Dockerfile and docker-compose.yml. - Updated environment variables to set PORT and HOST for the application. - Adjusted CMD in Dockerfile to reflect the new port for the application startup.97eff50 -
Enhance Dockerfile and frontend structure for RAG application
- Added a multi-stage build in Dockerfile for frontend using Node.js. - Updated package.json with new dependencies and devDependencies for improved styling and functionality. - Removed unused CSS files and integrated Tailwind CSS for styling. - Refactored FileUpload and Chat components to utilize new UI components and improve user experience. - Added error handling and progress indication during file uploads.102c540