Some checks failed
ai_core_api_client Python package / build (3.10) (push) Failing after 1m16s
ai_core_api_client Python package / build (3.11) (push) Failing after 1m14s
ai_core_api_client Python package / build (3.12) (push) Failing after 5s
ai_core_api_client Python package / build (3.13) (push) Failing after 5s
ai_core_api_client Python package / build (3.9) (push) Failing after 5s
951 B
951 B
DomainAIMessage
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| content | str | [optional] | |
| role | str | [optional] |
Example
from ai_core_api_client.models.domain_ai_message import DomainAIMessage
# TODO update the JSON string below
json = "{}"
# create an instance of DomainAIMessage from a JSON string
domain_ai_message_instance = DomainAIMessage.from_json(json)
# print the JSON string representation of the object
print(DomainAIMessage.to_json())
# convert the object into a dict
domain_ai_message_dict = domain_ai_message_instance.to_dict()
# create an instance of DomainAIMessage from a dict
domain_ai_message_from_dict = DomainAIMessage.from_dict(domain_ai_message_dict)