File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,19 @@ def test_create_detector_with_pipeline_config(gl: Groundlight):
128128 assert isinstance (_detector , Detector )
129129
130130
131+ def test_create_detector_with_edge_pipeline_config (gl : Groundlight ):
132+ name = f"Test edge-pipeline-config { datetime .utcnow ()} "
133+ query = "Is there a dog (edge-config)?"
134+ _detector = gl .create_detector (
135+ name = name ,
136+ query = query ,
137+ pipeline_config = "never-review" ,
138+ edge_pipeline_config = "generic-cached-timm-efficientnetv2s-knn" ,
139+ )
140+ assert str (_detector )
141+ assert isinstance (_detector , Detector )
142+
143+
131144def test_create_detector_with_confidence_threshold (gl : Groundlight ):
132145 # "never-review" is a special model that always returns the same result with 100% confidence.
133146 # It's useful for testing.
You can’t perform that action at this time.
0 commit comments