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.4-cp313-cp313-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.13Windows x86-64

fabricatio_memory-0.2.4-cp313-cp313-manylinux_2_34_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

fabricatio_memory-0.2.4-cp313-cp313-manylinux_2_34_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ ARM64

fabricatio_memory-0.2.4-cp313-cp313-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

fabricatio_memory-0.2.4-cp312-cp312-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.12Windows x86-64

fabricatio_memory-0.2.4-cp312-cp312-manylinux_2_34_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

fabricatio_memory-0.2.4-cp312-cp312-manylinux_2_34_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ ARM64

fabricatio_memory-0.2.4-cp312-cp312-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1b8c9c5d71c09783696b21366ca9836c7be65eab54f332cf9d31b83770ea5da0
MD5 376d8396340f7b6d5996c7c8f8b9b7f7
BLAKE2b-256 9f6f92cfc4d4eda57ab4695c7f5119cdb155ac1f93e8df6a567a48d808a24a0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.4-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c1e0d7732d8b5037c4e7ab2aa33c5b1f416d815783e4c2ab6d1f36162771ca76
MD5 543728ed1e2dc060146c49f3ee385671
BLAKE2b-256 5a46ad71d4db6920150a9c2a9fcf391c6472996a582574d4cb75bd3dac158ef6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.4-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 96e82efd55c63b1bf0afadcbb397034121831b1e1095671aed6179793aa365c4
MD5 975b1abca8df1be524a04d2e01d84186
BLAKE2b-256 c644062a35f80f5697b2ac121ca5048fb5b4ed0fbbd09dab3b661f75255175ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 80febc306e81c03fca78853cdee5fa9265726ae7e7ca172e8b1886a914f0ac47
MD5 fc08a24ffaea26b19e81e1a38f3d6804
BLAKE2b-256 b69e4c4fed7b21df475315a58f71a4fd3da2f688d5b1abd85f73d1d556b76067

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6feb1ff45a6a2250394317324fa775f3a49ddefbd0c97cf2f469085e0af638d7
MD5 2e7cfa9a5c1ba92500e421edd7d1ef80
BLAKE2b-256 24a130bce6f6f52ccc36d8554b56ab12adcc4c3dce2ce534637dfeb06adef806

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.4-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 02b160038d0a35ecb7639abc3d72d9078bde713742933af69ecb861d6e75519e
MD5 2491aa60ddf3859e4e3b3286493c70a8
BLAKE2b-256 185fe45569634b28a4f7a4fc5ad67cd0f4fbee1675863c483326d5351e37fa49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.4-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 c81031b0ac5e0d4de71e63f2bec6685dc6a67c516edaf1275054f2574f90b050
MD5 79a2751a138ab41be092ca4f7121bb6b
BLAKE2b-256 a2c166d72edf6b4372e2a7f7d8304439778c336bc2f71d131d105195777183ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5b0df5ff8def831233a6d5fd13e01e3decae871f6ef4e9a660bc1af04c9a5d97
MD5 890a483ea3ec41e5a8dbcc629a053064
BLAKE2b-256 a7f63b3075d817025e63159da42d346bbaffed35f3c0c9a197d6b44dd039266b

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