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. Thefabricatio-memorypackage 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fabricatio_memory-0.2.2-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: fabricatio_memory-0.2.2-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
881a446a36ae6c083e9ccbd3084c6f8aeb1c3220e0d2f79d35c050e792557d3c
|
|
| MD5 |
e99c25b99a18ab68af99a71d014cffbb
|
|
| BLAKE2b-256 |
148d9defd0069b4c868071bb1ec25e26e9dc7e4d4c541a6a3c9a4fe8eb6cad3e
|
File details
Details for the file fabricatio_memory-0.2.2-cp313-cp313-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: fabricatio_memory-0.2.2-cp313-cp313-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.13, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5298a8e11850ee6d815b6d291e074f73ded9fa3a4d33e53b89487d269da33134
|
|
| MD5 |
326f0cf48e4e56dfb56ccf23146f556e
|
|
| BLAKE2b-256 |
44335616ed0f5d91a3b7dc8432373ce1ee8470f608665736882227e4f3835231
|
File details
Details for the file fabricatio_memory-0.2.2-cp313-cp313-manylinux_2_34_aarch64.whl.
File metadata
- Download URL: fabricatio_memory-0.2.2-cp313-cp313-manylinux_2_34_aarch64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.13, manylinux: glibc 2.34+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2aa3a3b57f3978433acfa947b0a9789bd42f59ac80a236af051f6ebca977da1e
|
|
| MD5 |
3a630cb72943eca3d897a87030e8b773
|
|
| BLAKE2b-256 |
132c0c2b3fcfd203cae133b52e82ea9263613f0d8dd2e2e1cd59cfdcd73b9227
|
File details
Details for the file fabricatio_memory-0.2.2-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: fabricatio_memory-0.2.2-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.9 MB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
110af49567aeec96ae10b7bce7df4f1f51c4c9d9d09096b7c080739381074d99
|
|
| MD5 |
20b1bfb9b7ddbca55b930536788449f8
|
|
| BLAKE2b-256 |
a00485536649af43a0d7585c47b22fc832ad4b40ce1dded93a1ad7d3e1fc3eb6
|
File details
Details for the file fabricatio_memory-0.2.2-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: fabricatio_memory-0.2.2-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d84018d85b36b61fcb324b2320c66fc32acb8675406f6c6774faa2074cb3e3f6
|
|
| MD5 |
44045770dc15ed7e8982dae98f7bee5c
|
|
| BLAKE2b-256 |
df97b2f56d1113c0e34f62213e7e6db6079fe0a56576128dbe0f6cf014fe2015
|
File details
Details for the file fabricatio_memory-0.2.2-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: fabricatio_memory-0.2.2-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d154ce8bd1e1d5e15ff0da231c9e421694da2fee5462d86f1cd82166e63cef9f
|
|
| MD5 |
7a1474323cc867bc5b580c83f6ec50b8
|
|
| BLAKE2b-256 |
c1f219cfeccaac8b9ecf68ac7ffcfe9b4867d7557fe3274e657302af8af03287
|
File details
Details for the file fabricatio_memory-0.2.2-cp312-cp312-manylinux_2_34_aarch64.whl.
File metadata
- Download URL: fabricatio_memory-0.2.2-cp312-cp312-manylinux_2_34_aarch64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.12, manylinux: glibc 2.34+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2dcfa6a45c19cf3e6d8aa12e9d5720e6e3e0a5e8fc62d5ca5632b5f6c5b3591
|
|
| MD5 |
3c8d12f695db0cb48303ba1689915445
|
|
| BLAKE2b-256 |
22d9b6d51cb77a8ec62a3a087512e1f82e485b3a78574fcbc701b3f0e3b39a54
|
File details
Details for the file fabricatio_memory-0.2.2-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: fabricatio_memory-0.2.2-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.9 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
578a085e0d38ac0e943565d618d75729f5ce8e9acf7e180fc49e9a66c049cb0b
|
|
| MD5 |
5fe4d1803ca77b947b5c7e42ee293701
|
|
| BLAKE2b-256 |
acfc8dc75c11ed22a594f757878a5f07c99b29f4a5b8d6c7b588b110d61394d8
|