Package com.embabel.agent.rag
Interface Datum
-
- All Implemented Interfaces:
public interface DatumData object instance, whether structural or not.
-
-
Method Summary
Modifier and Type Method Description 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. abstract StringgetId()Embabel id. abstract StringgetUri()URI for the content. abstract Map<String, Object>getMetadata()-
-
Method Detail
-
propertiesToPersist
Map<String, Object> propertiesToPersist()
Properties to persist Subclasses can add their own properties but must call super to include these.
-
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.
-
getMetadata
abstract Map<String, Object> getMetadata()
-
-
-
-