GoodMem
ReferenceClient SDKsPython SDKBase Classes

AbstractReply

AbstractReply documentation for Python SDK

Generated abstractive reply with relevance information

Properties

NameTypeDescriptionNotes
textstrGenerated abstractive reply text
relevance_scorefloatRelevance score for this reply (0.0 to 1.0)
result_set_idstrOptional result set ID linking this abstract to a specific result set[optional]

Example

from goodmem_client.models.abstract_reply import AbstractReply

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

# convert the object into a dict
abstract_reply_dict = abstract_reply_instance.to_dict()
# create an instance of AbstractReply from a dict
abstract_reply_from_dict = AbstractReply.from_dict(abstract_reply_dict)

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

On this page