Skip to content

"""

Migration Guide

From semantic-router

Old Code

from semantic_router import Router
router = Router(routes=routes)

New Code

from stratarouter import Router
router = Router()
for route in routes:
    router.add(route)
router.build_index()
"""