← 返回
未分类 Key

DashScope LLM

通过阿里云 DashScope 的 OpenAI 兼容 API 发送简单单轮对话请求,用于快速 LLM 测试、提示词实验或一次性文本生成。
通过阿里云 DashScope 的 OpenAI 兼容 API 发送简单单轮对话请求,用于快速 LLM 测试、提示词实验或一次性文本生成。
pengzhendong pengzhendong 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 311
下载
💾 0
安装
1
版本
#latest

概述

dashscope-llm

Use this skill when you need to send a simple chat request to DashScope through its OpenAI-compatible API.

What this skill does

This skill provides a minimal CLI wrapper at scripts/cli.py that:

  • reads DASHSCOPE_API_KEY from the environment
  • connects to https://dashscope.aliyuncs.com/compatible-mode/v1
  • sends a single user message with the OpenAI Python SDK
  • prints the model response to stdout

When to use it

Use this skill for quick LLM checks, prompt experiments, or simple one-shot generations against DashScope models.

Do not use it when you need:

  • multi-turn conversation state
  • streaming output
  • tool calling
  • structured output handling
  • advanced retry or error management

Prerequisites

Make sure the environment has:

  • DASHSCOPE_API_KEY set
  • Python available
  • the openai Python package installed

Example:

export DASHSCOPE_API_KEY="your_api_key"
python3 scripts/cli.py --model qwen3.6-plus --message "你是谁?"

CLI arguments

The script supports:

  • --model: model name, default is qwen3.6-plus
  • --message: user prompt, default is 你是谁?

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-07 18:06 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Fun-ASR speech recognition

pengzhendong
阿里云百炼 FunASR 录音文件识别,利用 DashScope API 将语音转为文字;当用户需要转录音频时触发。
★ 0 📥 623
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 181,892
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 195 📥 67,675