lesson-agent-dev / libs /agent /README.md
MSGEncrypted's picture
iiinit skills agents and model
d10324f
|
Raw
History Blame Contribute Delete
363 Bytes

A newer version of the Gradio SDK is available: 6.19.0

Upgrade

agent

Hermes-style skill agent on top of the local inference backends.

from agent.runner import AgentRunner
from inference.factory import get_backend

runner = AgentRunner()
result = runner.run_education_pptx(
    topic="Photosynthesis",
    grade="6",
    slide_count=5,
    model_key="minicpm5-1b",
    backend=get_backend("minicpm5-1b"),
)