Package com.embabel.agent.rag
Class LeafSection
-
- All Implemented Interfaces:
-
com.embabel.agent.domain.library.HasContent,com.embabel.agent.rag.ContentElement,com.embabel.agent.rag.Datum,com.embabel.agent.rag.HierarchicalContentElement,com.embabel.agent.rag.MaterializedSection,com.embabel.agent.rag.Section
public final class LeafSection implements MaterializedSection, HasContent
Contains content
-
-
Method Summary
Modifier and Type Method Description StringgetContent()Content associated with this object. StringgetId()Embabel id. StringgetUri()URI for the content. StringgetTitle()final StringgetText()StringgetParentId()Map<String, Object>getMetadata()Map<String, Object>propertiesToPersist()Properties to persist Subclasses can add their own properties but must call super to include these. Set<String>labels()Labels of the entity. -
-
Method Detail
-
getContent
String getContent()
Content associated with this object.
-
getUri
String getUri()
URI for the content. May be a URL. Not generated by Embabel, but from the source.
-
getParentId
String getParentId()
-
getMetadata
Map<String, Object> getMetadata()
-
propertiesToPersist
Map<String, Object> propertiesToPersist()
Properties to persist Subclasses can add their own properties but must call super to include these.
-
-
-
-