Skip to content

LLMShield v2.1.0 - Enhanced Provider Support and PII Allowlist

Latest

Choose a tag to compare

@AdityaDedhia AdityaDedhia released this 05 Mar 04:45
· 4 commits to main since this release

This release adds three new LLM providers and an allowlist API for fine-grained PII control.

View this release on PyPI.

New Providers

  • Google GenAI - Full support for Gemini models, including function calls and tool results
  • Cohere - Support for Cohere chat API with tool call uncloaking
  • xAI - Support for xAI/Grok SDK response formats

New Features

  • Allowlist API - Exclude specific terms from PII detection via LLMShield(allowlist=["Alexa"]) or per-call with shield.ask(allowlist=["Acme"])
  • Python 3.14 Support - Tested and verified across Python 3.12, 3.13, and 3.14

Improvements

  • Test Suite Overhaul - Deduplicated and added parameterised tests across all modules.
  • CI Modernisation - Upgraded all workflows to uv for development.