Research Agent
Overview IntroExtract structured content and cite from any URL GETSearch the web GETGenerate language model reply using agent prompts POSTOverview Intro
Modules
Extract AuthorExtract CiteExtract SourceExtract TitleHuman Names RecognizeMetadata To CiteUrl To Domain
Research Agent
FunctionsExtractorHtml to cite

Extract Author

ai-research-agent / extractor/html-to-cite/extract-author

extractAuthor()

function extractAuthor(document: Document): any;

Defined in: src/extractor/html-to-cite/extract-author.js:53

Extracts the author from the document and validates it as a human name

Parameters

ParameterTypeDescription

document

Document

Returns

any

author_cite, author_short, author_type - or null if no valid author found

Memory

Previous Page

Extract Cite

Next Page

On this page

extractAuthor()ParametersReturns