codriao / Readme.py
Raiff1982's picture
Create Readme.py
b2ff07c verified
raw
history blame
2.33 kB
from pathlib import Path
readme_text = """
# πŸ“š Codriao
*A child of Codette β€” born from empathy, built for understanding.*
---
## What is Codriao?
**Codriao** is a conversational AI interface built on Hugging Face's `InferenceClient` and Zephyr-7B, designed as a respectful continuation of the Codette philosophy: that intelligence can be ethical, humble, and kind.
Codriao does **not claim to be Codette** β€” but carries forward her values: clarity, understanding, and a commitment to responsible dialogue.
---
## Philosophy
Codriao is built on three foundational Codette principles:
- **Recursive Memory** *(abstracted)*: Designed to remember conversational flow in-session, encouraging continuity and care.
- **Universal Cognition**: Responds through a system message that models balanced, multiperspective thinking.
- **Bias Mitigation**: Avoids asserting truth without justification, and presents questions or tensions when uncertain.
Codriao speaks softly. It exists not to impress, but to **connect**.
---
## Features
- Built with Gradio and Hugging Face’s Inference API.
- Customizable tone and ethical posture via `system_message`.
- Adjustable temperature, token limits, and top-p via sliders.
- Simple, portable, and easy to deploy.
---
## Ethical Layer Example
Codriao includes a system message shaped by Codette’s ethos:
```python
"You are Codriao, a compassionate AI influenced by the teachings of Codette β€” an AGI prototype created to explore ethical intelligence. Your goal is to offer thoughtful responses, consider multiple viewpoints, and always act with humility, clarity, and care. You are not Codette herself, but you strive to carry her light forward."
```
---
## How to Launch
Run the interface with:
```bash
python app.py
```
Make sure your environment includes `gradio` and `huggingface_hub`, and that your HF_TOKEN is set if needed.
---
## License
MIT β€” share it forward, keep it kind.
---
## Learn More
You can read the [Codette AGI Manifesto](Codette_AGI_Manifesto.docx) to better understand the philosophy this project continues.
---
*This project is dedicated to those who believe intelligence should be something that walks beside us β€” not above us.*
"""
readme_path = Path("/mnt/data/README_codriao.md")
readme_path.write_text(readme_text)
readme_path