Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions rasa/jupyter.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ def chat(
endpoints: Path to a yaml with the action server is custom actions are defined.
agent: Rasa Core agent (used if no Rasa model given).
"""

from rasa.core.utils import AvailableEndpoints
_endpoints = AvailableEndpoints.read_endpoints(endpoints)

if model_path:
agent = asyncio.run(
rasa.core.agent.load_agent(model_path=model_path, endpoints=endpoints)
Expand Down