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

Metadata To Cite

ai-research-agent / extractor/html-to-cite/metadata-to-cite

extractCiteFromMetadata()

function extractCiteFromMetadata(doc: Document): any;

Defined in: src/extractor/html-to-cite/metadata-to-cite.js:6

Extract cite info from common property names in webpage's metadata

Parameters

ParameterTypeDescription

doc

Document

dom object of document

Returns

any

author, date, title, source

Human Names Recognize

Previous Page

Url To Domain

Next Page

On this page

extractCiteFromMetadata()ParametersReturns