How to start the server #58
-
Hi thanks for all your work. I am trying to get started with this on an RK3588 device. I have ollama installed and cloned the repo and installed as much as I could figure out. but I am getting this error and I'm not sure if I am even trying to do it right. Thank you. (.venv) mrobinson@orangepi5pro: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Simply run |
Beta Was this translation helpful? Give feedback.
-
Thanks for the responce! |
Beta Was this translation helpful? Give feedback.
-
(.venv) mrobinson@orangepi5pro:~/MemOS/examples/mem_os$ python3 simple_memos.py All users:
🤖 [Assistant] It seems you have a strong affinity for playing football! You've mentioned it multiple times, and I'm excited to hear more about your passion for the sport. What's your favorite part about playing or watching football? 👤 [You] { from memos.configs.mem_os import MOSConfig init MOSConfigmos_config = MOSConfig.from_json_file("/home/mrobinson/MemOS/examples/data/config/simple_memos_config.json") create user iduser_id = "lcy1" load exist mem_cube from localmos.register_mem_cube("/home/mrobinson/MemOS/examples/data/mem_cube_2", user_id=user_id) mos.add(memory_content="I like playing football.", user_id=user_id) get_all_results = mos.get_all(user_id=user_id) get_results = mos.get( search_results = mos.search(query="my favorite football game", user_id=user_id) while True: |
Beta Was this translation helpful? Give feedback.
Simply run
make serve
or the equivalent commandpoetry run uvicorn memos.api.start_api:app
in the MemOS folder to start the server.