Memory module for creating intelligent agents within Microsoft Teams
Project description
Memory Module
[!IMPORTANT]
teams_memoryis in alpha, we are still internally validating and testing!
Logging
You can enable logging when setting up the memory module in the config.
config = MemoryModuleConfig()
config.enable_logging=True,
How does it work?
The teams_memory library uses
Python's logging library to facilitate logging. The teams_memory logger is configured to log debug messages (and higher serverity) to the console.
To set up the logger in your Python file, use the following code:
import logging
logger = logging.getLogger(__name__)
This will create a logger named teams_memory.<sub_module>.<file_name>, which is a descendant of the teams_memory logger. All logged messages will be passed up to the handler assigned to the teams_memory logger.
How to customize the logging behavior of the library?
Instead of setting MemoryModuleConfig.enable_logging to True, directly access the teams_memory logger like this:
import logging
logger = logging.getLogger("teams_memory")
You can apply customizations to it. All loggers used in the library will be a descendant of it and so logs will be propagated to it.
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 Distribution
Built Distribution
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 teams_memory-0.1.0a0.tar.gz.
File metadata
- Download URL: teams_memory-0.1.0a0.tar.gz
- Upload date:
- Size: 29.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9494863fd6630a8c2be24aae198e3b627206d4fed1b5dacd8601cf167c3df65
|
|
| MD5 |
5be9bd2c757c9f8c7e553d68f6f24343
|
|
| BLAKE2b-256 |
c191dbea0e43bb05d6a45d8a3b921dc67b12ec15e591294366b942cebe47b219
|
File details
Details for the file teams_memory-0.1.0a0-py3-none-any.whl.
File metadata
- Download URL: teams_memory-0.1.0a0-py3-none-any.whl
- Upload date:
- Size: 45.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e77deee475dd7c9b331724eb184789a9b7922c3a187c97ac8512f443d9873c2
|
|
| MD5 |
d24bae9ce1853c63a6f24e2665a09479
|
|
| BLAKE2b-256 |
7dd674085c34e8a9777ea4c7b231d0cf42f038d68dd582be33562e70b73a4656
|