activity_session_participant
Associative table for activity session and participant relationship.
This module defines the ActivitySessionParticipant
class, which represents the M:N
relationship between activity sessions and participants.
Attributes
Classes
ActivitySessionParticipant
Bases: Base
Associative table for activity session and participant relationship
Attributes
chat_turns
class-attribute
instance-attribute
chat_turns: Mapped[int] = mapped_column(
Integer,
nullable=False,
default=0,
comment="Number of turns in the chat",
)
create_ts
class-attribute
instance-attribute
create_ts: Mapped[datetime] = mapped_column(
server_default=now(), comment="Record create timestamp"
)
insights
class-attribute
instance-attribute
insights: Mapped[str] = mapped_column(
Text,
nullable=True,
comment="Textual insights derived by the participant on this session",
)
integration_attempts
class-attribute
instance-attribute
integration_attempts: Mapped[int] = mapped_column(
Integer,
nullable=False,
default=0,
comment="Counts the number of integration operation attempts on memories created by this agent in this session",
)
last_integration_turn
class-attribute
instance-attribute
last_integration_turn: Mapped[int] = mapped_column(
Integer,
nullable=False,
default=0,
comment="Turn number of the last integration operation",
)
participant_pkid
class-attribute
instance-attribute
participant_pkid: Mapped[str] = mapped_column(
ForeignKey("participant.pkid"),
primary_key=True,
comment="Participant identifier",
)