返回顶部
w

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, multi-turn conversation, chat model lookup, model comparison, prompt-response tasks, or direct message-array calls against WeryAI chat models.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
115
下载量
0
收藏
概述
安装方式
版本历史

weryai-chat

# 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: ```json [ { "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 ```sh # 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 - Official chat API summary: [references/chat-api.md](references/chat-api.md) - Chat completion API: [Chat Completion](https://docs.weryai.com/api-reference/chat/chat-completion) - Chat models API: [Get Chat Models List](https://docs.weryai.com/api-reference/chat/get-chat-models-list)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 weryai-chat-1776090902 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 weryai-chat-1776090902 技能

通过命令行安装

skillhub install weryai-chat-1776090902

下载 Zip 包

⬇ 下载 weryai-chat v0.1.0

文件大小: 18.17 KB | 发布时间: 2026-4-14 11:37

v0.1.0 最新 2026-4-14 11:37
- Initial release of weryai-chat, providing access to WeryAI chat models via the official OpenAI-compatible API.
- Supports general assistant chat, multi-turn conversation, prompt-response, model lookup, and model selection.
- Allows direct use of chat completions with `messages` arrays or simple prompt inputs.
- Includes commands to list available chat models, perform prompt-response tasks, and preview requests with a dry run.
- Requires a WERYAI_API_KEY and Node.js 18+ environment.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部