Skip to content

[Feature Request] Improvement for RolePlaying #3198

@ChenziqiAdam

Description

@ChenziqiAdam

Required prerequisites

Motivation

I found that for the RolePlaying function, the user can only specify the task_prompt and the two agents' names. For the system prompt for the two agents, it is done automatically by the task_specify_agent.

This limit the usage of RolePlaying, as often the user wants to set the background for the two agents.

Solution

Allow the RolePlaying function to take two ChatAgent objects as parameters, while later augment the agent's system prompt to better fit the role playing rules.

Alternatives

Just my first idea, correct me if I miss anything pls.

Additional context

No response

Metadata

Metadata

Assignees

Labels

P1Task with middle level priorityenhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions