Skip to content

v1.2.7

Compare
Choose a tag to compare
@dirkbrnd dirkbrnd released this 02 Apr 20:22
· 693 commits to main since this release
cf877d3

1.2.7

Created: March 31, 2025 4:13 PM

Changelog

New Features:

  • Gemini Image Generation: Added support for generating images straight from Gemini using the gemini-2.0-flash-exp-image-generation model.

Improvements:

  • Vertex AI: Improved use of Vertex AI with Gemini Model class to closely follow the official Google specification
  • Function Result Caching Improvement: We now have result caching on all Agno Toolkits and any custom functions using the @tool decorator. See the docs here.
  • Async Vector DB and Knowledge Base Improvements: Various knowledge bases, readers and vector DBs now have async-await support, so it will be used in agent.arun and agent.aprint_response. This also means that knowledge_base.aload() is possible which should greatly increase loading speed in some cases. The following have been converted:
    • Vector DBs:
      • LanceDbHere is a cookbook to illustrate how to use it.
      • MilvusHere is a cookbook to illustrate how to use it.
      • WeaviateHere is a cookbook to illustrate how to use it.
    • Knowledge Bases:
      • JSONKnowledgeBaseHere is a cookbook to illustrate how to use it.
      • PDFKnowledgeBaseHere is a cookbook to illustrate how to use it.
      • PDFUrlKnowledgeBaseHere is a cookbook to illustrate how to use it.
      • CSVKnowledgeBaseHere is a cookbook to illustrate how to use it.
      • CSVUrlKnowledgeBaseHere is a cookbook to illustrate how to use it.
      • ArxivKnowledgeBaseHere is a cookbook to illustrate how to use it.
      • WebsiteKnowledgeBaseHere is a cookbook to illustrate how to use it.
      • YoutubeKnowledgeBaseHere is a cookbook to illustrate how to use it.
      • TextKnowledgeBaseHere is a cookbook to illustrate how to use it.

Bug Fixes:

  • Recursive Chunking Infinite Loop: Fixes an issue with RecursiveChunking getting stuck in an infinite loop for large documents.

What's Changed

New Contributors

Full Changelog: v1.2.6...v1.2.7