haive.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 haive.agents.conversation.social_media.models.LikePostInput(/, **data)¶
Bases:
pydantic.BaseModelInput 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 haive.agents.conversation.social_media.models.ReplyPostInput(/, **data)¶
Bases:
pydantic.BaseModelInput 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 haive.agents.conversation.social_media.models.SharePostInput(/, **data)¶
Bases:
pydantic.BaseModelInput 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 haive.agents.conversation.social_media.models.SocialMediaState(/, **data)¶
Bases:
haive.agents.conversation.base.state.ConversationStateExtended 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)