← 返回
未分类 Key 中文

WeryAI Chat

Chat, ask, compare, and inspect WeryAI chat models through the official OpenAI-compatible chat completions API. Use when you need general assistant chat, mul...
通过官方兼容OpenAI的聊天补全API,与WeryAI聊天模型进行对话、提问、比较和检查。适用于通用助手对话、多...
weryai-developer weryai-developer 来源
未分类 clawhub v0.1.0 1 版本 99763 Key: 需要
★ 0
Stars
📥 421
下载
💾 0
安装
1
版本
#latest

概述

WeryAI Chat

Use the official WeryAI chat-completions API for general assistant chat and model lookup. This skill is intentionally broad but not specialized: it is for general conversation and prompt-response tasks, not blog writing, social copy, or email drafting.

Example Prompts

  • Ask a WeryAI chat model to explain retrieval augmented generation in plain English.
  • Send this messages array to WeryAI chat completions and return the assistant response.
  • List the currently available WeryAI chat models and their pricing.
  • Use GPT_5_4 for this one chat call instead of the default model.

Quick Summary

  • Main jobs: general assistant chat, multi-turn chat, chat model lookup, prompt-response
  • Default model: GEMINI_3_1_PRO
  • Main optional controls: model, messages, maxTokens, temperature, topP
  • Main trust signals: dry-run support, model lookup, OpenAI-compatible messages, explicit non-specialized scope

Prerequisites

  • WERYAI_API_KEY must be set before calling the API.
  • Node.js >=18 is required.
  • Real runs use the WeryAI chat completion API and may consume credits.

When to use this skill

Use this skill when the user wants:

  • a normal assistant-style answer
  • a direct chat-completions call
  • a multi-turn conversation via messages
  • model lookup or model selection before a chat run

Do not use this skill when the user clearly wants:

  • blog writing
  • email drafting
  • ad copy
  • translation or summarization as the main task

Those belong to the existing specialized text/* skills.

OpenAI-compatible message shape

This skill accepts standard chat-completions messages:

[
  { "role": "system", "content": "You are a helpful assistant." },
  { "role": "user", "content": "What is artificial intelligence?" }
]

If you provide messages, they are passed through directly. If you provide only prompt, the runtime builds a simple messages array automatically.

Commands

# List available chat models
node {baseDir}/scripts/models.js

# Simple prompt-response chat
node {baseDir}/scripts/write.js --json '{
  "prompt":"Explain retrieval augmented generation in plain English",
  "temperature":0.7
}'

# Explicit messages array
node {baseDir}/scripts/write.js --json '{
  "model":"GPT_5_4",
  "messages":[
    {"role":"system","content":"You are concise and technical."},
    {"role":"user","content":"Compare RAG and long-context prompting."}
  ]
}'

# Dry-run preview
node {baseDir}/scripts/write.js --json '{
  "prompt":"What is the difference between latency and throughput?"
}' --dry-run

Workflow

  1. If the user wants model choice or pricing context first, run models.js.
  2. Use write.js for direct prompt-response or explicit messages chat.
  3. Prefer --dry-run when validating payload shape without spending credits.
  4. Return the assistant response directly when the call succeeds.

Definition of Done

  • models.js returns the available chat models and pricing metadata.
  • write.js returns at least one assistant completion choice and non-empty text, or a clear API failure.

Re-run Behavior

  • Re-running models.js is read-only and safe.
  • Re-running write.js --dry-run is safe and does not call the API.
  • Re-running write.js creates a fresh chat completion request and may consume additional credits.

References

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-31 00:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

WeryAI Task Inspector

weryai-developer
通过官方任务查询接口,检查、查询、汇总和调试 WeryAI 任务ID与批次ID。适用于查询 WeryAI 任务状态时使用……
★ 0 📥 514
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,097 📥 824,070
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,394 📥 322,233