Class PubMedFetchOutput.DetailedArticle
java.lang.Object
ai.redouble.nucleo.harness.artifacts.AbstractArtifact
ai.redouble.nucleo.harness.artifacts.LinkArtifact
ai.redouble.nucleo.harness.artifacts.CitationArtifact
ai.redouble.nucleo.ext.lit.models.PubMedFetchOutput.DetailedArticle
- All Implemented Interfaces:
Artifact
- Enclosing class:
PubMedFetchOutput
@TypeAlias("link:cite:pubmed:full")
@LLMDescription("Complete article record with full metadata and optional fields")
public static class PubMedFetchOutput.DetailedArticle
extends CitationArtifact
Detailed article record with complete metadata.
Extends CitationArtifact to ensure it's preserved as an artifact in the LLM context.
- Since:
- 0.1 (2025-11-03)
- Author:
- Andrey Santrosyan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPmcid()getPmid()voidsetCitation(String citation) voidsetDetailedAuthors(List<PubMedFetchOutput.Author> detailedAuthors) voidsetGrants(List<PubMedFetchOutput.Grant> grants) voidsetJournalInfo(PubMedFetchOutput.Journal journalInfo) voidsetKeywords(List<String> keywords) voidsetMeshTerms(List<PubMedFetchOutput.MeshTerm> meshTerms) voidvoidvoidsetPublicationDate(String publicationDate) voidsetPublicationTypes(List<String> publicationTypes) Methods inherited from class CitationArtifact
getAbstractText, getAuthors, getDoi, getFirstAuthor, getFormattedCitation, getJournal, getRelevance, getSource, getYear, setAbstractText, setAuthors, setDoi, setFirstAuthor, setJournal, setRelevance, setSource, setYearMethods inherited from class LinkArtifact
getTitle, getUrl, setTitle, setUrlMethods inherited from class AbstractArtifact
cacheSummary, getArtifactRef, getCachedSummary, hasReference, setArtifactRef, toString
-
Constructor Details
-
DetailedArticle
public DetailedArticle()
-
-
Method Details
-
getPmid
-
setPmid
-
getDetailedAuthors
-
setDetailedAuthors
-
getJournalInfo
-
setJournalInfo
-
getPublicationDate
-
setPublicationDate
-
getPmcid
-
setPmcid
-
getPublicationTypes
-
setPublicationTypes
-
getMeshTerms
-
setMeshTerms
-
getKeywords
-
setKeywords
-
getGrants
-
setGrants
-
getCitation
-
setCitation
-