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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.34+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.34+ ARM64

fabricatio_memory-0.2.5-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.5-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for fabricatio_memory-0.2.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a200749879dfb59570c9df8488d22ace922cec73eada3e7c2d3584d92b399d6d
MD5 4bfde1f4170086acba0fa8d66804d3a9
BLAKE2b-256 50311b3eed0363ba99124627dc76edb1475695ed82773faba0bf910cccb3111b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.5-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 68f8776f70a1e31d131dc2c4b7959bc424384a02eab70b21bfcfd4d4c6807f38
MD5 766aefb195fd68cb9f4b04105587051f
BLAKE2b-256 5ce32165aaec7d7d7e525f6a4826b18c15c6a8723655cc1d2c0fa26928569776

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.5-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 9066b5ef18ba591055b002aa2532358b95cf6a3763939cf19882f40ac0d78e97
MD5 7c4747e2127c38d46aab889ec5d19778
BLAKE2b-256 b0030667a75d0f6053e6cd5efa39ba9237c6763c06eb0d0606584276948d11d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.5-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ab1c39df495af9c46a7faab257aea5330478a739066e9ebe0c72e1ebcd2057fd
MD5 745b9245548138486b4e58aa64741496
BLAKE2b-256 9194f00c5c8e2b167daf30d5f60da83dd75eca218b2fe2e6df71f9f032eea845

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 54735e05e3a631a049008c3fb551878268939f0d7e64a55a0dd74e2839f5d740
MD5 af0a61a1ae2ded86205cfc34d4b05949
BLAKE2b-256 a02854b83fe33c8a616375ef0a9b9ac5ffe17882a6df904059b9489de8b63145

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.5-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 1c0321bef131d5ee6326ae2bc3b1159e893826f003d38464e9686247d8dfb79d
MD5 9a4ff614df4153fe31590be52b867011
BLAKE2b-256 12bd8f79c525b32b798a2209e5258322200842f1e5a8c4af04a509d7c90c46ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.5-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 98eaefabf7053984f9f4a7e474bf63dbe40bc8bf27ab2586ae92954e0dcf6b12
MD5 0791f4e1e215dfb0aaf6cf91b50d0ec7
BLAKE2b-256 30ec56c59353918fcd7f7ed667c3913a29b7ef414e8fe97a1e5f4844e8a60dc5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 30c0f2eb90886b456fa60cddb1f645e8453afd578d7c2ed88be031280800fd17
MD5 f5a082c31c3f64c22813195cf83dbafd
BLAKE2b-256 843700760fced89c7a86fbca2cba4bdf7f348e49816a1a74ddcb86cc1610b2ac

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