Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.24 KB

CompletionMessagesInner.md

File metadata and controls

31 lines (22 loc) · 1.24 KB

CompletionMessagesInner

Properties

Name Type Description Notes
role str The role of the message's author. [optional]
content str The contents of the message. [optional]
name str An optional name for the participant. Provides the model information to differentiate between participants of the same role. [optional]

Example

from suada_client.models.completion_messages_inner import CompletionMessagesInner

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

# convert the object into a dict
completion_messages_inner_dict = completion_messages_inner_instance.to_dict()
# create an instance of CompletionMessagesInner from a dict
completion_messages_inner_from_dict = CompletionMessagesInner.from_dict(completion_messages_inner_dict)

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