Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion generated/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ rule_request = RuleRequest(
snooze_time_unit=None,
human_review_required=False,
condition=ConditionRequest(
verb=VerbEnum("ANSWERED_CONSECUTIVELY"),
verb="verb_example",
parameters={
"key": None,
},
Expand Down
2 changes: 1 addition & 1 deletion generated/docs/ActionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ with groundlight_openapi_client.ApiClient(configuration) as api_client:
snooze_time_unit=None,
human_review_required=False,
condition=ConditionRequest(
verb=VerbEnum("ANSWERED_CONSECUTIVELY"),
verb="verb_example",
parameters={
"key": None,
},
Expand Down
3 changes: 1 addition & 2 deletions generated/docs/AnnotationsRequestedEnum.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# AnnotationsRequestedEnum

* `BINARY_CLASSIFICATION` - Binary Classification * `BOUNDING_BOXES` - Bounding Boxes

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **str** | * `BINARY_CLASSIFICATION` - Binary Classification * `BOUNDING_BOXES` - Bounding Boxes | must be one of ["BINARY_CLASSIFICATION", "BOUNDING_BOXES", ]
**value** | **str** | | must be one of ["BINARY_CLASSIFICATION", "BOUNDING_BOXES", ]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion generated/docs/BinaryClassificationResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**label** | **str** | |
**confidence** | **float, none_type** | | [optional]
**source** | **str** | | [optional]
**result_type** | **str** | | [optional] if omitted the server will use the default value of "binary_classification"
**result_type** | **str** | | [optional]
**from_edge** | **bool** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

Expand Down
2 changes: 1 addition & 1 deletion generated/docs/BoundingBoxResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**label** | **str** | |
**confidence** | **float, none_type** | | [optional]
**source** | **str** | | [optional]
**result_type** | **str** | | [optional] if omitted the server will use the default value of "bounding_box"
**result_type** | **str** | | [optional]
**from_edge** | **bool** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

Expand Down
2 changes: 1 addition & 1 deletion generated/docs/Condition.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**verb** | [**VerbEnum**](VerbEnum.md) | |
**verb** | **str** | |
**parameters** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

Expand Down
2 changes: 1 addition & 1 deletion generated/docs/ConditionRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**verb** | [**VerbEnum**](VerbEnum.md) | |
**verb** | **str** | |
**parameters** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

Expand Down
2 changes: 1 addition & 1 deletion generated/docs/CountingResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**count** | **int, none_type** | |
**confidence** | **float, none_type** | | [optional]
**source** | **str** | | [optional]
**result_type** | **str** | | [optional] if omitted the server will use the default value of "counting"
**result_type** | **str** | | [optional]
**from_edge** | **bool** | | [optional]
**greater_than_max** | **bool** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
4 changes: 2 additions & 2 deletions generated/docs/Detector.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ Name | Type | Description | Notes
**query** | **str** | A question about the image. | [readonly]
**group_name** | **str** | Which group should this detector be part of? | [readonly]
**metadata** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | Metadata about the detector. | [readonly]
**mode** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [readonly]
**mode** | **str** | | [readonly]
**mode_configuration** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | | [readonly]
**confidence_threshold** | **float** | If the detector's prediction is below this confidence threshold, send the image query for human review. | [optional] if omitted the server will use the default value of 0.9
**patience_time** | **float** | How long Groundlight will attempt to generate a confident prediction | [optional] if omitted the server will use the default value of 30.0
**status** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
**escalation_type** | **bool, date, datetime, dict, float, int, list, str, none_type** | Category that define internal proccess for labeling image queries * `STANDARD` - STANDARD * `NO_HUMAN_LABELING` - NO_HUMAN_LABELING | [optional]
**escalation_type** | **str** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion generated/docs/DetectorsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ with groundlight_openapi_client.ApiClient(configuration) as api_client:
confidence_threshold=0.9,
patience_time=30.0,
status=None,
escalation_type=None,
escalation_type="escalation_type_example",
) # PatchedDetectorRequest | (optional)

# example passing only required values which don't have defaults set
Expand Down
3 changes: 1 addition & 2 deletions generated/docs/EscalationTypeEnum.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# EscalationTypeEnum

* `STANDARD` - STANDARD * `NO_HUMAN_LABELING` - NO_HUMAN_LABELING

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **str** | * `STANDARD` - STANDARD * `NO_HUMAN_LABELING` - NO_HUMAN_LABELING | must be one of ["STANDARD", "NO_HUMAN_LABELING", ]
**value** | **str** | | must be one of ["STANDARD", "NO_HUMAN_LABELING", ]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
10 changes: 5 additions & 5 deletions generated/docs/InlineResponse2001EvaluationResults.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Name | Type | Description | Notes
**eval_timestamp** | **datetime** | | [optional]
**total_ground_truth_examples** | **int, none_type** | | [optional]
**kfold_pooled__balanced_accuracy** | **float** | | [optional]
**kfold_pooled__positive_accuracy** | **float** | | [optional]
**kfold_pooled__negative_accuracy** | **float** | | [optional]
**balanced_system_accuracies** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional]
**positive_system_accuracies** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional]
**negative_system_accuracies** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional]
**kfold_pooled__positive_accuracy** | **float, none_type** | | [optional]
**kfold_pooled__negative_accuracy** | **float, none_type** | | [optional]
**balanced_system_accuracies** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | | [optional]
**positive_system_accuracies** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | | [optional]
**negative_system_accuracies** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
4 changes: 2 additions & 2 deletions generated/docs/LabelValue.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**confidence** | **float, none_type** | | [readonly]
**class_name** | **str, none_type** | Return a human-readable class name for this label (e.g. YES/NO) | [readonly]
**annotations_requested** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | | [readonly]
**annotations_requested** | **[str]** | | [readonly]
**created_at** | **datetime** | | [readonly]
**detector_id** | **int, none_type** | | [readonly]
**source** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [readonly]
**source** | **str** | | [readonly]
**text** | **str, none_type** | Text annotations | [readonly]
**rois** | [**[ROI], none_type**](ROI.md) | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
Expand Down
2 changes: 1 addition & 1 deletion generated/docs/MultiClassificationResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**label** | **str** | |
**confidence** | **float, none_type** | | [optional]
**source** | **str** | | [optional]
**result_type** | **str** | | [optional] if omitted the server will use the default value of "multi_classification"
**result_type** | **str** | | [optional]
**from_edge** | **bool** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

