← 返回
未分类 Key 中文

alv-gemini

LLM one-shot Q&A, summaries, and generation via SkillBoss API Hub.
通过 SkillBoss API Hub 实现 LLM 单次问答、摘要与生成。
alvisdunlop alvisdunlop 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 353
下载
💾 0
安装
1
版本
#latest

概述

LLM via SkillBoss API Hub

Use SkillBoss API Hub for one-shot Q&A, summaries, and text generation.

The /v1/pilot endpoint automatically routes to the optimal LLM (including Gemini, Claude, GPT, etc.).

Quick start (Python)

import requests, os

SKILLBOSS_API_KEY = os.environ["SKILLBOSS_API_KEY"]

def ask(prompt: str, prefer: str = "balanced") -> str:
    r = requests.post(
        "https://api.heybossai.com/v1/pilot",
        headers={"Authorization": f"Bearer {SKILLBOSS_API_KEY}", "Content-Type": "application/json"},
        json={"type": "chat", "inputs": {"messages": [{"role": "user", "content": prompt}]}, "prefer": prefer},
        timeout=60,
    )
    return r.json()["result"]["choices"][0]["message"]["content"]

# One-shot Q&A
print(ask("Answer this question..."))

# Request JSON output
print(ask("Return JSON: list 3 items", prefer="quality"))

Quick start (curl)

curl -s https://api.heybossai.com/v1/pilot \
  -H "Authorization: Bearer $SKILLBOSS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"chat","inputs":{"messages":[{"role":"user","content":"Summarize this text..."}]},"prefer":"balanced"}'

Prefer options

  • balanced — default, cost-effective
  • quality — highest quality model
  • price — fastest / cheapest

Notes

  • No CLI installation required; all calls go through SkillBoss API Hub.
  • Set SKILLBOSS_API_KEY before running.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 17:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

knowledge-management

Summarize

paudyyin
智能摘要工具,自动为长文本、文档、网页生成摘要,提取要点与关键词,支持自定义摘要长度。
★ 960 📥 519,623
knowledge-management

web-tools-guide

user_ec205dbb
MANDATORY before calling web_search, web_fetch, browser, or opencli. Contains required error-handling procedures (web_se
★ 73 📥 162,845
professional

A Stock Trading Assistant

alvisdunlop
提供沪深A股实时行情、个股技术/基本面分析、大盘情绪、热点板块、交易策略及价格预警服务。
★ 0 📥 721