langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Enable virtual time in Generative Agents

Open ifsheldon opened this issue 2 years ago • 3 comments

Feature request

Add extra input to the components of generative agents to enable virtual time instead of wall time

Motivation

Because generative agents can "live in another world", it makes sense to enable virtual time

Your contribution

I can submit a PR, in which I modified everything related to datetime.now().

ifsheldon avatar May 05 '23 09:05 ifsheldon

Can you give an example usecase for this? I don't even know where these agents use wall time

rick2047 avatar May 05 '23 09:05 rick2047

@rick2047

I don't even know where these agents use wall time

You can check my PR.

Can you give an example usecase for this?

The game in the paper of Generative Agents is exactly the use case.

ifsheldon avatar May 05 '23 11:05 ifsheldon

I went through your PR. Makes more sense now. I had somehow not seen this whole part of the tooling

rick2047 avatar May 05 '23 17:05 rick2047