Skip to main content

Memory tools for LLM

Project description

llm-tools-memory

PyPI Changelog Tests License

Memory tools for LLM

Installation

Install this plugin in the same environment as LLM.

llm install llm-tools-memory

Usage

To use this with the LLM command-line tool:

llm --tool Memory "Create memory: my name is Ted" --tools-debug

With the LLM Python API:

import llm
from llm_tools_memory import create_memory

model = llm.get_model("gpt-4.1-mini")

result = model.chain(
    "Example prompt goes here",
    tools=[create_memory]
).text()

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-tools-memory
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

llm install -e '.[test]'

To run the tests:

python -m pytest

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

llm_tools_memory-0.1.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

llm_tools_memory-0.1.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file llm_tools_memory-0.1.1.tar.gz.

File metadata

  • Download URL: llm_tools_memory-0.1.1.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for llm_tools_memory-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0cde8c81ff86e862bcd61c213cd788769c1b31abbc9377e638bf197b0a890785
MD5 4258cc8d94242b62eb8998123cdbf4a5
BLAKE2b-256 6e3ddfb67b686b21055c83641eb9a1b7f4913b384396b9dd723abec13f37a418

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_tools_memory-0.1.1.tar.gz:

Publisher: publish.yml on tombedor/llm-tools-memory

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llm_tools_memory-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_tools_memory-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8283058ee3ddb00a525b9f1b11c6b3a6fd5ec2606a5274978eea86144267c465
MD5 87fa0c6cf1b38dd67e7d2a4116caf16d
BLAKE2b-256 6e6db9a89f9a8a5cc26213ef832375b94a46c0a0a2302ae37173e4e1af1d1a4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_tools_memory-0.1.1-py3-none-any.whl:

Publisher: publish.yml on tombedor/llm-tools-memory

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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