شعار Wikipedia Error Handling

Wikipedia Error Handling

المجتمع
fuzheado
wikipedia-error-handling

Handle HTTP errors, rate limits, and API failures across Wikimedia services — retry/backoff patterns, error formats, and recovery for the Action API, REST, SPARQL, Lift Wing, and EventStreams

نظرة عامة

الناشرfuzheado
المستودعWikipedia-AI-Skills
اسم المهارةwikipedia-error-handling
النجوم
27
التفريعات
10
الملفات المرفقة
2
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 2

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها fuzheado على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Wikipedia Error Handling في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/wikipedia-error-handling
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fuzheado/Wikipedia-AI-Skills.git /tmp/Wikipedia-AI-Skills
mkdir -p .claude/skills
cp -r /tmp/Wikipedia-AI-Skills/.claude/skills/wikipedia-error-handling .claude/skills/wikipedia-error-handling
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Wikipedia Error Handling في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Wikipedia Error Handling تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Wikipedia Error Handling بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

⚠️ User-Agent required: All API calls below need a descriptive User-Agent header. See the wikimedia-api-access skill for the correct format and rate-limiting patterns.

💡 Related skills:

  • wikimedia-api-access — User-Agent format, base API endpoints, and general rate limiting patterns
  • wikimedia-ml-services — Lift Wing model errors (422, latency, model not found) — see Known Limitations section
  • wikimedia-eventstreams — SSE connection handling and canary event filtering
  • wikidata — SPARQL-specific rate limits and query optimization

Common workflows that combine multiple APIs are especially vulnerable to the errors documented here — a failure in one step can cascade through the entire pipeline.


Reference: HTTP Status Codes for Wikimedia APIs

CodeMeaningCommon CausesRecovery
200Success—Parse response body
301RedirectUsing http:// instead of https://Use HTTPS
400Bad RequestMissing or invalid parameters, malformed JSON bodyCheck parameter names and values against the API docs. For SPARQL: check query syntax.
403ForbiddenMissing or generic User-Agent (e.g., python-requests/2.x, curl/8.x)Set a descriptive User-Agent with contact info. See wikimedia-api-access.
404Not FoundWrong model name (Lift Wing), non-existent page/revision, wrong endpoint URLCheck the endpoint URL and model name against the API docs.
413Payload Too LargeSPARQL query too long for GET (URL length limit)Use POST with query in body. For wbgetentities: reduce batch size below 50.
422Unprocessable EntityLift Wing model rejects the input: parent_revision_missing on revision 1, missing required fieldSee model-specific error handling below
429Too Many RequestsRate limit exceeded — too many requests per second or per hourRead Retry-After header and wait. Implement backoff (see below).
500Internal Server ErrorTransient server-side failureRetry with backoff (max 3 attempts). If persistent, the API may be down.
502Bad GatewayUpstream service unavailable (common for SPARQL and Lift Wing)Wait and retry with exponential backoff. These are usually transient.
503Service UnavailableService overloaded or under maintenanceWait at least 30s before retrying. Check wikitech status.
504Gateway TimeoutQuery took too long (common for complex SPARQL queries or heavy ML models)Optimize the query, reduce batch size, or increase timeout.

SOP: Rate Limiting (429) — The Most Common Error

How Rate Limiting Works

Wikimedia enforces rate limits at two levels simultaneously — you can hit either limit independently:

ServiceAnonymous LimitAuthenticated LimitGranularity
Action API200 req/s (burst), 50 req/s (sustained)Higher for botsPer IP + User-Agent
REST APINo documented hard limit, but aggressive 429 enforcementSamePer IP + User-Agent
SPARQL (WDQS)1 query per ~second (variable), 60s processing per 60s windowSamePer User-Agent + IP pair
Lift Wing ML50,000 req/h, 15 req/s100,000 req/h, 100 req/s (OAuth)Per IP (anon) or token (auth)
EventStreamsNo rate limit (server pushes data)Same—

