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

Uploaded CPython 3.13Windows x86-64

fabricatio_memory-0.2.3-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.3-cp313-cp313-manylinux_2_34_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

fabricatio_memory-0.2.3-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.3-cp312-cp312-manylinux_2_34_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ ARM64

fabricatio_memory-0.2.3-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.2.3-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for fabricatio_memory-0.2.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d49ccc2d2d7f2e65aa7171eb965dfde90e6a9137a394bab3167ec471591c00ae
MD5 99073e914f16ef08329027910a881ce9
BLAKE2b-256 03eccfa4430ba59e9d4391ec304df3bb6cdc860a8ee955bf2f2c94cd6da243a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.3-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 1872f0d1cf9616dbae8993882f16054672a00d619eaab1ed6469f88fd630b109
MD5 48d62435517a530e6b42df40886643b6
BLAKE2b-256 b9d659fe59d877fbc2bd4d9d7dda88f0afa4c016cff1d5bfb35de9e0c1cac688

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.3-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 4c701093b8d767f204cfc54f8b7c22b033f7b78bd4027a89e3f3653ca8a57593
MD5 4d7b6a5a81d3489397c17f2fe9945e61
BLAKE2b-256 cda9e8eac0c71c672ef88fc7b28c71491f6c7e544ced60621397d11054879f5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 67904e2e485d5cfcc2816f05dccc32164773830238bbfee259d94b26732e5603
MD5 1b899a0a7ea869d0a34df1fc83c3c04a
BLAKE2b-256 c71215b146adc7cc0a90e5c487a7d5e3ff5507966d23fe5782f7962b49ed08e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a52c28e18403fb1a915d53f78900baf37efe1901f4077f364e57adb4f8fa3efd
MD5 e86fab3a70ff51c3241858252cde9b59
BLAKE2b-256 319e9bd8f704919610c8acb78f5226a959f1b9a3c9074bf1f6577e2737debbc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.3-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 9dbc0002d72e71e48bc33c4991d0a7d183d1b6da04bee31f600552a3866d87b9
MD5 debedc677cc969fef9c0d729c0055e29
BLAKE2b-256 33ccb60fde20a035579d667dc997980028f537e0bd17c106dd35a5fd25bb3e41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.3-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 1157166c9185545b7c9ea0123e1f6dc72aa3008ad33ba20cc8324b7bf38b92ef
MD5 800ae71a012b9294cd8af6f4fd98f47c
BLAKE2b-256 e6565cb39124b7d8892032f949058815eec1009a0224a73845ac39009c9c9a48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fabricatio_memory-0.2.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 258bf6a996c170c9c7c85937a51f3ed457a16b80ce18b1a61808221d8e906005
MD5 5b70106d4c924a9f7038a1fda56bee70
BLAKE2b-256 317a8d2cde193d7f3c3da236bc5af2c61d0137ea528b1f2e98e2eadd116a6217

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