That’s correct! You can compose multiple models in a single query to set up useful AI pipelines.
Here is an illustrative query that chains together multiple models:
-- Analyse emotions of faces in a video
SELECT id, bbox, EmotionDetector(Crop(data, bbox))
FROM MovieVideo JOIN LATERAL UNNEST(FaceDetector(data)) AS Face(bbox, conf)
WHERE id < 15;
Here is an illustrative query that chains together multiple models: