Releases: Copyleaks/Python-Plagiarism-Checker
v5.1.0
What's New:
-
Added Support for AI Image Detection API: Seamlessly integrate the powerful Copyleaks AI Image Detection service into your applications.
-
New Models Introduced: To support this functionality, the following new models have been added, providing a clear structure for requests and responses:
Response Models (
copyleaks\models\ImageDetection\Responses):CopyleaksImageShapeModel.pyCopyleaksImageMetadataModel.pyCopyleaksAiImageDetectionSummaryModel.pyCopyleaksAiImageDetectionScannedDocumentModel.pyCopyleaksAiImageDetectionResultModel.pyCopyleaksAiImageDetectionResponseModel.pyCopyleaksAiImageDetectionImageInfoModel.py
Request Models (
copyleaks\models\ImageDetection\Requests):CopyleaksAiImageDetectionRequestModel.py
How to Use:
Getting started with AI Image Detection is straightforward:
- Example Usage: Explore the new
example_function\ai_image_detection_example.pyfor a practical demonstration of how to initiate an AI image detection scan and interpret the results. - Updated Documentation: The
README.mdfile has been updated with a dedicated section and example for AI Image Detection, making it easier to integrate into your projects.
v5.0.0
- The AI Code Detection feature has been removed from our SDKs.
- In addition to this change, we've updated the README file. It now offers enhanced documentation, including detailed descriptions and clear steps, to help you more effectively explore and use our SDK.
v4.6.0
Deprecation Notice
This release includes a warning message that will pop up for users who use the AI CODE DETECTION that it will be discontinued.
AI Code Detection will be discontinued on August 29, 2025.
Please remove AI code detection integrations before the sunset date.
v4.5.1
Added deprecation warning for AI Code detection.
"AI Code Detection will be discontinued on August 29, 2025.
Please remove AI code detection integrations before the sunset date."
when updating the package version or installing the package.
v4.5.0
This release contains our new Text Moderation Scanning feature, which provides real-time content moderation capabilities to help you maintain safe and appropriate content across your platform. The API automatically scans and flags potentially harmful content across multiple categories, enabling you to protect your users and uphold community standards.
Usage Example:
Check example.py file for example on sending request to the Text Moderation API and working with the relevant models.
Key Files and Models:
- TextModerationClient.py
- CopyleaksTextModerationRequestModel.py(for sending requests to the Text Moderation API)
- CopyleaksTextModerationResponseModel.py(for deserializing API responses)
Helper Models for the main response model:
- TextModerationsLegend.py
- TextModerationScannedDocument.py
- TextModerationChars.py
- Text.py
- ModerationsModel.py
v4.4.0
Webhooks Model Integration
All Webhook Models Added: We have successfully integrated all models corresponding to the various webhook events you can receive from Copyleaks servers. This includes models for:
- completed: Indicates a scan that has successfully finished.
- error: Represents a scan that ended with an error.
- creditsChecked: Provides information about the credit cost estimation for a scan.
- indexed: Signifies that a submitted file has been indexed into Copyleaks' internal database.
- new-result: Reports newly found results instantly, providing a real-time stream of updates.
- export complete: Triggers after an export request completes;
These models allow users to effectively handle and utilize data received from Copyleaks, enhancing the overall functionality and adaptability of our platform.
Demo Update
- Server Listening to Webhooks: Our demo now includes a server component designed to listen for incoming webhooks from Copyleaks. This practical example demonstrates how to handle these in real-time, serving as a guide for your own implementations.
- Deserialization Guide: Learn how to employ Copyleaks classes to deserialize incoming webhook data efficiently. This new capability ensures you can easily parse and manipulate the data received, simplifying integration and improving data management.
v4.3.0
v4.2.2
v4.2.0
Release Notes:
- AI detection - adding support for ai detection functions to detect AI generated text in both natural language and source code.
- Writing Assistant - adding support for writing assistant functions to help assess the quality of text.
- New property
properties.filters.allowSameDomain - when set to true it will allow results from the same domain as the submitted url.