Expand Down
2 changes: 1 addition & 1 deletion generated/docs/PatchedDetectorRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**confidence_threshold** | **float** | If the detector's prediction is below this confidence threshold, send the image query for human review. | [optional] if omitted the server will use the default value of 0.9
**patience_time** | **float** | How long Groundlight will attempt to generate a confident prediction | [optional] if omitted the server will use the default value of 30.0
**status** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional]
**escalation_type** | **bool, date, datetime, dict, float, int, list, str, none_type** | Category that define internal proccess for labeling image queries * `STANDARD` - STANDARD * `NO_HUMAN_LABELING` - NO_HUMAN_LABELING | [optional]
**escalation_type** | **str** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
3 changes: 1 addition & 2 deletions generated/docs/SourceEnum.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# SourceEnum

* `INITIAL_PLACEHOLDER` - InitialPlaceholder * `CLOUD` - HumanCloud * `CUST` - HumanCustomer * `HUMAN_CLOUD_ENSEMBLE` - HumanCloudEnsemble * `ALG` - Algorithm * `ALG_REC` - AlgorithmReconciled * `ALG_UNCLEAR` - AlgorithmUnclear * `EDGE` - EDGE

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **str** | * `INITIAL_PLACEHOLDER` - InitialPlaceholder * `CLOUD` - HumanCloud * `CUST` - HumanCustomer * `HUMAN_CLOUD_ENSEMBLE` - HumanCloudEnsemble * `ALG` - Algorithm * `ALG_REC` - AlgorithmReconciled * `ALG_UNCLEAR` - AlgorithmUnclear * `EDGE` - EDGE | must be one of ["INITIAL_PLACEHOLDER", "CLOUD", "CUST", "HUMAN_CLOUD_ENSEMBLE", "ALG", "ALG_REC", "ALG_UNCLEAR", "EDGE", ]
**value** | **str** | | must be one of ["INITIAL_PLACEHOLDER", "CLOUD", "CUST", "HUMAN_CLOUD_ENSEMBLE", "ALG", "ALG_REC", "ALG_UNCLEAR", "EDGE", ]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion generated/docs/TextRecognitionResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**truncated** | **bool** | |
**confidence** | **float, none_type** | | [optional]
**source** | **str** | | [optional]
**result_type** | **str** | | [optional] if omitted the server will use the default value of "text_recognition"
**result_type** | **str** | | [optional]
**from_edge** | **bool** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

