Metadata-Version: 2.4
Name: cohere-omega
Version: 0.1.0
Summary: OmegaEngine governance integration for cohere-omega
Project-URL: Homepage, https://omegaengine.ai
Project-URL: Repository, https://github.com/TheArkhitect/Omegaengine
Author-email: OmegaEngine <team@omegaengine.ai>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: ai-safety,governance,llm,omegaengine
Requires-Python: >=3.8
Requires-Dist: httpx>=0.24.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == 'dev'
Description-Content-Type: text/markdown

<p align="center">
  <img src="logo.png" alt="OmegaEngine Logo" width="200" height="200">
</p>

<h1 align="center">cohere-omega</h1>

<p align="center">
  <strong>Cohere Integration with OmegaEngine Governance</strong>
</p>

<p align="center">
  <a href="https://pypi.org/project/cohere-omega/"><img src="https://img.shields.io/pypi/v/cohere-omega?color=blue&label=PyPI" alt="PyPI"></a>
  <a href="https://github.com/TheArkhitect/Omegaengine/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache%202.0-blue" alt="License"></a>
</p>

---

## ✨ 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

```bash
pip install cohere-omega
```

---

## 🚀 Quick Start

```python
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

```python
# 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](LICENSE).
