GuardrailViolation

Properties

Name

Type

Description

Notes

id

str

[optional]

created_at

str

[optional]

user_id

str

[optional]

username

str

[optional]

email

str

[optional]

collection_id

str

[optional]

collection_name

str

[optional]

violation_type

str

[optional]

violation_message

str

[optional]

Example

from h2ogpte.rest_sync.models.guardrail_violation import GuardrailViolation

# TODO update the JSON string below
json = "{}"
# create an instance of GuardrailViolation from a JSON string
guardrail_violation_instance = GuardrailViolation.from_json(json)
# print the JSON string representation of the object
print(GuardrailViolation.to_json())

# convert the object into a dict
guardrail_violation_dict = guardrail_violation_instance.to_dict()
# create an instance of GuardrailViolation from a dict
guardrail_violation_from_dict = GuardrailViolation.from_dict(guardrail_violation_dict)