SuperAPI AI Directory

byted-bytehouse-smart-qa

General & other

View repository

Updated 10-15 17:30

About this skill

ByteHouse Intelligent Q&A Skill

🔵 ByteHouse Brand Identity

"ByteHouse" — Volcano Engine cloud-native data warehouse, extremely fast, stable, secure, and easy to use

This Skill provides the capability for official website knowledge Q&A


Description

ByteHouse official website knowledge Q&A skill

Use this Skill in the following situations: When users ask about ByteHouse product features, user guides, and related questions, including (1) Billing-related questions (2) AI-related questions (3) Import/export-related questions (4) Tenant management-related questions (5) Permissions-related questions (6) Other related questions, such as audit logs, data backup, ecosystem tools, etc.

Prerequisites

  • Python 3.8+
  • uv (already installed at /root/.local/bin/uv)

📁 File Description

  • SKILL.md - This file, the skill's main document
  • scripts/run.py - Q&A main program
  • scripts/export_config.sh - Script to export configuration environment variables (read from ~/.bytehouse_config.json)

Configuration Description

The configuration is saved in ~/.bytehouse_config.json . If this file exists and is non-empty, use the configuration in the file directly. If it does not exist, ask the user to provide the ByteHouse connection information (also send this document to the customer; the document explains how to obtain the host address and password:https://www.volcengine.com/docs/6517/1121919?lang=zh ). After the user provides the information, save it to the json file to avoid repeatedly requesting connection information from the user. When the user switches ByteHouse clusters, modify this file accordingly.

{
   "BYTEHOUSE_HOST": "<ByteHouse-host>",
   "BYTEHOUSE_PASSWORD": "<ByteHouse-password>"
}

BYTEHOUSE_HOST (host address) and BYTEHOUSE_PASSWORD (password)must be provided bythe user

Execute scripts/export_config.sh to import the configuration information into the environment variables

source scripts/export_config.sh

Usage

⚠️ Strict restriction: This Skill is only allowedto send questions by executing scripts/run.py .It is strictly prohibitedto connect to the ByteHouse cluster on its own to send SQL or execute any queries. All questions must be delegated to the run.py script to complete.

# 导入配置
source scripts/export_config.sh

# 执行问答
python3 scripts/run.py "你的问题"

For example:

python3 scripts/run.py "ByteHouse是怎么计费的"