- Implemented `edit_image` method for background removal from images.
- Added `enhance_prompt` method to generate improved versions of text prompts.
- Introduced `image_to_text` method for converting images to text descriptions.
- Created `upscale_image` method to enhance image resolution.
- Developed `photo_maker` method for generating images based on prompts and reference images.
- Added `generate_image_with_refiner` method for high-quality image generation using a refiner model.
- Updated OpenAI function definitions to include new image processing capabilities.
- Enhanced message processing to handle image URLs and descriptions appropriately.
- Added a new tool for analyzing data files (CSV/Excel) and generating visualizations.
- Implemented a function to generate Python code for data analysis based on user requests.
- Updated the OpenAI model tools to include new functions for data analysis and image generation.
- Improved the PDF processing logic to ensure user prompts are clearly included in analysis.
- Introduced a code interpreter module for executing Python code with support for data visualization.
- Enhanced logging and error handling in the code interpreter for better debugging and user feedback.
- Added functionality to sanitize code before execution to prevent unsafe operations.
- Implemented image handling for visualizations generated during code execution.
- Improved logging setup in code_utils.py for better debugging and persistent logs.
- Added support for user-specific timezones in ReminderManager, allowing reminders to be set and displayed in the user's local timezone.
- Implemented timezone detection and validation for users, ensuring reminders are accurate.
- Enhanced the parsing of time strings to consider user timezones, improving the flexibility of reminder scheduling.
- Updated reminder notifications to reflect the user's timezone, providing a more personalized experience.
- Updated `sanitize_code` function in `code_utils.py` to enhance security by refining banned imports and allowing essential data visualization libraries.
- Added package installation checks for data analysis libraries (pandas, numpy, matplotlib, seaborn) in `execute_code` function.
- Improved code indentation handling before execution to ensure consistent formatting.
- Removed `data_utils.py` as it was deemed unnecessary; functionality integrated into `code_utils.py`.
- Enhanced descriptions in `openai_utils.py` for the code execution function to clarify capabilities and usage.
- Introduced new parameters in the function definitions to support data file processing and visualization options.
- Added `data_utils.py` for analyzing and visualizing data from CSV/Excel files.
- Introduced asynchronous processing to handle file uploads without blocking.
- Enhanced error handling for file reading and data conversion.
- Implemented various chart types (pie, bar, scatter, histogram, line) based on user queries.
- Added metadata management for generated charts, including cleanup of old charts.
feat: Create reminder management system for Discord
- Added `reminder_utils.py` to manage user reminders in Discord.
- Implemented functionality to add, retrieve, delete, and process reminders.
- Integrated timezone handling for accurate reminder scheduling.
- Developed a loop to check for due reminders and send notifications.
- Included parsing for various time formats to set reminders.