Appearance
Conversation
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | ||
| type | str | ||
| message | str | ||
| topic | str | [optional] | |
| initial | bool | ||
| created_at | datetime | ||
| interview_id | str | ||
| annotations | List[Annotation] | ||
| feedback | List[ConversationFeedback] |
Example
python
from syntheticusers.models.conversation import Conversation
# TODO update the JSON string below
json = "{}"
# create an instance of Conversation from a JSON string
conversation_instance = Conversation.from_json(json)
# print the JSON string representation of the object
print(Conversation.to_json())
# convert the object into a dict
conversation_dict = conversation_instance.to_dict()
# create an instance of Conversation from a dict
conversation_from_dict = Conversation.from_dict(conversation_dict)