Ai-microcore

Latest version: v3.11.1

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 7

0.7.12

0.7.11

0.7.10

storage changes:
- copy() reworked
- list_files() implemented,
- clean() marked as deprecated
- delete() now also deletes directories, silent if no files, may accept list

0.7.9

Enhancements

- **Storage Improvements:**
- Removed default `.txt` extension for storage. Now, files can be stored without automatically appending the `.txt` extension.
- Implemented `storage.copy` function.
- Added default value support in `storage.read_json` for better error handling.
- Introduced `storage.file_link(fn)` for printing file links to console.
- Added `backup_existing` option to file storage functions, which is now used by default when `rewrite_existing` is set to `True`.
- Implemented `storage.exists()` to check for file existence and renamed `storage.storage_path` to `storage.path` for clarity.

- **Configuration and Parsing:**
- Added a new `config()` function and renamed the config module to `configuration` for better semantics.
- Enhanced `utils.parse` with validation capabilities.

- **Code Quality:**

- Added tests to cover new functionality and ensure reliability.

- **Prompt Functionality:**
- Introduced a prompt function that accepts jinja2 template as string and template variables as additional arguments/

Bug Fixes

- Resolved issue 6 related to parsing JSON markdown wrapper.

0.7.2

Changelog
- ChromaDB 0.4.16 support (bugfix related to api change)
- ChromaDB: microcore.texts.get_all() bugfix not all records returned

- Flask webapp chat example added

0.7.0

Changelog

- OpenAI package v1.0 support
- Possibility to specify embedding db function in configuration
- Calling configs validtion when configuring
- Utils: improve model type detection, ignore case
- Logging improvements: print azure: prefix, initialize colorama autoreset
- Message_types: bugfix not using overriden role attribute
- Rename default_chat_message_role to DEFAULT_MESSAGE_ROLE (const)

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.