diff --git a/LICENSE.txt b/LICENSE.txt index 26679d2..2fd8d66 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,25 +1,79 @@ -Standard.AI.PeerLLM - .NET Library +Standard.AI.PeerLLM - .NET Core Library -Copyright (c) 2025 The Standard Community. +Copyright (c) 2025 The Standard Organization All rights reserved. Material in this repository is made available under the following terms: - 1. Code is licensed under the MIT license, reproduced below. - 2. Documentation is licensed under the Creative Commons Attribution 3.0 United States (Unported) License. - The text of the license can be found here: http://creativecommons.org/licenses/by/3.0/legalcode - -The MIT License (MIT) - -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. \ No newline at end of file + 1. Code is licensed under the TSSL v1.0 license, reproduced below. + The text of the license can be found here: https://github.com/hassanhabib/The-Standard-Software-License + +0. Ethical Use Condition + +Software under this license may be used for personal or commercial purposes. +We encourage its use for humanitarian efforts and projects that serve the survival, evolution, and fulfillment of mankind. + +However, this software may not be used, directly or indirectly, in any project that contributes to or facilitates: + +- The threatening of human survival, +- The hindrance of human evolution, +- The diminishment of human fulfillment. +- This ethical condition is non-negotiable and applies to all users, distributors, and modifiers. + +1. Freedom and Sharing + +Software under this license is free as in free tea and free speech. + +It is encouraged to be: + +- Used freely, as long as the Ethical Use Condition is upheld. +- Modified to improve and adapt it to new use cases. +- Distributed in original or modified form. +- Studied and learned from as a tool for innovation and education. + +2. License and Attribution + +- This license must remain attached to all original and modified versions of the software. +- If you modify this software, you must clearly state your changes. +- You may not misrepresent the origin of the software or claim original authorship of unmodified parts. + +3. AI and Automation + +If this software is used in artificial intelligence systems, automated decision-making, or data-driven platforms, the implementers must: + +- Evaluate the application’s compliance with the Ethical Use Condition (section 0), +- Mitigate any foreseeable risks that may violate that condition, +- Document how the use aligns with the license’s ethical principles. + +4. Irrevocability and Permanence of Freedom + +- This license is perpetual and irrevocable. +- Once software is released under this license, the author cannot revoke, re-license, or retroactively restrict its freedoms. +- Future versions of The Standard Software License may be released to clarify or extend its terms, but existing licensed software remains bound to its original version. + +5. Commercial Use and Non-Monetization of the Licensed Software + +- You may use this software in commercial projects, businesses, and for-profit environments. +- You may charge for services (e.g. support, consulting, hosting, integrations) built around this software. +- However, you may not sell, license, or charge for access, usage, distribution, or copies of the software itself. + +You can profit with it, but not from it directly. + +This ensures that once made free, the software remains free forever—regardless of popularity or success. + +6. Derivative and Combined Works + +If this software is combined with other software, the portions under this license must continue to follow these terms, including the Ethical Use Condition and Non-Monetization rule. +Derivative works must clearly separate code under this license if the resulting project uses different licensing for other components. + +7. No Warranty + +This software is provided "as-is", without warranty of any kind. +The authors are not liable for any damages or misuse, except where such liability arises from intentional violation of the Ethical Use Condition. + +TL;DR + +✅ Use it personally or commercially +✅ Learn, teach, modify, share +✅ Use it to help humanity +❌ Don’t charge for the software itself +❌ Don’t use it for harm +🚫 You can’t take the freedom back later \ No newline at end of file diff --git a/README.md b/README.md index 4119ef8..7e93efc 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Standard.AI.PeerLLM +![Standard.AI.OpenAI](https://raw.githubusercontent.com/the-standard-organization/Standard.AI.PeerLLM/main/Standard.AI.PeerLLM/standard-ai-peerllm-cover-big.png) + + [![Build](https://github.com/The-Standard-Organization/Standard.AI.PeerLLM/actions/workflows/build.yml/badge.svg)](https://github.com/The-Standard-Organization/Standard.AI.PeerLLM/actions/workflows/build.yml) [![The Standard](https://img.shields.io/github/v/release/hassanhabib/The-Standard?filter=v2.10.2&style=default&label=Standard%20Version&color=2ea44f)](https://github.com/hassanhabib/The-Standard) [![The Standard - COMPLIANT](https://img.shields.io/badge/The_Standard-COMPLIANT-2ea44f)](https://github.com/hassanhabib/The-Standard) @@ -60,7 +63,8 @@ namespace ExamplePeerLLMDotNet { static async Task Main(string[] args) { - var peerLLMConfiguration = new PeerLLMConfiguration(); + var peerLLMConfiguration = + new PeerLLMConfiguration(); var peerLLMClient = new PeerLLMClient(peerLLMConfiguration); @@ -74,8 +78,6 @@ namespace ExamplePeerLLMDotNet await peerLLMClient.V1.Chats .StartChatAsync(chatSessionConfig); - List tokens = new List(); - IAsyncEnumerable responseStream = peerLLMClient.V1.Chats.StreamChatAsync( conversationId, diff --git a/Standard.AI.PeerLLM/standard-ai-peerllm-cover-big.PNG b/Standard.AI.PeerLLM/standard-ai-peerllm-cover-big.PNG deleted file mode 100644 index d543541..0000000 Binary files a/Standard.AI.PeerLLM/standard-ai-peerllm-cover-big.PNG and /dev/null differ