diff --git a/apps/cortensor-truth-bot/LICENSE.md b/apps/cortensor-truth-bot/LICENSE.md new file mode 100644 index 0000000..63082f4 --- /dev/null +++ b/apps/cortensor-truth-bot/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Cortensor Community + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/apps/cortensor-truth-bot/PROJECTS.yml b/apps/cortensor-truth-bot/PROJECTS.yml new file mode 100644 index 0000000..0625677 --- /dev/null +++ b/apps/cortensor-truth-bot/PROJECTS.yml @@ -0,0 +1,9 @@ +- name: cortensor-truth-bot + category: apps + owner: "@sanzo_sadik" + collaborators: + - "@sanzo_sadik" + status: active + created: 2025-06-06 + version: v0.2.0 + tags: [telegram, llm, bot] diff --git a/apps/cortensor-truth-bot/README.md b/apps/cortensor-truth-bot/README.md new file mode 100644 index 0000000..5e9d2c6 --- /dev/null +++ b/apps/cortensor-truth-bot/README.md @@ -0,0 +1,23 @@ +# Ask Me Anything Bot + +A lightweight Telegram bot that connects to Cortensor’s inference API and answers user questions in natural language. + +## Features +- Supports chat-based Q&A with Cortensor +- Optional mode: "Explain like I’m 5" +- Contextual answer formatting (bullet points, markdown) + +## Setup + +1. Clone the repo +2. Set environment variables: + - `BOT_TOKEN` + - `CORTENSOR_API_KEY` +3. Run `python bot.py` + +## Maintainer +@cortensor-ryuma (Discord) + +## License +MIT + diff --git a/apps/cortensor-truth-bot/RELEASE.md b/apps/cortensor-truth-bot/RELEASE.md new file mode 100644 index 0000000..eb37572 --- /dev/null +++ b/apps/cortensor-truth-bot/RELEASE.md @@ -0,0 +1,11 @@ +# Release Notes – Hello World Bot + +## v0.2.0 – 2025-06-10 +- Added “Explain like I’m 5” mode +- Improved error handling and retry mechanism +- Updated for DevNet6 compatibility + +## v0.1.0 – 2025-06-06 +- Initial Telegram bot release +- Connected to Cortensor inference API +- Basic Q&A prompt handler diff --git a/apps/cortensor-truth-bot/STATUS.md b/apps/cortensor-truth-bot/STATUS.md new file mode 100644 index 0000000..51def9e --- /dev/null +++ b/apps/cortensor-truth-bot/STATUS.md @@ -0,0 +1,23 @@ +# Project Status – Hello World Bot + +**Maintainer:** @cortensor-ryuma +**Current Version:** v0.2.0 +**Status:** Active + +--- + +## ✅ Current State + +- Live in testing environment +- Answering ~100 prompts/day +- Handles prompt retries gracefully + +## 🔧 Next Steps + +- Add admin logging dashboard +- Allow per-user history memory (optional session) + +## 🐞 Known Issues + +- Occasional timeouts on long completions +- Message formatting breaks on multiline output diff --git a/apps/cortensor-truth-bot/src/bot.py b/apps/cortensor-truth-bot/src/bot.py new file mode 100644 index 0000000..8e2f9bd --- /dev/null +++ b/apps/cortensor-truth-bot/src/bot.py @@ -0,0 +1,5 @@ +def main(): + print("Bot is running...") + +if __name__ == "__main__": + main()