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

Uploaded CPython 3.13Windows x86-64

fabricatio_memory-0.1.1-cp313-cp313-manylinux_2_34_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.34+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

fabricatio_memory-0.1.1-cp312-cp312-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.12Windows x86-64

fabricatio_memory-0.1.1-cp312-cp312-manylinux_2_34_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.34+ ARM64

fabricatio_memory-0.1.1-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.1.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for fabricatio_memory-0.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 65046b470dd0a5bf465f22fa4a53f3deb8e7d92a3349732daa9681e8b40ac3c1
MD5 7610635e7cf2972e496c3dbf752faa1f
BLAKE2b-256 4c6aa0c1761b850efe763fd64949e1b832254859943074fd889e0735daa0f13b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.1.1-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 bc44408e327d79092f9e28ae44c58d44cf388fa5329837d05a6de252cb2326cb
MD5 835794051e8a3e2ab1b9d86539d10c7a
BLAKE2b-256 ce8a36b795a3be209ec157f96d9d11dd2ee819379172c021cf760468f7b7889e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.1.1-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 4ccdae8e6361023d9f6331f8cf2a9d78994b7a398ea290c954e6ab16158bc6b2
MD5 c06d5f603b4fcb8f6a0b5d19a3b589d0
BLAKE2b-256 4cff068c2974cd2b2c93a8280c8f98e24e2d645b3b88f465b5e5a9355e21fadd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 43a5e4c0a142d7be1e52f7d5ed616655c7abea64908bb42ea1dca8f38adeeddf
MD5 163bcfb168c76ef08ec3f94f31ada9ee
BLAKE2b-256 5181c44a201dd39e071ea81a190b3dbb0bd690f4ce0b9289a22193a1bb3b5efa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 75404a236851c8823bd9440f472e53dfea7462569bf9fa2bd29eacad9acd0773
MD5 9bb207a95790840d6d5306c50534047c
BLAKE2b-256 c291ec37fc38c8dcc2fd93757ee8a5c3c01c6cd87bb59b3fda82ddbd9767c4ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.1.1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 6270fde5d440f6819daf0d2fd496076aa1bbdac62e8f5746c05b746e08a94cc1
MD5 91f454570a5539b5cf57ef7e542174af
BLAKE2b-256 214e92fdae1c042b07f7c79db0eb446b502910cbc50e80530430c2d68311471b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.1.1-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 5559626197bb70fb2e0a9e9a610178ac864f5fa8769f126ae849effbff9c67d0
MD5 d29c9e1d111d38136a2737881a6c6382
BLAKE2b-256 0bb8af94d0dc129b3faa4ba25f217362ba03ee723d1e247a38f83252d0bfa66c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 63184b94070088db69ccef126346759529c4c63a1a95b9af29e6352787aec689
MD5 d9b7a809faaa3911a9c0a4d152339356
BLAKE2b-256 cb3a975d65c022ecf0f144917ecdca08a04e60e0725d1acb4c1432279536b3e5

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