Skip to main content

OmegaEngine governance integration for cohere-omega

Project description

OmegaEngine Logo

cohere-omega

Cohere Integration with OmegaEngine Governance

PyPI License


✨ Features

  • 🔍 RAG Governance — Secure retrieval-augmented generation
  • 📊 Rerank Validation — Govern document reranking
  • 🛡️ Embed Safety — Validate embedding inputs
  • 📈 Full Audit — Log all Cohere API calls
  • 🏢 Enterprise Ready — SSO, RBAC, and audit logging

📦 Installation

pip install cohere-omega

🚀 Quick Start

from cohere_omega import Client

co = Client(
    cohere_api_key="your-cohere-key",
    omega_api_key="your-omega-key",
    policy_id="cohere_policy",
)

# Governed chat
response = co.chat(
    message="What are the key findings?",
    documents=[...],
)

print(response.text)
print(response.omega_decision)

🔍 Governed RAG

# Rerank with governance
results = co.rerank(
    query="quarterly earnings",
    documents=[...],
    omega_validate_docs=True,  # Validate documents
)

for doc in results.results:
    if doc.omega_approved:
        use_document(doc)

📄 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 Distribution

cohere_omega-0.3.0.tar.gz (561.1 kB view details)

Uploaded Source

Built Distribution

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

cohere_omega-0.3.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file cohere_omega-0.3.0.tar.gz.

File metadata

  • Download URL: cohere_omega-0.3.0.tar.gz
  • Upload date:
  • Size: 561.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for cohere_omega-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4adea9a66d57fb40524f27a9bd34fde6e9fce5e39e9b3cc62f5746ee52f6522c
MD5 fbd8404124e0a00bc9cdc92d786a24d9
BLAKE2b-256 1b1a00b5dd40178c79e9ee1df61d64d7bca0c95805f078713a7fcf86ad93f474

See more details on using hashes here.

File details

Details for the file cohere_omega-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: cohere_omega-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for cohere_omega-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8962594cf438e5dfb0bb05f90f1b82ef5c37e4c76b3e6e55677bd443c4feb4ee
MD5 80d485e777f78f5ed2fcc5966b277ce1
BLAKE2b-256 6133ad2cee9caebd5b8718a3e120be52f2853775a14c9c3cc10d9eb187c21920

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