Symbol Machines Memory SDK — Long-term cognitive memory for any LLM.
Project description
Symbol Machines Memory SDK (Python)
A lightweight SDK that adds structured long-term memory to any LLM.
Learn more at https://symbolmachines.com
Installation
pip install symbolmachines
Usage
from symbolmachines import Symbol
symbol = Symbol(api_key="sk-...")
# Inject memory context before calling your LLM
context = symbol.memory.inject.create(input="What should i eat for lunch?")
# ... call your LLM with the contextual input ...
# Save memory after generation
symbol.memory.save.create(output="Eating sushi is a healthy meal.")
API
symbol.memory.inject.create(input=str)
Injects memory context into user input.
symbol.memory.save.create(output=str)
Writes an output into the Symbol's memory.
Configuration
symbol = Symbol(
api_key="sk-...",
base_url="https://api.symbol.ai/v1" # optional override
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file symbolmachines-0.1.1.tar.gz.
File metadata
- Download URL: symbolmachines-0.1.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ce2d560d4b3e5f4344d267b5e0c8337bc728fad25dac1bb321039dfbf6bce80
|
|
| MD5 |
959ad4d6fe10300e971257540918c126
|
|
| BLAKE2b-256 |
54548237eaf84448f75ebd479705dc6d68647da6aa66f0540c0a6be377c1770b
|
File details
Details for the file symbolmachines-0.1.1-py3-none-any.whl.
File metadata
- Download URL: symbolmachines-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ca8f04b93ac7b3ca0ade96557c08ab9ea1efdf40a3b5ed60372700d954d1dea
|
|
| MD5 |
ceb320a4d051b542d605d74f203965e0
|
|
| BLAKE2b-256 |
86b9680b2127465f2aa91485e831cdf75a59b7c3e6419434ac71f65779347e67
|