AI Policy
- AI Policy - Server Configuration
This document details the server configuration parameters relating to the implementation and enforcement of the AI Policy on our MediaWiki platform. It is intended for system administrators and developers responsible for maintaining the server infrastructure. Understanding these configurations is crucial for ensuring compliance and optimal performance. This policy governs the use of AI-powered tools interacting with the wiki, including but not limited to content generation, moderation, and search enhancements.
Overview
The AI Policy aims to balance the benefits of AI integration with the need to maintain content quality, accuracy, and user trust. This requires specific server-side configurations to control AI access, monitor usage, and enforce limitations. These configurations interact with the main wiki interface and affect the help system. The underlying PHP code is central to the implementation.
Core Configuration Parameters
The following table outlines the core configuration parameters that govern AI interaction with the MediaWiki server. These are defined within the `LocalSettings.php` file and relevant extension configurations. These settings are configured through Special:Configure.
Parameter | Description | Default Value | Current Value |
---|---|---|---|
`$wgAIPolicyEnabled` | Enables or disables the AI Policy enforcement. | `true` | `true` |
`$wgAIAccessControlList` | Defines a list of authorized IP addresses or ranges allowed to access AI-powered features. | `127.0.0.1` | `127.0.0.1, 192.168.1.0/24` |
`$wgAIContentReviewThreshold` | The minimum confidence score required for AI-generated content to pass initial review. | `0.8` | `0.85` |
`$wgAILoggingEnabled` | Enables logging of all AI interactions for auditing and monitoring. | `true` | `true` |
`$wgAIModerationLevel` | Defines the level of AI moderation applied to user-submitted content. (Low, Medium, High) | `Medium` | `High` |
Hardware Requirements
To effectively run and monitor AI-related processes, the server requires specific hardware capabilities. The following table details the minimum and recommended hardware specifications. These specifications are vital for the server administration team.
Component | Minimum Specification | Recommended Specification |
---|---|---|
CPU | Intel Xeon E5-2660 v4 (or equivalent) | Intel Xeon Gold 6248R (or equivalent) |
RAM | 32 GB DDR4 ECC | 64 GB DDR4 ECC |
Storage | 500 GB SSD | 1 TB NVMe SSD |
GPU | NVIDIA Tesla T4 | NVIDIA Tesla V100 |
Network | 1 Gbps Ethernet | 10 Gbps Ethernet |
Software Stack & Dependencies
The AI Policy implementation relies on a specific software stack and dependencies. These are managed via Semantic MediaWiki and related extensions.
Software Component | Version | Purpose |
---|---|---|
MediaWiki | 1.40 | Core Wiki Platform |
PHP | 8.1 | Server-Side Scripting Language |
MariaDB | 10.6 | Database Management System |
Python | 3.9 | AI Model Execution Environment |
TensorFlow | 2.10 | Machine Learning Framework |
NLTK | 3.7 | Natural Language Toolkit |
Logging and Monitoring
Comprehensive logging and monitoring are essential for tracking AI usage, identifying potential issues, and ensuring policy compliance. Logs are stored in `/var/log/mediawiki/ai/`. We use Special:Log extensively.
- **AI Access Logs:** Records all attempts to access AI-powered features, including IP addresses, timestamps, and success/failure status.
- **Content Review Logs:** Logs all content submitted for AI review, along with the confidence score and any moderation actions taken.
- **Performance Logs:** Tracks the performance of AI models, including processing time and resource utilization.
- **Error Logs:** Records any errors encountered during AI processing.
These logs are regularly analyzed by the security team to detect anomalies and ensure the integrity of the system. The API usage is also monitored.
Security Considerations
- **Access Control:** Restrict access to AI-powered features to authorized IP addresses and users.
- **Data Encryption:** Encrypt all sensitive data used by AI models.
- **Regular Audits:** Conduct regular security audits to identify and address vulnerabilities.
- **Input Validation:** Implement robust input validation to prevent malicious attacks.
- **Rate Limiting:** Implement rate limiting to prevent abuse of AI resources. See Extension:RateLimit documentation.
Future Enhancements
Planned future enhancements include:
- Integration with more advanced AI models.
- Automated content moderation based on AI analysis.
- Personalized content recommendations powered by AI.
- Improved logging and monitoring capabilities. These are tracked via Project:AI Enhancements.
Special:Search/AI Policy
Help:AI Policy
Manual:Configuration
Extension:Semantic MediaWiki
API:Main page
Special:Configure
Main Page
Help:Contents
PHP
Server administration
Semantic MediaWiki
Security team
Special:Log
Extension:RateLimit
Project:AI Enhancements
Manual:Upgrading
Special:ListUsers
Special:Statistics
Help:Editing
Manual:FAQ
Intel-Based Server Configurations
Configuration | Specifications | Benchmark |
---|---|---|
Core i7-6700K/7700 Server | 64 GB DDR4, NVMe SSD 2 x 512 GB | CPU Benchmark: 8046 |
Core i7-8700 Server | 64 GB DDR4, NVMe SSD 2x1 TB | CPU Benchmark: 13124 |
Core i9-9900K Server | 128 GB DDR4, NVMe SSD 2 x 1 TB | CPU Benchmark: 49969 |
Core i9-13900 Server (64GB) | 64 GB RAM, 2x2 TB NVMe SSD | |
Core i9-13900 Server (128GB) | 128 GB RAM, 2x2 TB NVMe SSD | |
Core i5-13500 Server (64GB) | 64 GB RAM, 2x500 GB NVMe SSD | |
Core i5-13500 Server (128GB) | 128 GB RAM, 2x500 GB NVMe SSD | |
Core i5-13500 Workstation | 64 GB DDR5 RAM, 2 NVMe SSD, NVIDIA RTX 4000 |
AMD-Based Server Configurations
Configuration | Specifications | Benchmark |
---|---|---|
Ryzen 5 3600 Server | 64 GB RAM, 2x480 GB NVMe | CPU Benchmark: 17849 |
Ryzen 7 7700 Server | 64 GB DDR5 RAM, 2x1 TB NVMe | CPU Benchmark: 35224 |
Ryzen 9 5950X Server | 128 GB RAM, 2x4 TB NVMe | CPU Benchmark: 46045 |
Ryzen 9 7950X Server | 128 GB DDR5 ECC, 2x2 TB NVMe | CPU Benchmark: 63561 |
EPYC 7502P Server (128GB/1TB) | 128 GB RAM, 1 TB NVMe | CPU Benchmark: 48021 |
EPYC 7502P Server (128GB/2TB) | 128 GB RAM, 2 TB NVMe | CPU Benchmark: 48021 |
EPYC 7502P Server (128GB/4TB) | 128 GB RAM, 2x2 TB NVMe | CPU Benchmark: 48021 |
EPYC 7502P Server (256GB/1TB) | 256 GB RAM, 1 TB NVMe | CPU Benchmark: 48021 |
EPYC 7502P Server (256GB/4TB) | 256 GB RAM, 2x2 TB NVMe | CPU Benchmark: 48021 |
EPYC 9454P Server | 256 GB RAM, 2x2 TB NVMe |
Order Your Dedicated Server
Configure and order your ideal server configuration
Need Assistance?
- Telegram: @powervps Servers at a discounted price
⚠️ *Note: All benchmark scores are approximate and may vary based on configuration. Server availability subject to stock.* ⚠️