Skip to main content

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.

Release files for cohere-omega 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cohere-omega 0.3.0
File Size Uploaded
cohere_omega-0.3.0.tar.gz 561.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cohere-omega 0.3.0
File Interpreter ABI Platform
cohere_omega-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 571.7 kB

Release files / cohere_omega-0.3.0.tar.gz

Download URL cohere_omega-0.3.0.tar.gz
Size 561.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4adea9a66d57fb40524f27a9bd34fde6e9fce5e39e9b3cc62f5746ee52f6522c
BLAKE2b-256 checksum
How to use checksums
1b1a00b5dd40178c79e9ee1df61d64d7bca0c95805f078713a7fcf86ad93f474
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / cohere_omega-0.3.0-py3-none-any.whl

Download URL cohere_omega-0.3.0-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8962594cf438e5dfb0bb05f90f1b82ef5c37e4c76b3e6e55677bd443c4feb4ee
BLAKE2b-256 checksum
How to use checksums
6133ad2cee9caebd5b8718a3e120be52f2853775a14c9c3cc10d9eb187c21920
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page