import_public_brain
Import community-driven lessons for a framework to quickly fill an AI brain with proven knowledge, without overwriting existing lessons.
Instructions
Import community lessons from the Cachly Public Brain for a framework. Non-destructive: existing lessons with the same topic key are not overwritten. Returns the count of lessons imported and their topic slugs. Available frameworks: nextjs, fastapi, go, docker, kubernetes, react, typescript, python, rust, laravel, rails, spring. Use this to bootstrap a new brain with battle-tested community knowledge before your first session_start. Use publish_lesson to contribute your own lessons to the Public Brain; use learn_from_attempts for storing lessons from your own sessions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max lessons to import (default: 20) | |
| framework | Yes | Framework/platform to import lessons for | |
| instance_id | Yes | UUID of the cache instance to import into |