Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 937 Bytes

File metadata and controls

35 lines (26 loc) · 937 Bytes

Event

Properties

Name Type Description Notes
conversation_uuid str
created_at datetime
data object
event_id int
role int
tokens_used int
type int

Example

from revengai.models.event import Event

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

# convert the object into a dict
event_dict = event_instance.to_dict()
# create an instance of Event from a dict
event_from_dict = Event.from_dict(event_dict)

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