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.2.0.tar.gz (560.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.2.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cohere_omega-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9e58d33ae8216fa509c09d3d72fc64e791fdb2f7b0d19657275c67fdbf67e995
MD5 12c9b4105a0b4ccea4ec2bc823e60a20
BLAKE2b-256 d22ae642881efbfed9ce509487e489fbfe7736f5e4dc2736d181cdf353d768a1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for cohere_omega-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f5789a3b40ca77f9e931301361dd4d4a9c154bc967a85c673a861438a054793
MD5 37f3d9c41eaafd5cc105a6e5d6058317
BLAKE2b-256 f65ca995ab4c54b750704a9ad2ddf55b6694e06a451b7ecf05c46542132d9ebd

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