Nous.KnowledgeBase.Link (nous v0.15.6)

View Source

A directed edge in the wiki graph between two entries.

Links represent relationships like backlinks, cross-references, concept connections, and parent-child hierarchies.

Summary

Functions

Creates a new Link from attributes.

Types

t()

@type t() :: %Nous.KnowledgeBase.Link{
  created_at: DateTime.t(),
  from_entry_id: String.t(),
  id: String.t(),
  kb_id: String.t() | nil,
  label: String.t() | nil,
  link_type: link_type(),
  to_entry_id: String.t(),
  weight: float()
}

Functions

new(attrs)

Creates a new Link from attributes.

Requires :from_entry_id and :to_entry_id.