python SDK, it just the same as the sync client, but every method is async:
References
Async Python Client
Memobase also provides an async client in
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
python SDK, it just the same as the sync client, but every method is async:
from memobase import AsyncMemobaseClient
client = AsyncMemobaseClient(api_key="your_api_key")
async def main():
assert await client.ping()
#...
# get user context
u = await client.get_user(UID)
print(await u.context())
# get user profile
print(await u.profile())
# get user events
print(await u.event(topk=10, max_token_size=1000))