Skip to content

Latest commit

 

History

History
221 lines (168 loc) · 7.11 KB

CHANGELOG.md

File metadata and controls

221 lines (168 loc) · 7.11 KB

Changelog

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.

[Unreleased]

[1.1.1] - 2024-12-06

Added

  • 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

Changed

  • 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

Fixed

  • 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

[1.2.0] - 2024-03-21

Added (1.2.0)

  • 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 events
    • validation_error for validation failures
    • rate_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

Changed (1.2.0)

  • 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

Security

  • 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

Error Handling

  • 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.

[1.1.0] - 2024-12-05

Added (1.1.0)

  • Revamped UI with emoji roles and improved layout.
  • Enhanced document management, including stash clearing.
  • Emoji-enhanced logging for better traceability.

Changed (1.1.0)

  • Updated README and documentation for new features.
  • Improved session state management for smoother user experience.

[0.4.0] - 2024-03-20

Changed (0.4.0)

  • 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

Added (0.4.0)

  • Detailed system workflow documentation
  • Comprehensive system prompt
  • Robust environment variable parsing
  • Enhanced model initialization logging
  • Support for LLaMA 3 70B model
  • ChromaDB integration improvements

Fixed (0.4.0)

  • 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

[0.3.0] - 2024-03-19

Changed (0.3.0)

  • 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

Added (0.3.0)

  • Support for Groq's Mixtral model
  • Improved token handling with 4096 token limit
  • Better error messages for API initialization

Removed

  • OpenAI integration and dependencies
  • GPT model configurations

[0.2.1] - 2024-03-19

Changed (0.2.1)

  • 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

Fixed (0.2.1)

  • Deprecation warnings from LangChain packages
  • OpenAI API quota handling
  • Vector store initialization issues
  • Document processing error handling

[0.2.0] - 2024-03-19

Added (0.2.0)

  • Enhanced Word document processing using UnstructuredWordDocumentLoader
  • Automatic creation of vector store directory
  • Source metadata tracking for uploaded documents
  • Comprehensive logging throughout document processing pipeline

Changed (0.2.0)

  • 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

Fixed (0.2.0)

  • Word document processing issues
  • Vector store initialization errors
  • Missing directory creation for persistence

[0.1.0] - 2024-03-19

Added (0.1.0)

  • 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