v0.3.0 🚀
🚀 Major Feature Release - Enhanced Agent Capabilities & Evaluation Tools
This release introduces significant new capabilities to SDialog, focusing on advanced agent functionality, comprehensive evaluation tools, and improved dialogue generation.
🤖 Agent & Orchestration Enhancements
- 🧠 Agent Thinking Capabilities: Agents can now handle internal thinking processes for more sophisticated reasoning
- 🛠️ Agent Tools Support: Added tools capabilities to Agents (e.g. RAG or any other function) with new tutorial
- 📦 New
sdialog.agentsModule: Restructured and movedAgentclass into dedicated module - 🔗 Direct Model Access: Added
base_modelattribute toAgentfor direct access to underlying LLM models for mechanistic interpretability
🎭 Personas & Context Modeling
- 🏢 Customer Service Personas: New
CustomerandSupportAgentpersonas for customer service dialogues - 🌍 Context Modeling: New
ContextandContextGeneratorclasses to explicitly model shared conversation context - 📊 Persona Introspection: Added static method to get list of all attributes from any
BasePersonasubclass
💬 Dialogue Generation & Processing
- 🔄 Dialogue Paraphrasing: New
Paraphraserclass to paraphrase dialogues while preserving meaning - 🔗 Dialog Merge Functionality: Option to merge consecutive turns from same speaker when loading dialogs
- 🐍 Built-in String Support: Added support for built-in str functions on
Dialogclass
📈 Evaluation & Analysis
- 📝 Linguistic Analysis: New
LinguisticFeatureScoreto compute Flesch reading ease, Gunning fog, hesitation rate, and mean turn length - 🎯 Improved LLM Judges: Enhanced attribute naming (
yes→positive,feedback→reason)
🔧 Technical Improvements
- 💾 Enhanced Caching: Added
clear_cache()method to config - 🏗️ Improved Metadata Handling: Better metadata management across the system
- 🔍 Simplified Interpretability: Streamlined inspection target definitions
- 🐛 Bug Fixes: Fixed potential issues in
PersonaDialogGenerator
📚 Documentation & Developer Experience
- 📖 Comprehensive API Documentation: Refactored and added docstrings with examples for all components
- 🎓 Updated Tutorials: All tutorials now work with new code and include "Open in Colab" badges
- 🤖 AI Assistant Support: Automatic generation of
llm.txtfor better AI coding assistant integration - 📝 Complete API Reference: Full documentation ready for official release
🎯 What's Next
This release significantly expands SDialog's capabilities, making it more powerful for:
- Complex dialogue generation with thinking agents
- Customer service scenario simulation
- Advanced dialogue evaluation and analysis
- Research in dialogue systems and conversational AI
Full Changelog: View detailed changes