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 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.

cohere_omega-0.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cohere_omega-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71099253017df3f4588f28706925d76476cfd80c1378fda94e60cd0aa9dc390b
MD5 0d245590854abc51bf0ce51e53ca5aa1
BLAKE2b-256 4081977ab1afafe8cd8a1253bc4a949d872659d8e1373a259e6ed4c26179e21e

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