Skip to main content

OmegaEngine governance integration for mistral-omega

Project description

OmegaEngine Logo

mistral-omega

Mistral AI Integration with OmegaEngine Governance

PyPI License


✨ Features

  • 🇪🇺 European AI Governance — GDPR-compliant by design
  • 🤖 Drop-in Replacement — Same API as Mistral SDK
  • 🛡️ Pre-flight & Post-flight — Full request/response governance
  • 📈 Audit Trail — Complete logging for compliance
  • Streaming — Governed streaming responses

📦 Installation

pip install mistral-omega

🚀 Quick Start

from mistral_omega import Mistral

client = Mistral(
    mistral_api_key="your-mistral-key",
    omega_api_key="your-omega-key",
    policy_id="mistral_policy",
)

response = client.chat.complete(
    model="mistral-large-latest",
    messages=[{"role": "user", "content": "Analyze this contract"}]
)

print(response.choices[0].message.content)
print(response.omega_decision)

🇪🇺 GDPR Compliance

client = Mistral(
    omega_api_key="...",
    gdpr_mode=True,  # Enable GDPR-specific policies
    data_residency="eu",
)

# All data stays in EU, fully audited

📄 License

Licensed under the Apache License 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mistral_omega-0.1.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file mistral_omega-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mistral_omega-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for mistral_omega-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac9214d56bd92e196c7aba0b10e2e8a0ace601a2c5a525512116fdd7d748b7ef
MD5 b955218d5b8916bee724ab283dc53442
BLAKE2b-256 2ecd1ddda4fed100afef9a4a5b5c171a9921c150ca9a0aaea6132726a4f0b4e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page