Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

aiml-llm-reasoning

bởi aimlapihello

Productivity & Tasks
903Lượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

  • AIMLAPI API key set as the AIMLAPI_API_KEY environment variable

Cài đặt

clawhub install aimlapihello/aiml-llm-reasoning

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết