agentsociety.webapi.models.agent_profiles

Module Contents

Classes

AgentProfile

Agent profile data model for storing metadata about agent data files

ApiAgentProfile

Agent profile model for API

Data

API

agentsociety.webapi.models.agent_profiles.__all__

[‘AgentProfile’, ‘ApiAgentProfile’]

class agentsociety.webapi.models.agent_profiles.AgentProfile

Bases: agentsociety.webapi.models._base.Base

Agent profile data model for storing metadata about agent data files

__tablename__

None

tenant_id: sqlalchemy.orm.Mapped[str]

‘mapped_column(…)’

id: sqlalchemy.orm.Mapped[uuid.UUID]

‘mapped_column(…)’

name: sqlalchemy.orm.Mapped[str]

‘mapped_column(…)’

description: sqlalchemy.orm.Mapped[Optional[str]]

‘mapped_column(…)’

agent_type: sqlalchemy.orm.Mapped[str]

‘mapped_column(…)’

file_path: sqlalchemy.orm.Mapped[str]

‘mapped_column(…)’

record_count: sqlalchemy.orm.Mapped[int]

‘mapped_column(…)’

created_at: sqlalchemy.orm.Mapped[datetime.datetime]

‘mapped_column(…)’

updated_at: sqlalchemy.orm.Mapped[datetime.datetime]

‘mapped_column(…)’

class agentsociety.webapi.models.agent_profiles.ApiAgentProfile

Bases: pydantic.BaseModel

Agent profile model for API

tenant_id: Optional[str]

None

Tenant ID

id: Optional[uuid.UUID]

None

Profile ID

name: str

None

Profile name

description: Optional[str]

None

Profile description

agent_type: str

None

Agent type

file_path: str

None

Path to the S3 file

record_count: int

None

Number of records in the file

created_at: Optional[pydantic.AwareDatetime]

None

Created time

updated_at: Optional[pydantic.AwareDatetime]

None

Updated time

class Config
from_attributes

True