Zep.Schemas.Edge (Zep v1.0.0)

Copy Markdown View Source

A fact/relationship edge between two nodes in a graph.

:score is the re-ranker relevance score returned by Zep.Graph.search/3 (not comparable across different rerankers - see the note on Zep.Graph.search/3 about why there's no universal minimum-score filter). :rating is a legacy fact-rating field; fact ratings were deprecated entirely in Zep's February 2026 deprecation wave and this will generally be nil on new data.

Summary

Types

t()

@type t() :: %Zep.Schemas.Edge{
  created_at: String.t() | nil,
  expired_at: String.t() | nil,
  fact: String.t() | nil,
  invalid_at: String.t() | nil,
  name: String.t() | nil,
  rating: number() | nil,
  score: number() | nil,
  source_node_uuid: String.t() | nil,
  target_node_uuid: String.t() | nil,
  uuid: String.t() | nil,
  valid_at: String.t() | nil
}