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 create_memory "Example prompt goes here" --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.0.2.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.0.2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llm_tools_memory-0.0.2.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.0.2.tar.gz
Algorithm Hash digest
SHA256 adddedf615681ba573d1bc7fc4fd246954e9d656ac43e0009df934088bba424d
MD5 30f00367fe2f00921043cf8f004c94c3
BLAKE2b-256 8ab52a6bdcdfa5fa56a4336eebdff4d9f35290795b0b00373188f53fc4b119a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_tools_memory-0.0.2.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.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_tools_memory-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 237fd4181e9977ebc9ef6e67fa8eef5d5f4783ae3d0f055daced855c31fb1068
MD5 680931f8a13cf9b836062f6f401c9a7b
BLAKE2b-256 139be16742b717e65688237c20fa3cf59b2b06e089ea779337f3baec65411470

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_tools_memory-0.0.2-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