joonspk-research / generative_agents Goto Github PK
View Code? Open in Web Editor NEWGenerative Agents: Interactive Simulacra of Human Behavior
License: Apache License 2.0
Generative Agents: Interactive Simulacra of Human Behavior
License: Apache License 2.0
Can't Extract the Zip file. It make not responding error. And can't even view the zip file.
<string>:17: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Partial import of sklearn during the build process.
<string>:116: DeprecationWarning:
`numpy.distutils` is deprecated since NumPy 1.23.0, as a result
of the deprecation of `distutils` itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use `setuptools < 60.0` for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
how to resolve it
As listed in requirements.txt, we need to install click==8.0.3r==0.11.0, and I ran the command in the cmd but somehow it didn't work at all.
Later I thought it might be the combination of two different files, so I input the command pip install click==8.0.3
and pip install r==0.11.0
respectively. Somehow the former one worked but not the second one.
So what is the problem? Looking forward to the answer.
everthing stop at a time and the backend didn't show next step or something broken.
'''
On the scale of 1 to 10, where 1 is purely mundane (e.g., brushing teeth, making bed) and 10 is extremely poignant (e.g., a break up, college acceptance), rate the likely poignancy of the following event for Klaus Mueller.
Event: getting dressed
Rate (return a number between 1 to 10):
"""
Output the response to the prompt above in json. The output should ONLY contain ONE integer value on the scale of 1 to 10.
Example output json:
{"output": "5"}
'''
Hi,
I have followed the steps and everything looks good, but after starting the python reverie.py it satart to generate the actions but at some point it stop with this error message.
Klaus Mueller persona.scratch.importance_trigger_curr:: 145
150
aldhfoaf/????
the Ville:Dorm for Oak Hill College:Klaus Mueller's room:bed
Traceback (most recent call last):
File "/home/bizon/generative_agents/reverie/backend_server/reverie.py", line 468, in open_server
rs.start_server(int_count)
File "/home/bizon/generative_agents/reverie/backend_server/reverie.py", line 401, in start_server
with open(curr_move_file, "w") as outfile:
FileNotFoundError: [Errno 2] No such file or directory: '../../environment/frontend_server/storage/bizon4/movement/0.json'
Error.
Then I go to the folder on storage in this case was bizon4 and I only see this folders:
(base) bizon@dl:/generative_agents/environment/frontend_server/storage/bizon4$ ls/generative_agents/environment/frontend_server/storage/bizon4$
environment personas reverie
(base) bizon@dl:
Can you please help me here.
Thanks
i have find a major issue on this ....
I am trying to replay some recorded simulation, but this does not work for me.
The canvas is not fully displayed (likely cropped), and it looks like nothing is moving in the simulation (the clock goes normally).
Replay url: http://localhost:8000/replay/July1_the_ville_isabella_maria_klaus-step-3-20/1/
I am using M2 macbook pro (manually fixed a few dependencies issues, and I think this is not related to this issue).
Hello!
First, kudos on the paper. It has been very inspirational to me since it has come out months ago. I am installing on a Windows 11 machine and I had some problems getting it running. However, now it is clearly working (messages on the command line about status of agents) but it is not showing the GUI of the agents actively moving/interacting. What I see is an image and the message "Your environment server is up and running!". Do you have any idea how I can fix that issue?
Thanks,
Ferenc
Some files (js/html mainly?) are using both tabs AND spaces. Generally the world has landed on spaces for indenting in 2023 and it seems 2 spaces is already the norm in the python files, so that would be what I recommend.
Not trying to nitpick, glad to see this open sourced, but could be a good idea to run a linter or cleaning process while the repo is young so PRs don't become a pain later.
Hi.
I can only see black boxes instead of items everywhere. Plus agents are in a constant sleep mode despite the server keeps working and going through the steps.
Map looks insanely huge, is there a way to make it a bit smaller so it can fit the screen?
For reference, I'm using Ubuntu 22.04, Chrome and Python 3.10
How can I replace the OpenAI API with Llama2?
Because I want to deploy the service on a cloud server for simulation, but currently the program is restricted to run only on localhost 127.0.0.1. So, how can I change it to 0.0.0.0?
I find it using all models and the price is super expansive if you use run 100 it will take around 8 USD+ per min
Hello,
I'm using Windows 10 and trying to play with G/A, as far as I'm seeing, all paths referenced in maze.py don't work (file not found).
Just tested r"full path" and it works.
How to modify the proxy of openai
When sending the command 'run 1', too many calls to the openai API resulted in access being denied. The error is as follows:
openai.error.RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization org-3AW0AYkBXyFwNdJ9WLlqK5Mo on requests per min. Limit: 3 / min. Please try again in 20s. Contact us through our help center at help.openai.com if you continue to have issues. Please add a payment method to your account to increase your rate limit. Visit https://platform.openai.com/account/billing to add a payment method.
In the termin, I can see the character's actions, but they are not reflected in the screen:http://localhost:8000/simulator_home. And also the Replaying. The demo can run perfectly.
Just to verify my environment is setup correctly, I'm trying to replay a stored demo, to eliminate any chance of the backend generation not happening correctly. Thus I visit localhost:8000/replay/base_the_ville_isabella_maria_klaus/0
and use any of the provided frontend_server storage folders, and other step numbers. But all I see is something like the following
Current Time never updates nor the character details. Pause and play don't seem to do anything. I've tried Chromium and Brave on Linux and Windows.
My adblocker is off.
I see the following in the console, I'm not sure if it's related:
bootstrap.min.js:6 Uncaught Error: Bootstrap's JavaScript requires jQuery
at bootstrap.min.js:6:37
I fixed that with this:
diff --git a/environment/frontend_server/templates/base.html b/environment/frontend_server/templates/base.html
index 3e1dc6b3..5b308b92 100644
--- a/environment/frontend_server/templates/base.html
+++ b/environment/frontend_server/templates/base.html
@@ -20,8 +20,8 @@ Author: Joon Sung Park ([email protected])
{% endblock content %}
<!-- Latest compiled and minified JavaScript -->
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
+ <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
{% block js_content %}
{% endblock js_content %}
(swapping the load order) but that didn't change the observer behavior.
According to open AI https://platform.openai.com/docs/models/gpt-3-5, they suggest use gpt-3.5-turbo over davinci models, and the text-davinci is marked as legacy .
Thanks for open-sourcing the implementation!
While installing the requirements with pip install -r requirements.txt
, I am getting many build errors related to Cython, using a Windows 10 system.
Can you please share further instructions to setup?
Hi, Thank you very much for open-sourcing this repository.
I think I successfully set up the environment following your tutorial, and I get a response when I input "run 1".
~~~ prompt ----------------------------------------------------
Name: Isabella Rodriguez
Age: 34
Innate traits: friendly, outgoing, hospitable
Learned traits: Isabella Rodriguez is a cafe owner of Hobbs Cafe who loves to make people feel welcome. She is always looking for ways to make the cafe a place where people can come to relax and enjoy themselves.
Currently: Isabella Rodriguez is planning on having a Valentine's Day party at Hobbs Cafe with her customers on February 14th, 2023 at 5pm. She is gathering party material, and is telling everyone to join the party at Hobbs Cafe on February 14th, 2023, from 5pm to 7pm.
Lifestyle: Isabella Rodriguez goes to bed around 11pm, awakes up around 6am.
Daily plan requirement: Isabella Rodriguez opens Hobbs Cafe at 8am everyday, and works at the counter until 8pm, at which point she closes the cafe.
Current Date: Monday February 13
In general, Isabella Rodriguez goes to bed around 11pm, awakes up around 6am.
Today is Monday February 13. Here is Isabella's plan today in broad-strokes (with the time of the day. e.g., have a lunch at 12:00 pm, watch TV from 7 to 8 pm): 1) wake up and complete the morning routine at 6:00 am, 2)
~~~ output ----------------------------------------------------
['wake up and complete the morning routine at 6:00 am', 'Open Hobbs Cafe and work at the counter from 8:00 am to 8:00 pm', 'Have a lunch at 12:00 pm', "Prepare for the Valentine's Day party", 'Watch TV from 7 to 8 pm']
=== END ==========================================================
When I visit http://localhost:8000/, it shows "Your environment server is up and running!", and the first time I enter http://localhost:8000/simulator_home, it also displays normally. However, when I refresh http://localhost:8000/simulator_home or click on an NPC's detail and then go back, the page cannot be displayed, and it outputs "Please start the backend first.".
This prevents me from observing the NPC's activities in the visualization page.
Here's the code:
xxx@xxxMacBook-Air
backend_server % python reverie.py
Enter the name of the forked simulation: base_the_ville_isabella_maria_klaus
Enter the name of the new simulation: demo_town_1
Note: The agents in this simulation package are computational
constructs powered by generative agents architecture and LLM. We
clarify that these agents lack human-like agency, consciousness,
and independent decision-making.
---
Enter option: run 10
Error.
Enter option:
And in http://localhost:8000/simulator_home, there's nothing happened, everything keep in default value.
Can I submit a PR to update the code to Django version 4? The codebase is behind with the present version it runs
when to use each? especially simulator_home and demo
please clarify
Hi guys,
Trying to create running environment with specifications declared in requirements.txt I am receiving a number of not found libraries error and not sure how to proceed with it.... can anyone help?
Thx!
PackagesNotFoundError: The following packages are not available from current channels:
when the process running the error output
It can be hard to find the characters otherwise. I'll make a PR shortly as I have this working already.
Here is the log. I would appreciate it if anyone can help me fix it.
......
Building wheels for collected packages: Pillow
Building wheel for Pillow (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for Pillow (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [199 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\PIL
copying src\PIL\BdfFontFile.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\BlpImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\BmpImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\BufrStubImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ContainerIO.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\CurImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\DcxImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\DdsImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\EpsImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ExifTags.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\features.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\FitsStubImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\FliImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\FontFile.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\FpxImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\FtexImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\GbrImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\GdImageFile.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\GifImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\GimpGradientFile.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\GimpPaletteFile.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\GribStubImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\Hdf5StubImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\IcnsImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\IcoImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\Image.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageChops.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageCms.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageColor.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageDraw.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageDraw2.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageEnhance.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageFile.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageFilter.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageFont.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageGrab.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageMath.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageMode.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageMorph.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageOps.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImagePalette.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImagePath.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageQt.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageSequence.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageShow.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageStat.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageTk.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageTransform.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImageWin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\ImtImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\IptcImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\Jpeg2KImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\JpegImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\JpegPresets.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\McIdasImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\MicImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\MpegImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\MpoImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\MspImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\PaletteFile.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\PalmImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\PcdImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\PcfFontFile.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\PcxImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\PdfImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\PdfParser.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\PixarImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\PngImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\PpmImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\PsdImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\PSDraw.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\PyAccess.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\SgiImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\SpiderImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\SunImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\TarIO.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\TgaImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\TiffImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\TiffTags.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\WalImageFile.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\WebPImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\WmfImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\XbmImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\XpmImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL\XVThumbImagePlugin.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL_binary.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL_tkinter_finder.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL_util.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL_version.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL_init_.py -> build\lib.win-amd64-cpython-311\PIL
copying src\PIL_main_.py -> build\lib.win-amd64-cpython-311\PIL
running egg_info
writing src\Pillow.egg-info\PKG-INFO
writing dependency_links to src\Pillow.egg-info\dependency_links.txt
writing top-level names to src\Pillow.egg-info\top_level.txt
reading manifest file 'src\Pillow.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '.c'
warning: no files found matching '.h'
warning: no files found matching '.sh'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.clang-format'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'codecov.yml'
warning: no previously-included files matching '.git' found anywhere in distribution
warning: no previously-included files matching '.pyc' found anywhere in distribution
warning: no previously-included files matching '.so' found anywhere in distribution
no previously-included directories found matching '.ci'
adding license file 'LICENSE'
writing manifest file 'src\Pillow.egg-info\SOURCES.txt'
running build_ext
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
Traceback (most recent call last):
File "<string>", line 978, in <module>
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\__init__.py", line 107, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
self.run_command(cmd)
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\dist.py", line 1234, in run_command
super().run_command(command)
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 349, in run
self.run_command("build")
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\dist.py", line 1234, in run_command
super().run_command(command)
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run
self.run_command(cmd_name)
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\dist.py", line 1234, in run_command
super().run_command(command)
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\command\build_ext.py", line 84, in run
_build_ext.run(self)
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 345, in run
self.build_extensions()
File "<string>", line 790, in build_extensions
RequiredDependencyException: zlib
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LeoFi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\Users\LeoFi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\LeoFi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\build_meta.py", line 416, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\build_meta.py", line 401, in _build_with_temp_dir
self.run_setup()
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\build_meta.py", line 488, in run_setup
self).run_setup(setup_script=setup_script)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\LeoFi\AppData\Local\Temp\pip-build-env-iykutble\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup
exec(code, locals())
File "<string>", line 1037, in <module>
RequiredDependencyException:
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
<string>:46: RuntimeWarning: Pillow 8.4.0 does not support Python 3.11 and does not provide prebuilt Windows binaries. We do not recommend building from source on Windows.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for Pillow
Failed to build Pillow
ERROR: Could not build wheels for Pillow, which is required to install pyproject.toml-based projects
When I run the simulation, I see a lot of output in my terminal that it's working, but the characters don't move in the browser. Nor is the simulation saved.
Klaus Mueller persona.scratch.importance_trigger_curr:: 145
150
aldhfoaf/????
the Ville:Dorm for Oak Hill College:Klaus Mueller's room:bed
Traceback (most recent call last):
File "/Users/zhlei/generative_agents/reverie/backend_server/reverie.py", line 468, in open_server
rs.start_server(int_count)
File "/Users/zhlei/generative_agents/reverie/backend_server/reverie.py", line 401, in start_server
with open(curr_move_file, "w") as outfile:
FileNotFoundError: [Errno 2] No such file or directory: '../../environment/frontend_server/storage/test-simulation/movement/0.json'
Hello, would it be possible to integrate something like GPT4All which runs locally and doesn't cost unlike OpenAI?
In the the Simulation Server:
Enter option: run 100
Error.
Enter option:
And in the Environment Server, only reply:
"POST /update_environment/ HTTP/1.1" 200 14
Thanks for the amazing project. Before I start running it I am trying to get a sense on the cost of running it. Thanks!
As title says, I tried over and over again, it still shows Please start the backend first.
It would be nice to have it interfaced with RWKV-Runner to avoid paying for api usage.
I am getting following error and is this something config error?
`
Request Method: | GET |
---|---|
http://127.0.0.1:8000/simulator_home. |
<p>
Using the URLconf defined in <code>frontend_server.urls</code>,
Django tried these URL patterns, in this order:
</p>
<ol>
<li>
^$
[name='landing']
</li>
<li>
^simulator_home$
[name='home']
</li>
<li>
^demo/(?P<sim_code>[\w-]+)/(?P<step>[\w-]+)/(?P<play_speed>[\w-]+)/$
[name='demo']
</li>
<li>
^replay/(?P<sim_code>[\w-]+)/(?P<step>[\w-]+)/$
[name='replay']
</li>
<li>
^replay_persona_state/(?P<sim_code>[\w-]+)/(?P<step>[\w-]+)/(?P<persona_name>[\w-]+)/$
[name='replay_persona_state']
</li>
<li>
^process_environment/$
[name='process_environment']
</li>
<li>
^update_environment/$
[name='update_environment']
</li>
<li>
^path_tester/$
[name='path_tester']
</li>
<li>
^path_tester_update/$
[name='path_tester_update']
</li>
<li>
admin/
</li>
</ol>
<p>
The current path, <code>simulator_home.</code>, didn't match any of these.
</p>
Hello,
I followed the readme guide, and run the map server and reverie. But when enter option "run 100", after a few seconds, it cause a error. I log the exception, it shows "list index out of range".
Enter option: run 100
Error: Error communicating with OpenAI: HTTPSConnectionPool(host='api.closeai-asia.com', port=443): Max retries exceeded with url: /v1/embeddings (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
Enter option: run 100
Error: list index out of range
Enter option:
By default, base.html makes a request to clustrmaps with the id Xha1v8a6ENHDAgZ2dJoH85LCl6H1VwpYfgwfbgau8r4
. Clustrmaps lists itself as:
ClustrMaps is a website optimization solution that helps businesses track website visitors and conduct searches for addresses, phone numbers, and licenses from within a centralized platform. It lets staff members utilize geographical location-based heatmaps to visualize and highlight countries and locations with the highest website traffic.
If this is indeed analytics/spyware, it should be disclosed in the README.md and the anti-feature should be opt-in. Clustrmaps appears to keep a database of all people in the US and associates your web traffic with your real identity and location.
Instead of chatgpt would be nice to be able to have it interface with self-hosted LLM such as llama2 or similar, to avoid having to pay for api usage.
The demo at http://localhost:8000/replay/July1_the_ville_isabella_maria_klaus-step-3-20/1/ and the simulation start times are set for midnight. This means you end up waiting a while before anything happens.
How to support Azure Openai. tks..
After entering prompt "run 3", the demo has been working well until i got this error:
Klaus Mueller persona.scratch.importance_trigger_curr:: 145
150
aldhfoaf/????
the Ville:Dorm for Oak Hill College:Klaus Mueller's room:bed
Traceback (most recent call last):
File "D:\generative_agents\reverie\backend_server\reverie.py", line 468, in open_server
rs.start_server(int_count)
File "D:\generative_agents\reverie\backend_server\reverie.py", line 401, in start_server
with open(curr_move_file, "w") as outfile:
FileNotFoundError: [Errno 2] No such file or directory: '../../environment/frontend_server/storage/test-simulation3/movement/0.json'
Can anyone help me out of this pls?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.