GoodMem
ReferenceClient SDKsPython SDKModels

BinaryContent Model

BinaryContent Model documentation for Python SDK

Binary content with MIME type for context items.

Properties

NameTypeDescriptionNotes
content_typestrMIME type of the binary content.
datastrBase64-encoded binary data.

Example

from goodmem_client.models.binary_content import BinaryContent

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

# convert the object into a dict
binary_content_dict = binary_content_instance.to_dict()
# create an instance of BinaryContent from a dict
binary_content_from_dict = BinaryContent.from_dict(binary_content_dict)

↑ Back to Python SDK ↑ Back to Python SDK ↑ Back to Python SDK

On this page