v2.6.0
版本发布时间: 2024-12-07 00:02:46
phidatahq/phidata最新发布版本:v2.6.3(2024-12-09 19:57:34)
Changelog
This update introduces exciting new features, performance enhancements, and crucial fixes to ensure better usability and functionality.
Highlights
- Multimodal Agents: Agents now natively support image and audio with video capabilities coming soon.
- Agentic Workflows : Build deterministic multi-agent pipelines using Workflows, now generally available.
-
State Sharing: New
session_state
variable allows agents to share state across function calls. - Direct Responses: Agents in teams can now respond directly to users, bypassing the team leader.
- Context Injection: Real-time context resolution for enhanced execution.
- Human-in-the-Loop: Tool calls can now be confirmed or approved before execution.
- Advanced Chunking (#1507): Added support for Semantic, Agentic, Document, Recursive, and Fixed chunking strategies.
New Features
Playground Updates
- Show Reasoning: Gain insights into the agent's decision-making process.
- Show Tool Calls: View results and metrics on hover.
- Sessions Page Enhancements: Added reasoning, context, and tools integration.
- Delete Custom Endpoint: Manage endpoints directly within the Playground.
- Show References: Sources used for RAG are now viewable.
Additional Features
- Chunking Strategies in RAG (#1507): Five levels of chunking introduced to enhance processing.
- Unified Reranker (#1417): CohereReranker enables consistent reranking across vector databases like LanceDB.
- Milvus Vector Database Integration (#1506): Milvus support added as a vector database option.
- Support for Multi-Modalities: Enhanced agent capabilities with audio, video, and image data support.
- Pre- and Post-Hook Functions: Validate arguments, enable human-in-the-loop flows, and validate results of tool calls.
Improvements
- Workflow Session Logging (#1513): Improved logging mechanisms for better workflow tracking.
- Ollama Tool Call Streaming (#1494): Enhanced call streaming capabilities for the Ollama tool.
- Logging Updates for Gemini (#1495): Improved logging functionality for Gemini models.
- Ollama LLM Class Updates (#1205): Resolved reliability issues in tool calling.
- Duplicate Endpoint Prevention: Enhanced logic to prevent creating duplicate custom endpoints.
- Dynamic Prompts: System prompt, user prompt, and instructions can now be passed as functions resolved at runtime.
- Knowledge Base Updates (#1472, #1474): Fixed terminology updates and improvements to knowledge cookbooks.
- Vertex AI Gemini Model Class (#1489): Added support for Google Vertex AI models with cookbooks.
Bug Fixes
- Session Read-All Issue: Resolved an issue where titles weren’t created with a list of messages.
- Ollama Tool Response Fix: Fixed empty responses from Ollama tools (#1205).
- Empty Context Creation Prevention (#1471): Prevented creation of contexts when no knowledge base is provided.
Breaking Changes
-
Agent.add_context
renamed toAgent.add_references
to align with context injection terminology. -
context_format
is nowreferences_format
.
New Contributors
- @zc277584121 made their first contribution in https://github.com/phidatahq/phidata/pull/1506
- @ofri made their first contribution in https://github.com/phidatahq/phidata/pull/1205
Full Changelog: https://github.com/phidatahq/phidata/compare/v2.5.34...v2.6.0