Python SDK
Install
pip install genys-sdk
Quickstart
from genys import Genys
import os
client = Genys(api_key=os.environ["GENYS_API_KEY"])
client.memory.store(
capsule="customer_support",
data={"userId": "u_123", "lastIssue": "billing"},
)
ctx = client.memory.retrieve(
capsule="customer_support",
where={"userId": "u_123"},
)
print(ctx)