Ai-microcore

Latest version: v3.9.0

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

Scan your dependencies

Page 1 of 6

3.9.0

Changelog
- Config.display(): Improved masking of private keys.
- Config.display(): Resolved issue 18 where the google_vertex_response_validation field appeared in config.describe for non-Google APIs.
- Config.display(): Fixed an issue where fields loaded into ENV that differ from defaults were not displayed.
- get_bool_from_env(): Corrected to ensure default values are not converted to boolean.
- Added a metrics context manager.
- Python code execution: Added max_execution_time to the Timeout error text in python.execute() to display maximum execution time.
- Updated and extended requirements, including chroma_db and anthropic.
- OpenAI API: Enhanced error handling.
- Transformers: Added support for OpenAI-style parameters (n, seed, stop).
- Fix 22: Corrected an issue where responses from the Anthropic API had a "content" property that overrides the default one provided by microcore in the LLMResponse class.
- configure(): Updated to accept a configuration file name as its sole argument.
- Enhanced capability to configure properties with list or dict types from JSON-serialized values in environment variables or configuration files.
- Enabled the configuration of callables as strings using the format <module_name>.<func_name>.
- The following configuration fields can now be loaded from environment variables or configuration files: CHAT_MODE, GOOGLE_VERTEX_GCLOUD_AUTH, GOOGLE_GEMINI_SAFETY_SETTINGS, LLM_DEFAULT_ARGS, INFERENCE_FUNC, STORAGE_DEFAULT_FILE_EXT, EMBEDDING_DB_FOLDER, MAX_CONCURRENT_TASKS.
- Additional documentation comments have been added.
- Additional tests have been added.

**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.8.0...v3.9.0

3.8.0

- Python code execution utils added

**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.7.0...v3.8.0

3.7.0

**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.6.1...v3.7.0

3.6.1

**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.6.0...v3.6.1

3.6.0

**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.5.0...v3.6.0

3.5.0

Parallel inference functionality added

**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.4.0...v3.5.0

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.