agents.conversation.social_media.modelsΒΆ
Social media style conversation with likes, reactions, and viral mechanics.
ClassesΒΆ
Input for liking a post. |
|
Input for replying to a post. |
|
Input for sharing/retweeting a post. |
|
Extended state for social media conversations. |
Module ContentsΒΆ
- class agents.conversation.social_media.models.LikePostInput(/, **data)ΒΆ
Bases:
pydantic.BaseModel
Input for liking a post.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- Parameters:
data (Any)
- class agents.conversation.social_media.models.ReplyPostInput(/, **data)ΒΆ
Bases:
pydantic.BaseModel
Input for replying to a post.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- Parameters:
data (Any)
- class agents.conversation.social_media.models.SharePostInput(/, **data)ΒΆ
Bases:
pydantic.BaseModel
Input for sharing/retweeting a post.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- Parameters:
data (Any)
- class agents.conversation.social_media.models.SocialMediaState(/, **data)ΒΆ
Bases:
haive.agents.conversation.base.state.ConversationState
Extended state for social media conversations.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- Parameters:
data (Any)