v1.4.6

May 10, 2025

1.4.6

New Features:
  • Cerebras Model Provider: Added Cerebras as a model provider.
  • Claude Web Search: Added support for Claude’s new web search tool.
  • Knowledge Base Metadata Filtering (Beta): Added support for filtering documents by metadata
    • Two Ways to Apply Filters:
      • Explicit Filtering: Pass filters directly to Agent or during run/query
      • Agentic Filtering: Agent automatically detects and applies filters from user queries
    • Two approaches for adding metadata to documents:
      • During Knowledge Base Initialization
      • During Individual Document Loading
    • Compatibility:
      • Knowledge Base Types: PDF, Text, DOCX, JSON, and PDF_URL
      • Vector Databases: Qdrant, LanceDB, and MongoDB
Improvements:
  • User and Session ID in Tools: Added current_user_id and current_session_id as default variables in `session_data` for `Agent` and `Team`.
Bug Fixes:
  • Knowledge Base ID Clashes: Knowledge files with overlapping names (e.g., abc.-.xyz.pdf and abc.-.def.pdf) were being incorrectly identified due to the readers using formatted names as unique id which were getting uniqueness conflict. Introduced a unique ID for each document in all the readers using uuidv4() to ensure strict identification and prevent conflicts.