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.6-cp314-cp314-win_amd64.whl (3.9 MB view details)

Uploaded CPython 3.14Windows x86-64

fabricatio_memory-0.2.6-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.6-cp314-cp314-manylinux_2_34_aarch64.whl (3.9 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ ARM64

fabricatio_memory-0.2.6-cp314-cp314-macosx_11_0_arm64.whl (4.0 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

fabricatio_memory-0.2.6-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.6-cp313-cp313-manylinux_2_34_aarch64.whl (3.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ ARM64

fabricatio_memory-0.2.6-cp313-cp313-macosx_11_0_arm64.whl (4.0 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

fabricatio_memory-0.2.6-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.6-cp312-cp312-manylinux_2_34_aarch64.whl (3.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ ARM64

fabricatio_memory-0.2.6-cp312-cp312-macosx_11_0_arm64.whl (4.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 f4615d31bc5b5dd763b70c2d6658597ee72e12c474e29fac861f0a998da0ed40
MD5 68eda51c7c5a4f368aa1127933cc2c65
BLAKE2b-256 ab09be9e997eced049852faffb3da9ae836548b0c66171dffaa253ca4dfa173c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 9304d513999704e4533109a190d5bee255b0ecc49604500fa8c4156aa254cadf
MD5 47884e3d25fade02045011fa4561d0d9
BLAKE2b-256 6e8e2181c244dd75dbe10f89dbe5a044be7f26a1eb7a9cc8e7894cc81ed6421a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6-cp314-cp314-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 6cee37d4cf3818e53055fa9eb58fcce028c4699006f5c19dec9e4130325efecf
MD5 4678e5e4ca43e38510d8a0d75e2a2fbf
BLAKE2b-256 b4860b12f755dd8e88a7d91515e64ec8981856f8852da534516a7b9a0d3f55bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1c435579aec020291d38a17cbb6da18e900ab7ecfc4530b69461b0b5e2cc6cb4
MD5 2620bcbfaf53a870a084cd4454ce2137
BLAKE2b-256 237624807aaf0e9063a5976b420168d46f6337f3987857f1165eb56602786217

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5b806d74eb05c1e5ab9a4358558b71581ab0f69c75924f8a0f2b7f060df351ef
MD5 a595cf6e959a583bb334e024e68e99a8
BLAKE2b-256 1fba5198d0cdfc5155a7d76b08fa14ad49c7febc1edaefb1451b6a9561f47ff8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 e78ab696f19b4e11d486aeea34528259d7dcb76e6c612b4b53ed9bf60a881ae6
MD5 03e5ca296afd21f270b331520e2bafac
BLAKE2b-256 ede813159180c9b70e34d912525bc9bb0f31fe0eef64bc9263e3424b80b057bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 7fa96b17e8a1ab28ff4d819ab80b5af22d3f053394d1e0c70182fec054f66ce1
MD5 25d7945532476f8db89e2d2ac2eb1547
BLAKE2b-256 e432844f52e90656df331b6ffd9bfafa20a2408b6b4989737e4ab1780bd4ffbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 23751e2368f616316264dd756a6f514efe26fb39e73d294fab3cdc2139b23edd
MD5 12d8ed4e7a2fbe07b01ed91c7c7cacae
BLAKE2b-256 da56d4d8e01c808fd3acdadc64b7181f23dfbe5c778d3faa0f5070c45922cc0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 52c0a0220a21c50947d48cefbaf2e6f9b5f5d552c70b185a51f1685779fc0a6a
MD5 ad323f017b62aad31be12fd115ddb4b2
BLAKE2b-256 fe9f037c120af2919591fcd815493562789dc6038a0d830c35b014eb55d6e73e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 2e9707be8261bbe473677c4fb69ab77ecf0ca63cd8d7b309e31aa80244ca7780
MD5 7343fbb3b45ffb032de368674e947727
BLAKE2b-256 c88cf043aff5d4731c187210fa18a5babd6a2fbca9ac74d8897382b7cc11bf55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 d96900a71c0d7ca81e93e13a19f712f195642ad50229c951e1586c8f4242e9fa
MD5 9fc90025a64de8f56da3ac246578afb9
BLAKE2b-256 0cfb6a605d43d0ff21cb35640a0b042ac64614e0b8bc700eee9ad0ccedf09ca6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b8d3fe37a00322459dd1770714682417002979fb5f05e7fbc4d5c610b9ced587
MD5 67ca5f58b252f417194ffd620165991c
BLAKE2b-256 2574b282c3a5b4f843d1bfb2cdc3e934fb8a95d264cdd77212b52a708ff17258

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