Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 924 Bytes

File metadata and controls

30 lines (21 loc) · 924 Bytes

OllamaMessage

Properties

Name Type Description Notes
role str The message role
content str The message content

Example

from cms_client.models.ollama_message import OllamaMessage

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

# convert the object into a dict
ollama_message_dict = ollama_message_instance.to_dict()
# create an instance of OllamaMessage from a dict
ollama_message_from_dict = OllamaMessage.from_dict(ollama_message_dict)

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