API Reference
Self-Model Methods
Copy
# 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
Copy
# 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
Copy
# Create a new belief
SelfModel.create_belief(
id: str,
belief_type: BeliefType,
content: str,
extrapolate_contexts: bool = False
)