Skip to main content

An Extension of fabricatio aiming to extend the context llm could handle.

Project description

fabricatio-memory

An Extension of fabricatio aiming to extend the context llm could handle..


📦 Installation

This package is part of the fabricatio monorepo and can be installed as an optional dependency:

pip install fabricatio[memory]

Or install all components:

pip install fabricatio[full]

🔍 Overview

Provides essential tools for:

Context Expansion

This package enables the extension of the context that an LLM can handle. It does this by storing and retrieving relevant information from a memory system. For example, it can keep track of previous conversations, user preferences, and domain - specific knowledge, allowing the LLM to have a more comprehensive understanding of the current input.

Memory Management

It offers features for managing the memory used by the LLM. This includes tasks such as memory allocation, deallocation, and optimization. It ensures that the memory is used efficiently and that the LLM can access the necessary information quickly.

Integration with Fabricatio

The package is designed to work seamlessly with the Fabricatio framework. It can leverage the capabilities of Fabricatio's agent framework to manage the memory in a more intelligent way and integrate with other modules in the ecosystem.

...

🧩 Key Features

Long - Term Memory Storage

The long - term memory storage feature allows the LLM to store information over an extended period. It can save important data such as user profiles, historical conversations, and domain knowledge. This information can be retrieved later to provide more personalized and context - aware responses.

Short - Term Memory Buffer

The short - term memory buffer is used to store the most recent information. It helps the LLM to maintain a context for the current conversation and respond more coherently. For example, it can remember the last few messages in a chat session.

Memory Retrieval Mechanisms

The package provides efficient memory retrieval mechanisms. It can search through the stored memory based on keywords, context, or other criteria to find the relevant information. This ensures that the LLM can access the necessary data quickly and accurately.

...

🔗 Dependencies

Core dependencies:

  • fabricatio-core - Core interfaces and utilities This dependency provides the fundamental building blocks for the Fabricatio framework. It includes interfaces for task management, event handling, and data models. The fabricatio-memory package uses these interfaces to interact with other modules in the Fabricatio ecosystem and manage the memory effectively. ...

📄 License

MIT – see LICENSE

GitHub: github.com/Whth/fabricatio

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

fabricatio_memory-0.2.7-cp314-cp314-win_amd64.whl (3.9 MB view details)

Uploaded CPython 3.14Windows x86-64

fabricatio_memory-0.2.7-cp314-cp314-manylinux_2_34_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

