aarondb/cognitive/erf

Types

pub type Association {
  Association(
    target_id: String,
    rel_type: RelType,
    weight: Float,
    confidence: Float,
    created_at: Int,
    last_activated: Int,
  )
}

Constructors

  • Association(
      target_id: String,
      rel_type: RelType,
      weight: Float,
      confidence: Float,
      created_at: Int,
      last_activated: Int,
    )
pub type EmbedDimension {
  EmbedNone
  Embed384
  Embed768
  Embed1536
  Embed3072
  EmbedOther
}

Constructors

  • EmbedNone
  • Embed384
  • Embed768
  • Embed1536
  • Embed3072
  • EmbedOther
pub type Engram {
  Engram(
    id: String,
    created_at: Int,
    updated_at: Int,
    last_access: Int,
    confidence: Float,
    relevance: Float,
    stability: Float,
    access_count: Int,
    state: LifecycleState,
    embed_dim: EmbedDimension,
    concept: String,
    created_by: String,
    content: String,
    tags: List(String),
    associations: List(Association),
    embedding: option.Option(List(Float)),
    summary: String,
    key_points: List(String),
    memory_type: MemoryType,
    classification: Int,
  )
}

Constructors

  • Engram(
      id: String,
      created_at: Int,
      updated_at: Int,
      last_access: Int,
      confidence: Float,
      relevance: Float,
      stability: Float,
      access_count: Int,
      state: LifecycleState,
      embed_dim: EmbedDimension,
      concept: String,
      created_by: String,
      content: String,
      tags: List(String),
      associations: List(Association),
      embedding: option.Option(List(Float)),
      summary: String,
      key_points: List(String),
      memory_type: MemoryType,
      classification: Int,
    )
pub type LifecycleState {
  StatePlanning
  StateActive
  StatePaused
  StateBlocked
  StateCompleted
  StateCancelled
  StateArchived
  StateSoftDeleted
}

Constructors

  • StatePlanning
  • StateActive
  • StatePaused
  • StateBlocked
  • StateCompleted
  • StateCancelled
  • StateArchived
  • StateSoftDeleted
pub type MemoryType {
  TypeFact
  TypeDecision
  TypeObservation
  TypePreference
  TypeIssue
  TypeTask
  TypeProcedure
  TypeEvent
  TypeGoal
  TypeConstraint
  TypeIdentity
  TypeReference
}

Constructors

  • TypeFact
  • TypeDecision
  • TypeObservation
  • TypePreference
  • TypeIssue
  • TypeTask
  • TypeProcedure
  • TypeEvent
  • TypeGoal
  • TypeConstraint
  • TypeIdentity
  • TypeReference
pub type RelType {
  RelSupports
  RelContradicts
  RelDependsOn
  RelSupersedes
  RelRelatesTo
  RelIsPartOf
  RelCauses
  RelPrecededBy
  RelFollowedBy
  RelCreatedByPerson
  RelBelongsToProject
  RelReferences
  RelImplements
  RelBlocks
  RelResolves
  RelUserDefined
}

Constructors

  • RelSupports
  • RelContradicts
  • RelDependsOn
  • RelSupersedes
  • RelRelatesTo
  • RelIsPartOf
  • RelCauses
  • RelPrecededBy
  • RelFollowedBy
  • RelCreatedByPerson
  • RelBelongsToProject
  • RelReferences
  • RelImplements
  • RelBlocks
  • RelResolves
  • RelUserDefined
pub type Ulid =
  String
Search Document