ExAgent.Message.Citation.Range (ExAgent v3.0.0)

View Source

A half-open range. Answer ranges use bytes. Source ranges use the provider's coordinates and unit. Page numbers start at one.

Stability — Candidate.

Summary

Types

t()

@type t() :: %ExAgent.Message.Citation.Range{
  end: pos_integer(),
  start: non_neg_integer(),
  unit: unit()
}

unit()

@type unit() :: :byte | :character | :page | :content_block