File tree Expand file tree Collapse file tree 2 files changed +461
-173
lines changed
content/en/blog/2025/12/0.2.0-announcement
themes/memmachine/assets/css Expand file tree Collapse file tree 2 files changed +461
-173
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,16 @@ The new **Client SDK** (`memmachine.rest_client`) allows you to integrate MemMac
6262from memmachine import MemMachineClient
6363
6464client = MemMachineClient(base_url = " http://localhost:8080" )
65- project = client.create_project(org_id = " my_org" , project_id = " my_agent" , description = " Memory store for customer support agent" )
66- memory = project.memory(user_id = " user123" , agent_id = " support_bot_01" ,session_id = " session_555" )
65+ project = client.create_project(
66+ org_id = " my_org" ,
67+ project_id = " my_agent" ,
68+ description = " Memory store for customer support agent"
69+ )
70+ memory = project.memory(
71+ user_id = " user123" ,
72+ agent_id = " support_bot_01" ,
73+ session_id = " session_555"
74+ )
6775
6876# Add a memory
6977memory.add(content = " I am strictly vegetarian and I love spicy food." , role = " user" , metadata = {" topic" : " food_preference" })
You can’t perform that action at this time.
0 commit comments