Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.58 KB

File metadata and controls

31 lines (22 loc) · 1.58 KB

Reason

Why the operator made the change. OPTIONAL on both ops: it is recorded on the audit event for quality analysis, never used to gate anything. When given, code is required and note is free text.

Properties

Name Type Description Notes
code str What was wrong, from the fixed list — hallucination, wrong_subject, wrong_time, redundant, missing, privacy, style, other. Required whenever a reason is given. Same base list as `FeedbackInput.reason` plus `missing`, which only an edit can express (an operator fixes a record that left something out; a rating always names a memory that exists). On the contract this SDK is generated from (engine release-20260901_v15) `outdated` is not yet accepted here — the engine adds it in its next release; until then record an outdated-type fix as `wrong_time` or `other`.
note str [optional]

Example

from everos_cloud.models.reason import Reason

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

# convert the object into a dict
reason_dict = reason_instance.to_dict()
# create an instance of Reason from a dict
reason_from_dict = Reason.from_dict(reason_dict)

[Back to Model list] [Back to API list] [Back to README]