Kreuzberg.BibtexMetadata (kreuzberg v4.9.5)

Copy Markdown View Source

BibTeX bibliography metadata.

Matches the Rust BibtexMetadata struct.

Fields

  • :entry_count - Number of BibTeX entries
  • :citation_keys - List of citation keys
  • :authors - List of author names
  • :year_range - Year range of entries
  • :entry_types - Map of entry type to count

Summary

Types

t()

@type t() :: %Kreuzberg.BibtexMetadata{
  authors: [String.t()],
  citation_keys: [String.t()],
  entry_count: non_neg_integer(),
  entry_types: map() | nil,
  year_range: Kreuzberg.YearRange.t() | nil
}

Functions

from_map(data)

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

to_map(meta)

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