Skip to main content

Interface: ScoredRecommendation

Defined in: src/types/interfaces/discovery.interface.ts:454

Single recommendation with score and explanation.

Since

0.1.0

Extends

Properties

abstract?

readonly optional abstract: string

Defined in: src/types/interfaces/ranking.interface.ts:140

Abstract text for extended matching.

Inherited from

RankableItem.abstract


authors?

readonly optional authors: readonly object[]

Defined in: src/types/interfaces/ranking.interface.ts:135

Authors of the item.

Inherited from

RankableItem.authors


categories?

readonly optional categories: readonly string[]

Defined in: src/types/interfaces/ranking.interface.ts:130

Categories or fields associated with the item.

Remarks

Used for field relevance scoring. Can be:

  • arXiv categories (e.g., "cs.AI", "physics.hep-th")
  • Field names (e.g., "Computer Science", "Physics")
  • Subject headings

Inherited from

RankableItem.categories


explanation

readonly explanation: RecommendationExplanation

Defined in: src/types/interfaces/discovery.interface.ts:468

Explanation of why this was recommended.


publicationDate?

readonly optional publicationDate: Date

Defined in: src/types/interfaces/ranking.interface.ts:150

Publication date.

Inherited from

RankableItem.publicationDate


score

readonly score: number

Defined in: src/types/interfaces/discovery.interface.ts:463

Overall recommendation score (0-1).


signalScores?

readonly optional signalScores: object

Defined in: src/types/interfaces/discovery.interface.ts:473

Individual signal scores.

citations?

readonly optional citations: number

collaborators?

readonly optional collaborators: number

fields?

readonly optional fields: number

semantic?

readonly optional semantic: number

readonly optional trending: number


source?

readonly optional source: string

Defined in: src/types/interfaces/ranking.interface.ts:145

Source identifier (e.g., "arxiv", "lingbuzz").

Inherited from

RankableItem.source


title

readonly title: string

Defined in: src/types/interfaces/ranking.interface.ts:119

Item title (required for text matching).

Inherited from

RankableItem.title


uri

readonly uri: AtUri

Defined in: src/types/interfaces/discovery.interface.ts:458

AT-URI of the recommended preprint.