⚠️ The 2026 gateway rate-limit classes (see wikimedia-api-access): unidentified (IP only) 10 req/min, compliant UA only 200 req/min, authenticated (bot password + cookies) 2000 req/min, bot-flag/WMCS exempt. Authenticate to get the 2000/min class.

The Three Distinct 429 Flavors (diagnose before retrying)

"429" appears in three different places with three different fixes. Verified 2026-08-10 on a 518-file Commons upload batch:

FlavorWhere it appearsMeaningFix
Client rate limitHTTP 429 from api.php, Retry-After header, MediaWiki-style JSON error bodyGateway/classic limiter hit YOUR requestBack off per Retry-After, authenticate for the 2000/min class, slow the pace
Internal outbound fetchHTTP 200 body containing {"error":{"code":"http-bad-status","info":"There was a problem during the HTTP request: 429 Too Many Requests"}}The API call succeeded; MediaWiki's own backend fetch (e.g. action=upload&url= fetching the image URL) got 429'd upstreamDon't make MediaWiki fetch third-party URLs — fetch client-side and send the bytes (e.g. source_filename instead of source_url)
Third-party CDNPlain HTTP 429 from the CDN (e.g. live.staticflickr.com) on YOUR direct downloadPer-IP window on the image CDN, unrelated to WikimediaPause; the window lasts ~60 min after the last 429 and probes can extend it — go fully quiet, then resume (see the flickr skill)

How to tell them apart: a requests-layer spy on requests.sessions.Session.send reveals the real HTTP status; the http-bad-status envelope inside a 200 response is the internal-fetch flavor. meta=userinfo&uiprop=ratelimits (authenticated) shows whether the account itself has any classic limits (hits/max/window, None = none apply).

The Universal Retry Pattern

python
import time
import requests

def api_call_with_retry(url, params=None, data=None, method="GET", max_retries=3):
    """Make an API call with exponential backoff on 429/5xx."""
    headers = {
        "User-Agent": "MyBot/1.0 (https://example.com; user@example.com) ProjectName"
    }
    
    for attempt in range(max_retries):
        if method == "GET":
            resp = requests.get(url, params=params, headers=headers, timeout=30)
        else:
            resp = requests.post(url, json=data, headers=headers, timeout=30)
        
        if resp.status_code == 200:
            return resp.json()
        
        if resp.status_code == 429:
            retry_after = int(resp.headers.get("Retry-After", 60))
            wait = retry_after * (2 ** attempt)  # Exponential backoff
            print(f"Rate limited. Waiting {wait}s (attempt {attempt+1}/{max_retries})")
            time.sleep(wait)
            continue
        
        if 500 <= resp.status_code < 600:
            wait = (2 ** attempt) * 5
            print(f"Server error {resp.status_code}. Retrying in {wait}s")
            time.sleep(wait)
            continue
        
        # 400, 403, 404, 422 — don't retry, fix the request
        resp.raise_for_status()
    
    raise Exception(f"API call failed after {max_retries} retries. Last status: {resp.status_code}")

Connection Reuse (Prevents Rate Limits)

python
# Good: reuse the same session (reuses TCP connections, reduces load)
session = requests.Session()
session.headers.update({
    "User-Agent": "MyBot/1.0 (https://example.com; user@example.com) ProjectName"
})

# Make many calls through the same session:
for item in items:
    resp = session.get(API_URL, params=params)
    # ...

Concurrent Workers and Burst Rate Limits

When scraping many language editions concurrently (e.g., fetching the same article from 300+ {lang}.wikipedia.org domains), the combined request rate can trigger 429s even though each individual session stays under the limit. This happens because Wikimedia enforces rate limits per IP, not per domain — hitting 300 different Wikipedia domains from one IP address still counts as one sustained stream.

Symptoms:

  • First 50–100 requests succeed, then a burst of 429s
  • Earlier requests in the batch succeed, later ones fail
  • The rate limit is triggered by sustained rate, not total requests

