More complex code (Orchestrate)
For advanced operations that exceed what’s practical or performant in a browser-based Pyodide environment, you can integrate Orchestrate:
- Create a Dockerized Script: Bundle your Python code—complete with any libraries—into a container.
- Expose as an API Endpoint: Configure an incoming webhook or endpoint that your form can call.
- Trigger from the Front End: Use the requests library in your Code Editor to send data to your Orchestrate endpoint.
- Automatic Triggers (Optional): Orchestrate can also listen for item status changes or other platform events, removing the need for direct user interaction.
Example Use Cases
- Long-Running Model Inference: A large number of inference calls that wouldn’t be feasible in the browser.
- Batch Processing: Transform or aggregate data across multiple items.
- External Integrations: Webhooks to external services, scheduled tasks, or cross-project synchronization.
For details on setting up Orchestrate pipelines, see the Main Orchestrate Documentation.
Updated 2 days ago