- Create a new directory with these three files (requirements.txt, main.py, README.md)
python -m venv venvsource venv/bin/activatepip install -r requirements.txtpython main.py- Update
main()to run the example prompt chains
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import autogen | |
| import memgpt.autogen.memgpt_agent as memgpt_autogen | |
| import memgpt.autogen.interface as autogen_interface | |
| import memgpt.agent as agent | |
| import memgpt.system as system | |
| import memgpt.utils as utils | |
| import memgpt.presets as presets | |
| import memgpt.constants as constants | |
| import memgpt.personas.personas as personas |