Class TemporalMetadata
java.lang.Object
com.tnsai.intelligence.rag.temporal.TemporalMetadata
Canonical input and provenance metadata keys for temporal retrieval.
Loaders provide TIMESTAMP as an ISO-8601 instant. The Role
binding assigns SOURCE; the remaining keys describe how temporal
scoring affected each returned result.
- Since:
- 0.13.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringWhole seconds between the document timestamp and retrieval time.static final StringRelevance score produced by the child strategy before time decay.static final StringWhether the document supplied a canonical timestamp.static final StringExponential time-decay value between zero and one.static final StringWhole seconds by which a tolerated timestamp was in the future.static final StringBounded multiplier applied to the content score.static final StringSource group used by annotation-level source fencing.static final StringTemporal classification: DATED, UNDATED, or FUTURE_CLAMPED.static final StringStatus for a timestamp at or before the retrieval clock.static final StringStatus for a small tolerated future-clock skew.static final StringStatus for a document without timestamp metadata.static final StringCanonical document timestamp, parsed withInstant.parse. -
Method Summary
-
Field Details
-
TIMESTAMP
Canonical document timestamp, parsed withInstant.parse.- See Also:
-
SOURCE
Source group used by annotation-level source fencing.- See Also:
-
CONTENT_SCORE
Relevance score produced by the child strategy before time decay.- See Also:
-
DECAY
Exponential time-decay value between zero and one.- See Also:
-
SCORE_FACTOR
Bounded multiplier applied to the content score.- See Also:
-
AGE_SECONDS
Whole seconds between the document timestamp and retrieval time.- See Also:
-
DATED
Whether the document supplied a canonical timestamp.- See Also:
-
STATUS
Temporal classification: DATED, UNDATED, or FUTURE_CLAMPED.- See Also:
-
FUTURE_SKEW_SECONDS
Whole seconds by which a tolerated timestamp was in the future.- See Also:
-
STATUS_DATED
Status for a timestamp at or before the retrieval clock.- See Also:
-
STATUS_UNDATED
Status for a document without timestamp metadata.- See Also:
-
STATUS_FUTURE_CLAMPED
Status for a small tolerated future-clock skew.- See Also:
-