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

New feature: add option to define attributes for playable characters #10

Open
AlexBerlo opened this issue Oct 29, 2023 · 3 comments
Open

Comments

@AlexBerlo
Copy link

AlexBerlo commented Oct 29, 2023

Hello !

I've been playing a bit with eastworld. Its amazing and it works great !
For my use case I'd like to have attributes for playable characters ( e.g. constitution, intelligence ) and to be able to define behaviours for agents based on those attributes.
For example if you have low constitution the agent will be less likely to be intimidated by you. ( similar to attribute checks in d&d )
The attributes could be defined for playable characters in the "eastworlds agent" react client and there could also be an endpoint available so they could be updated in real time from the actual game ( e.g. based on a player action we increase his constitution temporarily and then it will be more likely for the agents to be intimidated by him ).
For non playable agents it might suffice to just add the attribute behaviours to "agent instructions", the data that is send to the llm would also need to be updated in order for it to include player attributes.

Is this something planned for implementation ?
If not I could try to implement it.

Thanks

@AlexBerlo AlexBerlo changed the title New feature:playable characters attributes New feature: add option to define attributes for playable characters Oct 29, 2023
@mluogh
Copy link
Owner

mluogh commented Oct 29, 2023

For non playable agents it might suffice to just add the attribute behaviours to "agent instructions", the data that is send to the llm would also need to be updated in order for it to include player attributes.

How would you expect to define what changes in the agents? If "Constitution" was an attribute from 1-10, how would the instructions to the agent change depending on the value? Would you define it yourself?

@AlexBerlo
Copy link
Author

Yes, for example if player constitution is below 5 act hostile towards the player.
If player constitution is above 5 and player asks for something give it to him ( e.g . call GiveAnswer() )

@mluogh
Copy link
Owner

mluogh commented Nov 22, 2023

Hmm, that seems like something more specific to a particular game. It's possible to do this already with Conversation instructions and custom actions. Not sure that it should be a part of the framework.

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