Expand Down
3 changes: 1 addition & 2 deletions generated/docs/VerbEnum.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# VerbEnum

* `ANSWERED_CONSECUTIVELY` - ANSWERED_CONSECUTIVELY * `ANSWERED_WITHIN_TIME` - ANSWERED_WITHIN_TIME * `CHANGED_TO` - CHANGED_TO * `NO_CHANGE` - NO_CHANGE * `NO_QUERIES` - NO_QUERIES

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **str** | * `ANSWERED_CONSECUTIVELY` - ANSWERED_CONSECUTIVELY * `ANSWERED_WITHIN_TIME` - ANSWERED_WITHIN_TIME * `CHANGED_TO` - CHANGED_TO * `NO_CHANGE` - NO_CHANGE * `NO_QUERIES` - NO_QUERIES | must be one of ["ANSWERED_CONSECUTIVELY", "ANSWERED_WITHIN_TIME", "CHANGED_TO", "NO_CHANGE", "NO_QUERIES", ]
**value** | **str** | | must be one of ["ANSWERED_CONSECUTIVELY", "ANSWERED_WITHIN_TIME", "CHANGED_TO", "NO_CHANGE", "NO_QUERIES", ]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ def __init__(self, *args, **kwargs):
Note that value can be passed either in args or in kwargs, but not in both.

Args:
args[0] (str): * `BINARY_CLASSIFICATION` - Binary Classification * `BOUNDING_BOXES` - Bounding Boxes., must be one of ["BINARY_CLASSIFICATION", "BOUNDING_BOXES", ] # noqa: E501
args[0] (str):, must be one of ["BINARY_CLASSIFICATION", "BOUNDING_BOXES", ] # noqa: E501

Keyword Args:
value (str): * `BINARY_CLASSIFICATION` - Binary Classification * `BOUNDING_BOXES` - Bounding Boxes., must be one of ["BINARY_CLASSIFICATION", "BOUNDING_BOXES", ] # noqa: E501
value (str):, must be one of ["BINARY_CLASSIFICATION", "BOUNDING_BOXES", ] # noqa: E501
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
raised if the wrong type is input.
Expand Down Expand Up @@ -194,10 +194,10 @@ def _from_openapi_data(cls, *args, **kwargs):
Note that value can be passed either in args or in kwargs, but not in both.

Args:
args[0] (str): * `BINARY_CLASSIFICATION` - Binary Classification * `BOUNDING_BOXES` - Bounding Boxes., must be one of ["BINARY_CLASSIFICATION", "BOUNDING_BOXES", ] # noqa: E501
args[0] (str):, must be one of ["BINARY_CLASSIFICATION", "BOUNDING_BOXES", ] # noqa: E501

