PlanAI v0.1.5 introduces significant updates to enhance prompt optimization capabilities, along with key new features, enhancements, and bug fixes to improve the overall functionality and reliability of the system.
New Features
- **Automated Prompt Optimization**: The release features an automatic prompt optimization tool designed to enhance the effectiveness of prompts for LLMTaskWorkers. This tool leverages real production data to iteratively refine prompts, supported by a refined scoring mechanism and automated iteration process (f4338f7, 4116210).
- **Worker Statistics Tracking**: A new `WorkerStat` class has been added to provide improved tracking and analysis of worker statistics, facilitating better monitoring of task execution metrics (c8ef37f).
- **LLM Provider Options**: Added options for specifying LLM providers and models during prompt optimization, enabling more flexible use of different language models (7b6b8b0).
Enhancements
- **Testing and Code Refactoring**: Expanded unit test coverage for the `Graph` class and other system components to ensure robustness and reliability. Code refactoring efforts focused on simplifying task management, provenance tracking, and prompt storage, contributing to increased maintainability of the codebase (d6d4648, 16760b5).
- **Terminal Dashboard**: Introduced a terminal dashboard to visually display task progress and worker statistics, enhancing user engagement and interaction during task execution (3bfaef7).
Bug Fixes
- **Notification Handling**: Addressed various bugs associated with graph notifiers to ensure notifications are accurately delivered to the intended workers and improve provenance management in `JoinedTaskWorker` (571c561, 03cbf72).
- **JSON Parsing Enhancement**: Improved JSON parsing by incorporating markdown handling in `MinimalPydanticOutputParser`, enabling cleaner and more accurate parsing (4528a38).
For detailed information on using the new features, including prompt optimization, please refer to our [documentation page](https://docs.getplanai.com/). Users are encouraged to provide feedback through our [GitHub repository](https://github.com/provos/planai).