OmegaEngine governance integration for cohere-omega
Project description
cohere-omega
Cohere Integration with OmegaEngine Governance
✨ 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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e58d33ae8216fa509c09d3d72fc64e791fdb2f7b0d19657275c67fdbf67e995
|
|
| MD5 |
12c9b4105a0b4ccea4ec2bc823e60a20
|
|
| BLAKE2b-256 |
d22ae642881efbfed9ce509487e489fbfe7736f5e4dc2736d181cdf353d768a1
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f5789a3b40ca77f9e931301361dd4d4a9c154bc967a85c673a861438a054793
|
|
| MD5 |
37f3d9c41eaafd5cc105a6e5d6058317
|
|
| BLAKE2b-256 |
f65ca995ab4c54b750704a9ad2ddf55b6694e06a451b7ecf05c46542132d9ebd
|