Keyword Args:
value (str): * `BINARY_CLASSIFICATION` - Binary Classification * `BOUNDING_BOXES` - Bounding Boxes., must be one of ["BINARY_CLASSIFICATION", "BOUNDING_BOXES", ] # noqa: E501
value (str):, must be one of ["BINARY_CLASSIFICATION", "BOUNDING_BOXES", ] # noqa: E501
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
raised if the wrong type is input.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,24 +53,7 @@ class BinaryClassificationResult(ModelNormal):
as additional properties values.
"""

allowed_values = {
("label",): {
"YES": "YES",
"NO": "NO",
"UNCLEAR": "UNCLEAR",
},
("source",): {
"STILL_PROCESSING": "STILL_PROCESSING",
"CLOUD": "CLOUD",
"USER": "USER",
"CLOUD_ENSEMBLE": "CLOUD_ENSEMBLE",
"ALGORITHM": "ALGORITHM",
"EDGE": "EDGE",
},
("result_type",): {
"BINARY_CLASSIFICATION": "binary_classification",
},
}
allowed_values = {}

validations = {
("confidence",): {
Expand Down Expand Up @@ -177,7 +160,7 @@ def _from_openapi_data(cls, label, *args, **kwargs): # noqa: E501
_visited_composed_classes = (Animal,)
confidence (float, none_type): [optional] # noqa: E501
source (str): [optional] # noqa: E501
result_type (str): [optional] if omitted the server will use the default value of "binary_classification" # noqa: E501
result_type (str): [optional] # noqa: E501
from_edge (bool): [optional] # noqa: E501
"""

Expand Down Expand Up @@ -269,7 +252,7 @@ def __init__(self, label, *args, **kwargs): # noqa: E501
_visited_composed_classes = (Animal,)
confidence (float, none_type): [optional] # noqa: E501
source (str): [optional] # noqa: E501
result_type (str): [optional] if omitted the server will use the default value of "binary_classification" # noqa: E501
result_type (str): [optional] # noqa: E501
from_edge (bool): [optional] # noqa: E501
"""

Expand Down
23 changes: 3 additions & 20 deletions generated/groundlight_openapi_client/model/bounding_box_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,24 +53,7 @@ class BoundingBoxResult(ModelNormal):
as additional properties values.
"""

allowed_values = {
("label",): {
"BOUNDING_BOX": "BOUNDING_BOX",
"GREATER_THAN_MAX": "GREATER_THAN_MAX",
"UNCLEAR": "UNCLEAR",
},
("source",): {
"STILL_PROCESSING": "STILL_PROCESSING",
"CLOUD": "CLOUD",
"USER": "USER",
"CLOUD_ENSEMBLE": "CLOUD_ENSEMBLE",
"ALGORITHM": "ALGORITHM",
"EDGE": "EDGE",
},
("result_type",): {
"BOUNDING_BOX": "bounding_box",
},
}
allowed_values = {}

validations = {
("confidence",): {
Expand Down Expand Up @@ -177,7 +160,7 @@ def _from_openapi_data(cls, label, *args, **kwargs): # noqa: E501
_visited_composed_classes = (Animal,)
confidence (float, none_type): [optional] # noqa: E501
source (str): [optional] # noqa: E501
result_type (str): [optional] if omitted the server will use the default value of "bounding_box" # noqa: E501
result_type (str): [optional] # noqa: E501
from_edge (bool): [optional] # noqa: E501
"""

Expand Down Expand Up @@ -269,7 +252,7 @@ def __init__(self, label, *args, **kwargs): # noqa: E501
_visited_composed_classes = (Animal,)
confidence (float, none_type): [optional] # noqa: E501
source (str): [optional] # noqa: E501
result_type (str): [optional] if omitted the server will use the default value of "bounding_box" # noqa: E501
result_type (str): [optional] # noqa: E501
from_edge (bool): [optional] # noqa: E501
"""

Expand Down
Loading
Loading