Package com.embabel.agent.rag
Class SimpleNamedEntityData
-
- All Implemented Interfaces:
-
com.embabel.agent.rag.Datum,com.embabel.agent.rag.Embeddable,com.embabel.agent.rag.EntityData,com.embabel.agent.rag.NamedEntityData,com.embabel.agent.rag.Retrievable,com.embabel.agent.rag.RetrievableEntity,com.embabel.common.core.types.Described,com.embabel.common.core.types.HasInfoString,com.embabel.common.core.types.Named,com.embabel.common.core.types.NamedAndDescribed
public final class SimpleNamedEntityData implements NamedEntityData
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final Stringuriprivate final Stringnameprivate final Stringdescriptionprivate final Set<String>labelsprivate final Map<String, Object>propertiesprivate final Map<String, Object>metadataprivate final Map<String, Collection<Retrievable>>neighbors
-
Method Summary
Modifier and Type Method Description StringgetId()Embabel id. StringgetUri()URI for the content. StringgetName()StringgetDescription()final Set<String>getLabels()Map<String, Object>getProperties()Map<String, Object>getMetadata()Set<String>labels()Labels of the entity. StringembeddableValue()Embedding value of this retrievable object. -
Methods inherited from class com.embabel.agent.rag.Retrievable
getNeighbors -
Methods inherited from class com.embabel.agent.rag.NamedEntityData
infoString -
Methods inherited from class com.embabel.agent.rag.Datum
propertiesToPersist -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getUri
String getUri()
URI for the content. May be a URL. Not generated by Embabel, but from the source.
-
getDescription
String getDescription()
-
getProperties
Map<String, Object> getProperties()
-
getMetadata
Map<String, Object> getMetadata()
-
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.
-
embeddableValue
String embeddableValue()
Embedding value of this retrievable object.
-
-
-
-