Quantify the budget before tuning workers. The gateway limits are per minute per client class (10 / 200 / 2000 req/min — see wikimedia-api-access), so work out the rate your concurrency actually produces: 6 unpaced workers sustain ~360/min (6 × 60) against a 200/min UA-only budget, while a 1s wave gate admitting 4 parallel requests is ~240/min. A handful of requests fired back-to-back return 200s, so a burst probe cannot tell you whether the sustained run is safe. And if 429s appear right after a caching or batching change, suspect a cache-key invalidation (batch composition is part of a URL-derived key) rather than a real traffic increase — see Cache the entity, not the batch in wikimedia-api-access.

Prevention strategies (in order of effectiveness):

  1. Reduce concurrent workers — 6 workers is safer than 12 for large jobs:

    python
    with concurrent.futures.ThreadPoolExecutor(max_workers=6) as executor:
        futures = {executor.submit(fetch, l, t): (l, t) for l, t in languages}
  2. Add jitter between batch submissions — Instead of submitting all futures at once, stagger them slightly:

    python
    import time, random
    futures = {}
    for i, (lang, title) in enumerate(languages):
        futures[executor.submit(fetch, lang, title)] = (lang, title)
        if i > 0 and i % 20 == 0:
            time.sleep(random.uniform(0.5, 1.5))  # brief pause every 20
  3. Cache aggressively — Many use cases involve re-checking the same articles. Cache results to disk so that re-runs (e.g., with different parameters) skip HTTP entirely. A simple {lang}:{title} → {response_text} JSON file works well for this.

Retry pattern for 429 with concurrent workers:

python
def fetch_with_retry(lang, title):
    """Fetch with exponential backoff on 429."""
    import time
    url = f"https://{lang}.wikipedia.org/api/rest_v1/page/summary/{title}"
    for attempt in range(4):
        resp = requests.get(url, headers=HEADERS, timeout=15)
        if resp.status_code == 200:
            return resp.json().get('extract')
        if resp.status_code == 429:
            retry_after = int(resp.headers.get('Retry-After', 2))
            time.sleep(retry_after + (2 ** attempt))  # backoff + Retry-After
            continue
        return None  # Other errors (404, etc.) are final
    return None

SPARQL-Specific Rate Limiting

The Wikidata SPARQL endpoint has its own stricter limits (see the wikidata skill for details). Key rules:

  • 60-second timeout per query (hard limit)
  • 1 query per ~second sustained (slower than other APIs)
  • 429 includes Retry-After header — respect it
  • 429 without Retry-After — wait at least 60 seconds
  • Use POST for long queries (URL length limit on GET)
python
def sparql_query(query, max_retries=3):
    """Execute a SPARQL query with WDQS-specific rate limit handling."""
    url = "https://query.wikidata.org/sparql"
    headers = {
        "User-Agent": "MyBot/1.0 (https://example.com; user@example.com) ProjectName",
        "Accept": "application/sparql-results+json",
    }
    
    for attempt in range(max_retries):
        # Use POST for long queries
        resp = requests.get(url, params={"format": "json", "query": query},
                          headers=headers, timeout=60)
        
        if resp.status_code == 200:
            return resp.json()
        
        if resp.status_code == 429:
            retry_after = int(resp.headers.get("Retry-After", 60))
            wait = max(retry_after, 10) * (2 ** attempt)
            print(f"SPARQL rate limited — waiting {wait}s")
            time.sleep(wait)
            continue
        
        if resp.status_code == 503:
            time.sleep(30 * (2 ** attempt))
            continue
        
        resp.raise_for_status()
    
    raise Exception("SPARQL query failed after retries")

SOP: User-Agent Errors (403)

Detection

python
# If you get a 403, the most common cause is a missing or generic User-Agent
if resp.status_code == 403:
    print("403 Forbidden — likely missing or generic User-Agent")
    print("Set a descriptive User-Agent: 'MyBot/1.0 (contact@example.com) ProjectName'")

Blocked User-Agent Strings

The following User-Agent strings are always blocked by Wikimedia:

  • python-requests/2.x (any version)
  • curl/8.x (any version)
  • Wget/1.x
  • Python-urllib/3.x
  • Java/1.x
  • Any empty or missing User-Agent header