fabricatio_memory-0.2.7-cp314-cp314-manylinux_2_34_aarch64.whl (3.9 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ ARM64

fabricatio_memory-0.2.7-cp314-cp314-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

fabricatio_memory-0.2.7-cp313-cp313-win_amd64.whl (3.9 MB view details)

Uploaded CPython 3.13Windows x86-64

fabricatio_memory-0.2.7-cp313-cp313-manylinux_2_34_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

fabricatio_memory-0.2.7-cp313-cp313-manylinux_2_34_aarch64.whl (3.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ ARM64

fabricatio_memory-0.2.7-cp313-cp313-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

fabricatio_memory-0.2.7-cp312-cp312-win_amd64.whl (3.9 MB view details)

Uploaded CPython 3.12Windows x86-64

fabricatio_memory-0.2.7-cp312-cp312-manylinux_2_34_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

fabricatio_memory-0.2.7-cp312-cp312-manylinux_2_34_aarch64.whl (3.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ ARM64

fabricatio_memory-0.2.7-cp312-cp312-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file fabricatio_memory-0.2.7-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: fabricatio_memory-0.2.7-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_memory-0.2.7-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 bbab8a773a4ce4e297c0ad151b28dc0fa8ce1c6ef11954be956a158d045fbd9e
MD5 88fa64ea697c38e332da922d29e9bfa9
BLAKE2b-256 c9d22300a9d581cd102f816f1b1486072d145c5e72039f8fbda973bc26856790

See more details on using hashes here.

File details

Details for the file fabricatio_memory-0.2.7-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: fabricatio_memory-0.2.7-cp314-cp314-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 4.3 MB
  • Tags: CPython 3.14, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_memory-0.2.7-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 dd8ff3ee70a5bc24bc9b8d5472fbae52d428b9b8d9f46df9bfaa6274cf334ff2
MD5 71f92519b00cb4811c028a6e05c846a8
BLAKE2b-256 97bd2d2013046a624245f5c7c1aa5bc5f64e21fc7f41c25dfd9efe5f8e565d35

See more details on using hashes here.

File details

Details for the file fabricatio_memory-0.2.7-cp314-cp314-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: fabricatio_memory-0.2.7-cp314-cp314-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.14, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_memory-0.2.7-cp314-cp314-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 06e5b8408c206e383cab9577a32334fe04a96342f320d38265d533bf70a8efee
MD5 48681087f322c535c7f5f6342e03b0ef
BLAKE2b-256 110ed6e31a78682c24a85fbc25a588a48b13986d30f80cc8683f86ea904c410f

See more details on using hashes here.

File details

Details for the file fabricatio_memory-0.2.7-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

  • Download URL: fabricatio_memory-0.2.7-cp314-cp314-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.14, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_memory-0.2.7-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 52878df9831524c4461fa79f02dde54362830bcc63894d244a9382796c377f5a
MD5 629e771385e31b58bc1e563cdd003db4
BLAKE2b-256 5b4af6cac16d585129d5afed6ae20a20ddee7f0991424a2965501b6787461d4d

See more details on using hashes here.

File details

Details for the file fabricatio_memory-0.2.7-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: fabricatio_memory-0.2.7-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_memory-0.2.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3338774cfd2f922a814cfcb85826dd60fd0cb2b0bff44c1af4755eb2a8453d86
MD5 8c9f6a73f168811bc387dd4433f4fb29
BLAKE2b-256 853abcc2b74d93bef0cead2600d35b2a853c64f4b6aeb33fb484d5198f80989a

See more details on using hashes here.

File details

Details for the file fabricatio_memory-0.2.7-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: fabricatio_memory-0.2.7-cp313-cp313-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 4.3 MB
  • Tags: CPython 3.13, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_memory-0.2.7-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 6594b71a19a9302637f2b5bef942637f1476b386097bb30c650589d482d44aa7
MD5 eedbf2fb6dee36f253c2ef07569d5f92
BLAKE2b-256 41ba0308e43f3fa01d6d44d642d3d7dc4c0378d442d6f05a37450702657b72f8

See more details on using hashes here.

File details

Details for the file fabricatio_memory-0.2.7-cp313-cp313-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: fabricatio_memory-0.2.7-cp313-cp313-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.13, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_memory-0.2.7-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 bdeb14a5d7aebcdb557404fe5bec2765f6a25c44610ad75c11a0c3fda5d9fb76
MD5 351d20cccbd5fefaa0be097ad83af40a
BLAKE2b-256 f2a10d2d30aa93436d6a90586ccf0812002e87e93a6c085445bfef2824a11251

See more details on using hashes here.

File details

Details for the file fabricatio_memory-0.2.7-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

  • Download URL: fabricatio_memory-0.2.7-cp313-cp313-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.13, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_memory-0.2.7-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2072428437aa9ae420576721e6326a6b7c1dc504883743f6294e26c58a721a30
MD5 a7a4ced4892daf83e0ea2b3e29e169eb
BLAKE2b-256 ddf7c91b5cea7934d9e056694c8781b2803c22fb55a94ac68f6d4c554e64d692

See more details on using hashes here.

File details

Details for the file fabricatio_memory-0.2.7-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: fabricatio_memory-0.2.7-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_memory-0.2.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 abf919ae59badc0a811a30ffd28c1f77d8e9d544e1b032b64cd979f8235988d9
MD5 00ae13bb37b529097e6c28b969928b55
BLAKE2b-256 0cef2361bc6f35ebae92c1de7a3bfaa8941b8995bd849e6966eb6e0456bd0977

See more details on using hashes here.

File details

Details for the file fabricatio_memory-0.2.7-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: fabricatio_memory-0.2.7-cp312-cp312-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 4.3 MB
  • Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_memory-0.2.7-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 105882e9ce5e6fd8efdb9898bf67c9571bd01fa98739bd0bfd59e37a13f1f0c6
MD5 9ca09e3fac7a95d6536a02961693e3ce
BLAKE2b-256 60942aa9550d523593f67905e02c11291453022477b514405646bd364fad20d7

See more details on using hashes here.

File details

Details for the file fabricatio_memory-0.2.7-cp312-cp312-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: fabricatio_memory-0.2.7-cp312-cp312-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.12, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_memory-0.2.7-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 1cc4744831438750bd5811a6107348f90bd5b9f60156315856a51e23683bfac5
MD5 028c005a6f81c374b87a931e9f0f307b
BLAKE2b-256 2a9c96c1545876c05dbd6bff6c07f8f84fa7b39537610662b3c0218ef07df91e

See more details on using hashes here.

File details

Details for the file fabricatio_memory-0.2.7-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

  • Download URL: fabricatio_memory-0.2.7-cp312-cp312-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.12, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_memory-0.2.7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f7d492671a5b987011739f8838b1a10f495d5367a87a659847d51d57fb3aee06
MD5 6646962dae79eacdc5594e28230d658c
BLAKE2b-256 8c0f3dcd5f29a325033ef81e0e605a5eaebdb9b2295dec7e11a644aab8736e35

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