Index
cam
¶
The cam memory backend: a client for the separate CAM program over HTTP.
Classes¶
CamBackend
¶
memory-backend/1.1 over CAM's HTTP API (declare, recall, health).
Source code in src/marianne/memory/backends/cam/backend.py
CamBackendConfig
dataclass
¶
CamBackendConfig(base_url, api_key_env='', api_key_file='', timeout_seconds=DEFAULT_TIMEOUT_SECONDS, allow_remote=False)
One CAM attachment. Holds the NAME of the key source, never the key.
Functions:¶
cam_backend_factory
¶
Build a :class:CamBackend from an attachment's settings:. Does no I/O.
Keys: base_url (required), api_key_env | api_key_file (exactly
one; the NAME of a variable or a path, never the key), timeout_seconds,
allow_remote.