You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given operation "CreateLLMObsAnnotationQueue" enabled
81
81
And new "CreateLLMObsAnnotationQueue" request
82
-
And body with value {"data": {"attributes": {"description": "Queue for annotating customer support traces", "name": "My annotation queue", "project_id": "a33671aa-24fd-4dcd-9b33-a8ec7dde7751"}, "type": "queues"}}
82
+
And body with value {"data": {"attributes": {"annotation_schema": {"label_schemas": [{"description": "Rating of the response quality.", "has_assessment": false, "has_reasoning": false, "id": "ab12cd34", "is_assessment": false, "is_integer": false, "is_required": true, "max": 5.0, "min": 0.0, "name": "quality", "type": "score", "values": ["good", "bad", "neutral"]}]}, "description": "Queue for annotating customer support traces", "name": "My annotation queue", "project_id": "a33671aa-24fd-4dcd-9b33-a8ec7dde7751"}, "type": "queues"}}
83
83
When the request is sent
84
84
Then the response status is 400 Bad Request
85
85
86
86
@generated@skip@team:DataDog/ml-observability
87
87
Scenario: Create an LLM Observability annotation queue returns "Created" response
88
88
Given operation "CreateLLMObsAnnotationQueue" enabled
89
89
And new "CreateLLMObsAnnotationQueue" request
90
-
And body with value {"data": {"attributes": {"description": "Queue for annotating customer support traces", "name": "My annotation queue", "project_id": "a33671aa-24fd-4dcd-9b33-a8ec7dde7751"}, "type": "queues"}}
90
+
And body with value {"data": {"attributes": {"annotation_schema": {"label_schemas": [{"description": "Rating of the response quality.", "has_assessment": false, "has_reasoning": false, "id": "ab12cd34", "is_assessment": false, "is_integer": false, "is_required": true, "max": 5.0, "min": 0.0, "name": "quality", "type": "score", "values": ["good", "bad", "neutral"]}]}, "description": "Queue for annotating customer support traces", "name": "My annotation queue", "project_id": "a33671aa-24fd-4dcd-9b33-a8ec7dde7751"}, "type": "queues"}}
91
91
When the request is sent
92
92
Then the response status is 201 Created
93
93
@@ -415,6 +415,22 @@ Feature: LLM Observability
415
415
When the request is sent
416
416
Then the response status is 200 OK
417
417
418
+
@generated@skip@team:DataDog/ml-observability
419
+
Scenario: Get annotation queue label schema returns "Not Found" response
420
+
Given operation "GetLLMObsAnnotationQueueLabelSchema" enabled
421
+
And new "GetLLMObsAnnotationQueueLabelSchema" request
422
+
And request contains "queue_id" parameter from "REPLACE.ME"
423
+
When the request is sent
424
+
Then the response status is 404 Not Found
425
+
426
+
@generated@skip@team:DataDog/ml-observability
427
+
Scenario: Get annotation queue label schema returns "OK" response
428
+
Given operation "GetLLMObsAnnotationQueueLabelSchema" enabled
429
+
And new "GetLLMObsAnnotationQueueLabelSchema" request
430
+
And request contains "queue_id" parameter from "REPLACE.ME"
431
+
When the request is sent
432
+
Then the response status is 200 OK
433
+
418
434
@generated@skip@team:DataDog/ml-observability
419
435
Scenario: List LLM Observability annotation queues returns "Bad Request" response
420
436
Given operation "ListLLMObsAnnotationQueues" enabled
@@ -570,7 +586,7 @@ Feature: LLM Observability
570
586
Given operation "UpdateLLMObsAnnotationQueue" enabled
571
587
And new "UpdateLLMObsAnnotationQueue" request
572
588
And request contains "queue_id" parameter from "REPLACE.ME"
573
-
And body with value {"data": {"attributes": {"description": "Updated description", "name": "Updated queue name"}, "type": "queues"}}
589
+
And body with value {"data": {"attributes": {"annotation_schema": {"label_schemas": [{"description": "Rating of the response quality.", "has_assessment": false, "has_reasoning": false, "id": "ab12cd34", "is_assessment": false, "is_integer": false, "is_required": true, "max": 5.0, "min": 0.0, "name": "quality", "type": "score", "values": ["good", "bad", "neutral"]}]}, "description": "Updated description", "name": "Updated queue name"}, "type": "queues"}}
574
590
When the request is sent
575
591
Then the response status is 400 Bad Request
576
592
@@ -579,7 +595,7 @@ Feature: LLM Observability
579
595
Given operation "UpdateLLMObsAnnotationQueue" enabled
580
596
And new "UpdateLLMObsAnnotationQueue" request
581
597
And request contains "queue_id" parameter from "REPLACE.ME"
582
-
And body with value {"data": {"attributes": {"description": "Updated description", "name": "Updated queue name"}, "type": "queues"}}
598
+
And body with value {"data": {"attributes": {"annotation_schema": {"label_schemas": [{"description": "Rating of the response quality.", "has_assessment": false, "has_reasoning": false, "id": "ab12cd34", "is_assessment": false, "is_integer": false, "is_required": true, "max": 5.0, "min": 0.0, "name": "quality", "type": "score", "values": ["good", "bad", "neutral"]}]}, "description": "Updated description", "name": "Updated queue name"}, "type": "queues"}}
583
599
When the request is sent
584
600
Then the response status is 404 Not Found
585
601
@@ -588,7 +604,7 @@ Feature: LLM Observability
588
604
Given operation "UpdateLLMObsAnnotationQueue" enabled
589
605
And new "UpdateLLMObsAnnotationQueue" request
590
606
And request contains "queue_id" parameter from "REPLACE.ME"
591
-
And body with value {"data": {"attributes": {"description": "Updated description", "name": "Updated queue name"}, "type": "queues"}}
607
+
And body with value {"data": {"attributes": {"annotation_schema": {"label_schemas": [{"description": "Rating of the response quality.", "has_assessment": false, "has_reasoning": false, "id": "ab12cd34", "is_assessment": false, "is_integer": false, "is_required": true, "max": 5.0, "min": 0.0, "name": "quality", "type": "score", "values": ["good", "bad", "neutral"]}]}, "description": "Updated description", "name": "Updated queue name"}, "type": "queues"}}
592
608
When the request is sent
593
609
Then the response status is 200 OK
594
610
@@ -675,3 +691,30 @@ Feature: LLM Observability
675
691
And body with value {"data": {"attributes": {}, "type": "projects"}}
0 commit comments