Package com.embabel.agent.rag
Interface ContentRoot
-
- All Implemented Interfaces:
-
com.embabel.agent.rag.ContentElement,com.embabel.agent.rag.Datum,com.embabel.agent.rag.HierarchicalContentElement
public interface ContentRoot implements HierarchicalContentElement
Root of a structured document It must have a non-null URI
-
-
Method Summary
Modifier and Type Method Description Set<String>labels()Labels of the entity. abstract StringgetUri()URI for the content. abstract StringgetTitle()VoidgetParentId()-
Methods inherited from class com.embabel.agent.rag.HierarchicalContentElement
propertiesToPersist -
Methods inherited from class com.embabel.agent.rag.Datum
getId, getMetadata -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
labels
Set<String> labels()
Labels of the entity. In Neo, this might include multiple labels. In a relational database, this might be a single table name.
-
getUri
abstract String getUri()
URI for the content. May be a URL. Not generated by Embabel, but from the source.
-
getParentId
Void getParentId()
-
-
-
-