Package com.embabel.agent.domain.library
Class Blog
-
- All Implemented Interfaces:
-
com.embabel.agent.domain.library.ContentAsset,com.embabel.agent.domain.library.HasContent,com.embabel.common.ai.prompt.PromptContributor,com.embabel.common.ai.prompt.PromptElement,com.embabel.common.core.types.Timestamped
public final class Blog implements ContentAsset
Blog content, specifying its format in a way that will be intelligible to an LLM as well as application code.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringtitleprivate final Stringauthorprivate final Stringcontentprivate final Instanttimestampprivate final Set<String>keywordsprivate final Stringformatprivate final PromptContributionLocationpromptContributionLocationprivate final Stringrole
-
Method Summary
Modifier and Type Method Description final StringgetTitle()final StringgetAuthor()StringgetContent()Content associated with this object. InstantgetTimestamp()final Set<String>getKeywords()final StringgetFormat()Stringcontribution()-
Methods inherited from class com.embabel.common.ai.prompt.PromptElement
getPromptContributionLocation, getRole -
Methods inherited from class com.embabel.common.ai.prompt.PromptContributor
promptContribution -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getContent
String getContent()
Content associated with this object.
-
getTimestamp
Instant getTimestamp()
-
getKeywords
final Set<String> getKeywords()
-
contribution
String contribution()
-
-
-
-