API Reference

Self-Model Methods

# Create a new self model
SelfModel.create(id: str, philosophies: List[str] = ["default"])

# Retrieve an existing self model
SelfModel.retrieve(id: str)

# Get belief system
SelfModel.retrieve_belief_system(id: str)

# List dialectics
SelfModel.list_dialectics(id: str)

Dialectic Methods

# Create a new dialectic
Dialectic.create(self_model_id: str)

# Create a dialectic interaction
DialecticInteraction.create(
    dialectic_id: str,
    question: str = None,
    answer: str = None,
    status: str = "Pending"
)

Belief Methods

# Create a new belief
SelfModel.create_belief(
    id: str,
    belief_type: BeliefType,
    content: str,
    extrapolate_contexts: bool = False
)