Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 2.49 KB

TopicListItem.md

File metadata and controls

43 lines (34 loc) · 2.49 KB

TopicListItem

Node-tree overview item. content only when the caller asks for it.

Properties

Name Type Description Notes
id str Topic (node) id
doc_id str Owning document id [optional] [default to '']
kb_id str Owning knowledge base id [optional] [default to '']
name str Node title. For the document-root item (`type=root`) this is the document title, i.e. the same value as the document's `title`
type str Structural role: `root` = the document-root container (exactly one per document, `depth=0`, `parent_id=null`, empty body), `section` = a real topic, `element` = rich media (reserved, not produced yet). Filter on this rather than on `depth==0` to tell the root apart from real topics [optional] [default to 'section']
depth int Tree depth: 0 = document root, 1 = a top-level topic [optional] [default to 0]
seq int DFS position within the document (0 = the root). Items are already returned in this order — use the order, do not do arithmetic on the value [optional] [default to 0]
parent_id str [optional]
summary str Retrieval-oriented summary covering this node AND its subtree. On the root item it is the document-level summary [optional] [default to '']
content str [optional]
tag_ids List[str] Opaque final materialized semantic tag ids (maximum 50) [optional]
version int Current topic tag CAS version [optional] [default to 0]
created_at datetime [optional]
updated_at datetime [optional]

Example

from everos_cloud.models.topic_list_item import TopicListItem

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

# convert the object into a dict
topic_list_item_dict = topic_list_item_instance.to_dict()
# create an instance of TopicListItem from a dict
topic_list_item_from_dict = TopicListItem.from_dict(topic_list_item_dict)

[Back to Model list] [Back to API list] [Back to README]