Call Summit from Summit
How to re-use a model on-platform.
In addition to making requests to external services, you may also request data from your own Summit models while in Summit, making Summit models "composable."
Calling Summit from Summit
To call one model from another, search for "Model Run" after clicking the + Add New
button while in the canvas view, or the +
while in the pipeline view.
A model run modal will appear, asking you for the endpoint of the model. You can get this value by looking at the API & Webhooks screen of the modal you wish to call.
Once added, you'll see that Summit automatically adds a modal_args
event to capture the inputs to the call.
These input params should match the parameters listed on that model's API's &* Webhooks screen.
Updated about 2 months ago