Logo Wikipedia Error Handling

Wikipedia Error Handling

Cộng đồng
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

Tổng quan

Nhà phát hànhfuzheado
Kho mãWikipedia-AI-Skills
Tên kỹ năngwikipedia-error-handling
Sao
27
Bản fork
10
Tệp đi kèm
2
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được fuzheado công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Wikipedia Error Handling trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/wikipedia-error-handling
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Wikipedia Error Handling trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Wikipedia Error Handling ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Wikipedia Error Handling với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

⚠️ 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)"
    )
)

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Wikipedia Error Handling làm được gì?

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

Vì sao nên dùng Wikipedia Error Handling trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Wikipedia Error Handling là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Wikipedia Error Handling trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/wikipedia-error-handling. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Wikipedia Error Handling?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Wikipedia Error Handling với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Wikipedia Error Handling với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Wikipedia Error Handling có miễn phí không?

Có. Kỹ năng này được fuzheado phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