GoodMem
ReferenceClient SDKsPython SDKModels

ContextItem Model

ContextItem Model documentation for Python SDK

Context item with either text or binary content.

Properties

NameTypeDescriptionNotes
is_validbool
textstrText content for this context item.[optional]
binaryBinaryContent[optional]

Example

from goodmem_client.models.context_item import ContextItem

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

# convert the object into a dict
context_item_dict = context_item_instance.to_dict()
# create an instance of ContextItem from a dict
context_item_from_dict = ContextItem.from_dict(context_item_dict)

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

On this page