All notable changes to the Dynamic AI Assistant will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Enhanced document deletion UI with smooth animations
- Added custom styled success messages
- Implemented auto-dismissing notifications
- Added loading spinners for better feedback
- Improved file upload tracking system
- Added session-based file tracking to prevent duplicates
- Implemented proper cleanup on file deletion
- Enhanced upload state management
- Improved document management interface
- Added individual document delete buttons with better styling
- Enhanced document list display with timestamps
- Better visual feedback for document operations
- Improved vector store initialization
- Added proper Chroma settings with allow_reset enabled
- Enhanced client settings configuration
- Better cleanup and resource management
- Enhanced document management UI
- Switched to SentenceTransformerEmbeddingFunction for local inference
- Improved error handling in document processing
- Resolved document deletion issues
- Fixed metadata key inconsistencies
- Added proper cleanup of vector store resources
- Improved error handling for file operations
- Fixed "Clear All" functionality
- Added robust vector store cleanup
- Implemented proper resource management
- Enhanced error recovery
- Improved memory management
- Added garbage collection after vector store operations
- Implemented retry mechanism for file operations
- Enhanced resource cleanup
- Enhanced emoji logger with security features
- Added security-specific logging stream
- Implemented log rotation with size limits
- Added new security-related emoji categories
- Added extra data support for security events
- New security logging methods
security_alert
for security-related eventsvalidation_error
for validation failuresrate_limit_exceeded
for rate limiting events
- New secure environment variable management system
- Type-safe configuration validation
- Comprehensive error handling
- Structured configuration objects
- Advanced logging system with rotation and separate security logs
- Configurable log levels and formatters
- Separate security logging stream
- Log file rotation with size limits
- Request validation middleware
- Rate limiting implementation
- Request size validation
- Input sanitization
- Enhanced security documentation and guidelines
- Environment variable validation
- Implemented type-safe checks for all critical variables
- Added error handling for missing or invalid variables
- Enhanced logging for validation errors
- Consolidated logging system into enhanced emoji logger
- Removed duplicate logging implementations
- Improved logging configuration with rotation support
- Added structured logging for security events
- Improved .env.example with detailed documentation and security guidelines
- Restructured configuration system for better maintainability
- Enhanced error handling across the application
- Updated .env.example with detailed security guidelines
- Added dedicated security log file with rotation
- Enhanced logging for security-related events
- Added extra data support for security logging
- Added comprehensive security validation for all environment variables
- Implemented request size limits and rate limiting
- Implemented comprehensive validation for environment variables
- Added security-focused logging for suspicious activities
- Introduced
ChatAgentError
for specific error handling in ChatAgent. - Enhanced error handling in
process_message
with user-friendly messages. - Improved error handling in
get_response
with custom exceptions and logging.
- Revamped UI with emoji roles and improved layout.
- Enhanced document management, including stash clearing.
- Emoji-enhanced logging for better traceability.
- Updated README and documentation for new features.
- Improved session state management for smoother user experience.
- Upgraded to LLaMA 3 70B model with 8K context window
- Enhanced configuration system with robust env variable handling
- Added comprehensive system workflow documentation
- Improved error handling and logging
- Project renamed to Dynamic AI Assistant
- Detailed system workflow documentation
- Comprehensive system prompt
- Robust environment variable parsing
- Enhanced model initialization logging
- Support for LLaMA 3 70B model
- ChromaDB integration improvements
- ChromaDB dependency and import issues
- Streamlit frontend compatibility
- Environment variable parsing
- Documentation consistency
- Removed incorrect
persist()
method calls from document deletion operations - Added enhanced logging for document deletion tracking
- Fixed document deletion and clear all documents functionality
- Improved vector store cleanup during document deletion
- Migrated from OpenAI to Groq for LLM functionality
- Updated chat agent to use Mixtral-8x7b-32768 model
- Modified API key handling to use GROQ_API_KEY
- Removed OpenAI dependencies
- Enhanced error handling for Groq API integration
- Support for Groq's Mixtral model
- Improved token handling with 4096 token limit
- Better error messages for API initialization
- OpenAI integration and dependencies
- GPT model configurations
- Updated dependencies to use newer package versions
- Migrated to langchain-specific packages (openai, huggingface, chroma)
- Improved error handling for API quota limits
- Enhanced logging for better debugging
- Updated document processing validation
- Deprecation warnings from LangChain packages
- OpenAI API quota handling
- Vector store initialization issues
- Document processing error handling
- Enhanced Word document processing using UnstructuredWordDocumentLoader
- Automatic creation of vector store directory
- Source metadata tracking for uploaded documents
- Comprehensive logging throughout document processing pipeline
- Replaced Docx2txtLoader with more robust UnstructuredWordDocumentLoader
- Improved error handling with detailed stack traces
- Enhanced logging messages for better debugging
- Added validation for vector store existence before querying
- Word document processing issues
- Vector store initialization errors
- Missing directory creation for persistence
- Initial release of Program & Chill AI Assistant
- Document upload functionality with PDF, TXT, DOC, DOCX support
- RAG integration with ChromaDB
- Multi-agent architecture with DocumentProcessor and ChatAgent
- Streamlit-based user interface