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

Uploaded CPython 3.14Windows x86-64

fabricatio_memory-0.2.6.dev0-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.dev0-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.dev0-cp314-cp314-macosx_11_0_arm64.whl (4.0 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

fabricatio_memory-0.2.6.dev0-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.dev0-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.dev0-cp313-cp313-macosx_11_0_arm64.whl (4.0 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

fabricatio_memory-0.2.6.dev0-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.dev0-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.dev0-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.dev0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6.dev0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 aae1da72c3fdaf210526761259730b5cc125c9e3f66b9a8edb1fbaf3418bc760
MD5 6cbc0cd3dadcaaec1e281448090d8307
BLAKE2b-256 f1fe110c97ceaa1597f9afca6eb051e47a7023103c34c467761544eb25b8c850

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6.dev0-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 be901fe687adeb13a448bace54c1a5c7f7ce063a8af8d32f7e3c00ff4f9d0e47
MD5 b3e77fdec30702316fbcf3eb47640f75
BLAKE2b-256 b8207fec65594bcdb678aacb0408782bcaa2d7125c7496359882f3bf7391b882

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6.dev0-cp314-cp314-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 552e00ef299f007f5855f0ca4e668ddbb5580c5b6600bee663fb250eec86cbf5
MD5 9cee1d794557ddce0751b74234157741
BLAKE2b-256 eea8204597b4c95886ffc13634176e9c59589bd3830c716c73162c16e2f5074b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6.dev0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ba05804e37a224dd63aa9ff8508fc23f4cc6f529eb775c8e3551c98d1e192894
MD5 438b795dc08c79d8136199d26b834340
BLAKE2b-256 54e01ccf1f3f1f49b71b5638d239cebad4f6231f55b983af1ce47c8e84085fce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6.dev0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8537f667d156395240a762e021ea6259323a977c587467782d57ed4cc78b5019
MD5 dbdf04e7605785d34e3c3fa58cbafdf3
BLAKE2b-256 e21dfbff915193e32e182e8cb7fba67534d96342a0de0be6d52c42b5d1b4d88b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6.dev0-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 86dbfe7e3e0e76bdeb42fc9c5cd9f28d788590d1759a0470618363c54ab3e3fe
MD5 dd765c15fb50a4c634a3e6d444f2712d
BLAKE2b-256 b6d0450a89a8afc2f3be41ecf07481f3af317da442376ec7e0461c8b12bb733c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6.dev0-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 94414ccc37f86f07202df624af7de348a0bac8a5f953faa690be6aa098d04019
MD5 236323047bd6d77ae2f29e007bead523
BLAKE2b-256 bcb650450497f30b92b97ae935f3cfe3cbd363dc379c106b8522e9a59dd3b30a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6.dev0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 93a316da882b7d554b031376df4edbbca136e3e66019dd92542edc83f3e81006
MD5 632a68376f587659dc03bcbb5869cd43
BLAKE2b-256 dca479b6b5795f8c300f56eb26daa1ad84b597a1f31f98215dfd9dedb3b9d748

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6.dev0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e71ac423de73a24e14b9e0128bd0fdef78dbb32cba1ca6e749475d794147c537
MD5 c1aeb062f60fd02b3f4170fa04f4e6ea
BLAKE2b-256 f0dc6b6382eff51249850d441b1c4afe2c84486b3b6dfa4c03472ef265e8479b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6.dev0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 758a2976aae37e512a58c8987f0f7a2ebc4e15f66fbc7ad89ac3e4682433d42c
MD5 01b24680be8b8a27cc12b011aaa7d33a
BLAKE2b-256 469e1f36d3a862de5ac442175961382d50ee5ee7438da53583860fc91baf2374

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6.dev0-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 7080c84ca27354f687b5986c1e2d540978d5d296247622218f64dfe8f5131c34
MD5 ab00879edaade4c5c581c86f356a39ee
BLAKE2b-256 c43dc6a13dc6ff93e1d8374ce68931bfda8cbda7d50b1a69b326dc19a4100d2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.6.dev0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 19e3b708576ba986bb3e8f3b041bc5be6d1315d04cee1f1ad97090ea782accf9
MD5 30cb4fe04eddbdb88562a7ecff477301
BLAKE2b-256 90398cca6022677457dda79ca0c70f197e7dc9f81214607b991c69c8c00cb87d

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