Skip to content

StoreBootstrap

autogen.beta.knowledge.bootstrap.StoreBootstrap #

Bases: Protocol

Initializes a knowledge store with a starting structure.

Called once when an actor first runs with a store. Subsequent runs skip bootstrapping (detected via a sentinel file).

bootstrap async #

bootstrap(store, actor_name)

Create initial store structure.

Source code in autogen/beta/knowledge/bootstrap.py
async def bootstrap(self, store: KnowledgeStore, actor_name: str) -> None:
    """Create initial store structure."""
    ...