posted an update

from resilix import ResilixMemoryClient

Initialize client

client = ResilixMemoryClient(api_key="YOUR_API_KEY")

Store a new contextual memory

client.memory.save( user_id="user_1029", fact="Prefers lightweight Markdown formatting for project roadmaps", category="preference" )

Retrieve relevant facts for a session

context = client.memory.query( user_id="user_1029", prompt="Generate a schedule draft" )

print(context)

Output: ['User prefers lightweight Markdown formatting for project roadmaps']

Log in or sign up for Devpost to join the conversation.