How to create a Combined Knowlegebase from multiple Knowledgebase instances like in agno v1?

In agno v1 I could do:

knowledge_base = CombinedKnowledgeBase(
    sources=[
        url_pdf_knowledge_base,
        website_knowledge_base,
        local_pdf_knowledge_base,
    ],
    vector_db=PgVector(
        # Table name: ai.combined_documents
        table_name="combined_documents",
        db_url="postgresql+psycopg://ai:ai@localhost:5532/ai",
    ),
)

I agno v2 the Knowlegebase class accepts only one vectordb

knowledge_base = Knowledge(
  vector_db=weaviate_vector_db,
)

In my perticular case I want to combine multiple weaviate collections.

1 Like

Hey @mor40, thanks for reaching out and supporting Agno. I’ve shared this with the team, we’re working through all requests one by one and will get back to you soon.If it’s urgent, please let us know. We appreciate your patience!

Hey @mor40

The team is busy adding a feature to support this.
Will update soon

1 Like