Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for natural language communication between players. #1

Open
fringsoo opened this issue Mar 13, 2024 · 1 comment
Open

Support for natural language communication between players. #1

fringsoo opened this issue Mar 13, 2024 · 1 comment

Comments

@fringsoo
Copy link

It would be great if the natural language messages from the chat box could be added into the observation / action space of the agents.

@vshallc
Copy link
Contributor

vshallc commented Jun 21, 2024

This is available after 389d246 in branch dev now.

The text from chat box can be get from observation['game']['messages']

and the message can be sent by assign text value to action['player']['message'].

Some functional prefixes in sending messages:

  • .: send this chat message to all allies, e.g. .Hello all my friends! (all your allies can see this message);
  • :: send this chat message to a player, e.g. Alice: Hello Alice (only player Alice can see this message);
  • >: prevent special symbols being filtered by the system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants