GuardrailViolationsByCollection
Properties
Name |
Type |
Description |
Notes |
|---|---|---|---|
collection_name |
str |
[optional] |
|
collection_id |
str |
[optional] |
|
total |
int |
[optional] |
Example
from h2ogpte.rest_sync.models.guardrail_violations_by_collection import GuardrailViolationsByCollection
# TODO update the JSON string below
json = "{}"
# create an instance of GuardrailViolationsByCollection from a JSON string
guardrail_violations_by_collection_instance = GuardrailViolationsByCollection.from_json(json)
# print the JSON string representation of the object
print(GuardrailViolationsByCollection.to_json())
# convert the object into a dict
guardrail_violations_by_collection_dict = guardrail_violations_by_collection_instance.to_dict()
# create an instance of GuardrailViolationsByCollection from a dict
guardrail_violations_by_collection_from_dict = GuardrailViolationsByCollection.from_dict(guardrail_violations_by_collection_dict)