Kreuzberg.CitationMetadata (kreuzberg v4.8.3)

Copy Markdown View Source

Citation file metadata (RIS, PubMed, EndNote).

Matches the Rust CitationMetadata struct.

Fields

  • :citation_count - Number of citations
  • :format - Citation format (e.g., "RIS", "PubMed")
  • :authors - List of author names
  • :year_range - Year range of citations
  • :dois - List of DOIs
  • :keywords - List of keywords

Summary

Types

t()

@type t() :: %Kreuzberg.CitationMetadata{
  authors: [String.t()],
  citation_count: non_neg_integer(),
  dois: [String.t()],
  format: String.t() | nil,
  keywords: [String.t()],
  year_range: Kreuzberg.YearRange.t() | nil
}

Functions

from_map(data)

@spec from_map(map()) :: t()

to_map(meta)

@spec to_map(t()) :: map()