Skip to main content

A Machine that what happened.

Project description

Forgetting-Machine

A Machine that forgets what happened.

In order to launch it from the command line or as a Python subprocess:

echo "Theodotos-Alexandreus: Can you forget that, machine?" \
  | uvx forgetting-machine \
    --provider-api-key=sk-proj-... \
    --github-token=ghp_... 

Or, with a local pip installation:

pip install forgetting-machine

Set the environment variables:

export PROVIDER_API_KEY="sk-proj-..."
export GITHUB_TOKEN="ghp_..."

Then:

forgetting-machine multilogue.txt

Or:

forgetting-machine multilogue.txt new_turn.txt

Or:

cat multilogue.txt | forgetting-machine

Or:

cat multilogue.txt | forgetting-machine > multilogue.txt

Or:

(cat multilogue.txt; echo:"Theodotos: Forget about ..., machine.") \
  | forgetting-machine

Or:

cat multilogue.txt new_turn.txt | forgetting-machine

Or:

cat multilogue.txt new_turn.txt | forgetting-machine > multilogue.txt

Or, if you have installed other machines:

cat multilogue.md | forgetting-machine \
  | memory-machine > corrected_memories.md

Or use it in your Python code:

# Python
import forgetting_machine

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

forgetting_machine-0.0.2.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

forgetting_machine-0.0.2-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file forgetting_machine-0.0.2.tar.gz.

File metadata

  • Download URL: forgetting_machine-0.0.2.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for forgetting_machine-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6f2988bfa0ca29c1a1a79c51d7817c2d94d5d29e411f1cb3fe644eb9200433d2
MD5 924ad9f11fcf1a46f57d1e2512c4e435
BLAKE2b-256 5031687a42fe63142393f38f0ffb8d1ec731fe3a14a33953229cea83f62fe206

See more details on using hashes here.

File details

Details for the file forgetting_machine-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for forgetting_machine-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 04193e14972595e88f77a05050b20c59f82e4fb197a04d3ca7559cbcc876f780
MD5 21a2b9fd76d8e846201eb6eb169c22d3
BLAKE2b-256 a0707e4c5edd7d98a75634647820737b634dd9a3c1c95b498665049263dee6d4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page