تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

aiml-llm-reasoning

بواسطة aimlapihello

Productivity & Tasks
903التنزيلات وفق ما يذكره clawskills.sh
2النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Run AIMLAPI LLM and reasoning workflows through chat completions with retries, structured outputs, and explicit.

الوصف

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

Calls AIMLAPI chat completions via a Python script with automatic retries, optional API key file fallback, and a custom User-Agent header on every request. Supports reasoning parameters, temperature control, and structured JSON output. Results can be written directly to a file.

Built-in retry logic and API key file fallback reduce boilerplate compared to writing raw AIMLAPI requests by hand.

متى تستخدمها

  • Draft a project checklist from a plain-text prompt
  • Generate a structured JSON risk list for a project
  • Plan a feature rollout with step-by-step reasoning
  • Summarize a long document into bullet points
  • Script batch prompting runs against AIMLAPI models

مثال على سير العمل

الإدخال

User asks: Return a JSON array of 3 project risks with mitigation strategies

الوكيل
  1. 1

    Builds request payload with json_object response_format and the user prompt

  2. 2

    Sends POST to AIMLAPI chat completions endpoint with User-Agent header

  3. 3

    Retries automatically on transient failures

  4. 4

    Parses the response and writes JSON result to ./out/risks.json

الإخراج

A risks.json file containing a JSON array of 3 project risks each with a mitigation strategy

المتطلبات

  • AIMLAPI API key set as the AIMLAPI_API_KEY environment variable

التثبيت

clawhub install aimlapihello/aiml-llm-reasoning

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط