GoodMem
ReferenceClient SDKsPython SDKModels

RetrievedItem Model

RetrievedItem Model documentation for Python SDK

A retrieved result that can be either a Memory or MemoryChunk

Properties

NameTypeDescriptionNotes
memoryMemory[optional]
chunkChunkReference[optional]

Example

from goodmem_client.models.retrieved_item import RetrievedItem

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

# convert the object into a dict
retrieved_item_dict = retrieved_item_instance.to_dict()
# create an instance of RetrievedItem from a dict
retrieved_item_from_dict = RetrievedItem.from_dict(retrieved_item_dict)

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

On this page