Server rental store

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.

⚠️ *Note: All benchmark scores are approximate and may vary based on configuration. Server availability subject to stock.* ⚠️