teams-memory


Nameteams-memory JSON
Version 0.1.0a0 PyPI version JSON
download
home_pageNone
SummaryMemory module for creating intelligent agents within Microsoft Teams
upload_time2025-01-23 23:40:42
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseNone
keywords accelerator agents ai bot memory microsoft teams
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Memory Module

> [!IMPORTANT]
> _`teams_memory` is in alpha, we are still internally validating and testing!_

## Logging

You can enable logging when setting up the memory module in the config.

```py
config = MemoryModuleConfig()
config.enable_logging=True,
```

### How does it work?

The `teams_memory` library uses
Python's [logging](https://docs.python.org/3.12/library/logging.html) 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:

```py
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:

```py
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.
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "teams-memory",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "accelerator, agents, ai, bot, memory, microsoft, teams",
    "author": null,
    "author_email": "Microsoft <teams@microsoft.com>",
    "download_url": "https://files.pythonhosted.org/packages/c1/91/dbea0e43bb05d6a45d8a3b921dc67b12ec15e591294366b942cebe47b219/teams_memory-0.1.0a0.tar.gz",
    "platform": null,
    "description": "# Memory Module\n\n> [!IMPORTANT]\n> _`teams_memory` is in alpha, we are still internally validating and testing!_\n\n## Logging\n\nYou can enable logging when setting up the memory module in the config.\n\n```py\nconfig = MemoryModuleConfig()\nconfig.enable_logging=True,\n```\n\n### How does it work?\n\nThe `teams_memory` library uses\nPython's [logging](https://docs.python.org/3.12/library/logging.html) library to facilitate logging. The `teams_memory` logger is configured to log debug messages (and higher serverity) to the console.\n\nTo set up the logger in your Python file, use the following code:\n\n```py\nimport logging\n\nlogger = logging.getLogger(__name__)\n```\n\n\nThis 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.\n\n\n### How to customize the logging behavior of the library?\n\nInstead of setting `MemoryModuleConfig.enable_logging` to True, directly access the `teams_memory` logger like this:\n\n```py\nimport logging\n\nlogger = logging.getLogger(\"teams_memory\")\n```\n\nYou 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.",
    "bugtrack_url": null,
    "license": null,
    "summary": "Memory module for creating intelligent agents within Microsoft Teams",
    "version": "0.1.0a0",
    "project_urls": null,
    "split_keywords": [
        "accelerator",
        " agents",
        " ai",
        " bot",
        " memory",
        " microsoft",
        " teams"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "7dd674085c34e8a9777ea4c7b231d0cf42f038d68dd582be33562e70b73a4656",
                "md5": "d24bae9ce1853c63a6f24e2665a09479",
                "sha256": "4e77deee475dd7c9b331724eb184789a9b7922c3a187c97ac8512f443d9873c2"
            },
            "downloads": -1,
            "filename": "teams_memory-0.1.0a0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d24bae9ce1853c63a6f24e2665a09479",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 45034,
            "upload_time": "2025-01-23T23:40:40",
            "upload_time_iso_8601": "2025-01-23T23:40:40.142992Z",
            "url": "https://files.pythonhosted.org/packages/7d/d6/74085c34e8a9777ea4c7b231d0cf42f038d68dd582be33562e70b73a4656/teams_memory-0.1.0a0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c191dbea0e43bb05d6a45d8a3b921dc67b12ec15e591294366b942cebe47b219",
                "md5": "5be9bd2c757c9f8c7e553d68f6f24343",
                "sha256": "e9494863fd6630a8c2be24aae198e3b627206d4fed1b5dacd8601cf167c3df65"
            },
            "downloads": -1,
            "filename": "teams_memory-0.1.0a0.tar.gz",
            "has_sig": false,
            "md5_digest": "5be9bd2c757c9f8c7e553d68f6f24343",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 29337,
            "upload_time": "2025-01-23T23:40:42",
            "upload_time_iso_8601": "2025-01-23T23:40:42.173734Z",
            "url": "https://files.pythonhosted.org/packages/c1/91/dbea0e43bb05d6a45d8a3b921dc67b12ec15e591294366b942cebe47b219/teams_memory-0.1.0a0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-23 23:40:42",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "teams-memory"
}
        
Elapsed time: 0.43780s