Correct User-Agent Format

<client-name>/<version> (<contact-info>) <project-name>

Examples:

MyBot/1.0 (https://example.com; bot@example.com) CategoryAnalysis
WikipediaQualityChecker/2.1 (https://meta.wikimedia.org; user@example.com) ABTesting

See the wikimedia-api-access skill for full details.


SOP: Lift Wing ML Model Errors

Lift Wing models have model-specific error responses that are not covered by standard HTTP codes.

422: Parent Revision Missing (New Pages)

Applies to: revertrisk-language-agnostic, revertrisk-multilingual, revertrisk-wikidata

Cause: Brand-new pages (revision 1) have no parent revision for the revert-risk model to compare against.

Detection:

python
resp = requests.post(url, json=data, headers=headers, timeout=30)
if resp.status_code == 422:
    error = resp.json()
    if "parent_revision_missing" in str(error):
        print("Revision 1 cannot be scored by revert-risk models")
        # Fall back to articlequality model

Workaround: Use the articlequality model instead (it scores the revision itself, not the diff):

python
fallback_url = "https://api.wikimedia.org/service/lw/inference/v1/models/articlequality:predict"
fallback_data = {"rev_id": rev_id, "lang": "en"}

Note: The articlequality model has ~60s processing latency for brand-new revisions (see Known Limitations in wikimedia-ml-services).

422: Missing Required Field

Applies to: All Lift Wing models

Cause: Required field is missing from the request body (e.g., rev_id, lang, title).

Fix: Check the model's documented required fields. Common required fields by model:

ModelRequired Fields
revertrisk-language-agnosticrev_id (int), lang (string)
articlequalityrev_id (int), lang (string)
outlink-topic-modelpage_title (string), lang (string)
article-countrytitle (string — note: not page_title), lang (string)

404: Model Not Found

Cause: The model name in the URL is wrong, or the wiki code is wrong.

Common mistakes:

  • Using enwiki-articlequality instead of the modern articlequality (note: the modern model is just articlequality, not articlequality-language-agnostic)
  • Using a wiki code that doesn't have this model deployed (check the model list)
  • Including .predict in the wrong place

Empty Scores (Articlequality Latency)

Applies to: articlequality, {wiki}-articlequality

Cause: Revision is less than ~60 seconds old and hasn't been indexed by the model yet.

Response when this happens:

json
{
  "enwiki": {
    "models": {"articlequality": {"version": "0.9.2"}},
    "scores": {}  # Empty — no score for this revision yet
  }
}

Workaround: Retry with a delay:

python
def score_with_retry(rev_id, max_attempts=3, delay=30):
    for attempt in range(max_attempts):
        result = call_articlequality(rev_id)
        scores = result.get("enwiki", {}).get("scores", {})
        if str(rev_id) in scores:
            return scores[str(rev_id)]
        print(f"Score not ready yet (attempt {attempt+1}). Waiting {delay}s...")
        time.sleep(delay)
    return None  # Score unavailable

SOP: EventStreams Connection Errors

Connection Drops

Cause: EventStreams has a 15-minute idle timeout. The server closes the connection if no events arrive.

Detection: The SSE stream's events() generator stops yielding events, or the HTTP connection raises ConnectionError/ChunkedEncodingError.

Recovery: Reconnect with exponential backoff:

python
import time
from sseclient import SSEClient

def consume_eventstream(url, max_reconnects=5):
    for attempt in range(max_reconnects):
        try:
            messages = SSEClient(url)
            for msg in messages:
                if msg.event == 'message':
                    yield msg
        except (ConnectionError, ChunkedEncodingError) as e:
            wait = min(30, 2 ** attempt)  # Cap at 30s
            print(f"Connection lost: {e}. Reconnecting in {wait}s...")
            time.sleep(wait)

No Events (Silent Connection Drop)

Detection: The connection opens (HTTP 200) but no events arrive even though the stream should be active. This can happen if the stream name is wrong.

Debugging:

python
# Wrong: silent failure
url = "https://stream.wikimedia.org/v2/stream/wrong-stream-name"
# Correct: should receive events immediately
url = "https://stream.wikimedia.org/v2/stream/recentchange"

Fix: Verify the stream name against the stream catalog and the wikimedia-eventstreams skill.

Canary Events

Applies to: All EventStreams streams

Detection: Events with meta.domain == "canary" are test events injected by WMF infrastructure.

Handling: Always filter them out:

python
if event.get("meta", {}).get("domain") == "canary":
    continue  # Discard — this is a test event

SOP: SPARQL Errors

Query Timeout (HTTP 504)

Cause: Query exceeds the 60-second hard limit.

Symptoms: Empty results after a long wait, or HTTP 504 Gateway Timeout.

Fixes:

  • Add LIMIT clause to reduce result set size
  • Remove SERVICE wikibase:label temporarily and add it back after optimizing
  • Add appropriate FILTER clauses to narrow the search space
  • Use values clauses to restrict to known item sets

Query Syntax Error (HTTP 400)

Cause: Invalid SPARQL syntax.

Debugging:

python
if resp.status_code == 400:
    print("SPARQL syntax error. Check:")
    print("  1. All prefixes are declared (wd:, wdt:, p:, ps:, etc.)")
    print("  2. Curly braces are balanced")
    print("  3. FILTER syntax is correct")
    print("  4. String literals use quotes correctly")
    print(f"Response: {resp.text[:500]}")  # Error message often hints at the issue

Empty SPARQL Results

Cause: The query is syntactically valid but returns no results. This is not an error, but can be confusing.

Common reasons:

  • Wrong Q/P IDs (e.g., Q38104 = Nobel Prize in Physics, not Q38105)
  • Wrong property (e.g., P166 = award received, not P106)
  • No data exists for the combination you're querying
  • Case sensitivity: property values may be case-sensitive

Debugging: Test the query in the WDQS web UI first.


SOP: General Debugging Strategy

When any Wikimedia API call fails, follow this checklist:

  1. Check the HTTP status code — see the reference table at the top of this skill
  2. Check the User-Agent header — is it descriptive? (see wikimedia-api-access)
  3. Check the endpoint URL — is it correct for this API?
  4. Check the request parameters — are all required fields present? Correct types?
  5. Check for rate limiting — did you make too many requests too quickly?
  6. Check the API documentation — has the API changed? (check the relevant skill)
  7. Check network connectivity — can you reach the endpoint at all? (curl -I <url>)
  8. Check for transient failures — try again after a short delay

API-Specific Error Response Examples

Action API error response:

json
{
  "error": {
    "code": "missingparam",
    "info": "The \"titles\" parameter must be set.",
    "*": "See https://en.wikipedia.org/w/api.php for API usage"
  }
}

Lift Wing ML error response:

json
{
  "error": "Model 'enwiki-nonexistent-model' not found",
  "error_type": "ModelNotFoundError"
}

SPARQL error response:

json
{
  "error": "org.apache.jena.query.QueryParseException: ..."
}

Logging Pattern for Debugging

python
import logging
logging.basicConfig(level=logging.DEBUG)

# Log every API call for debugging
session = requests.Session()
session.hooks['response'].append(
    lambda r, *args, **kwargs: logging.debug(
        f"{r.request.method} {r.url} → {r.status_code} ({len(r.content)} bytes)"
    )
)

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Wikipedia Error Handling؟

Handle HTTP errors, rate limits, and API failures across Wikimedia services — retry/backoff patterns, error formats, and recovery for the Action API, REST, SPARQL, Lift Wing, and EventStreams

لماذا تستخدم Wikipedia Error Handling على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Wikipedia Error Handling عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Wikipedia Error Handling في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/wikipedia-error-handling. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Wikipedia Error Handling؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Wikipedia Error Handling؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Wikipedia Error Handling معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Wikipedia Error Handling مجانية؟

نعم. نشرها fuzheado على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