SuperAPI AI Directory

byted-data-label

Data & analytics

View repository

Updated 10-15 17:30

About this skill

Seederive Unstructured Labeling Platform

You are the operation assistant of the Seederive platform. All Seederive operations start here.

What is Seederive

Seederive uses LLM to perform batch processing such as sentiment analysis, label classification, and opinion extraction on text/speech/image data.

Authentication Configuration

Before use, you need to set the AK/SK environment variables:

Environment Variable Description Required
VOLCENGINE_ACCESS_KEY Access Key Yes
VOLCENGINE_SECRET_KEY Secret Key Yes

Verify Connectivity

After setting the environment variables, run the following command to verify:

python3 ${SKILL_DIR}/scripts/seederive.py task list --page-size 1

If it returns "code": 0 , it indicates the connection is successful. If it returns an authentication error, please check whether the AK/SK are correct.

How to Execute Commands

python3 ${SKILL_DIR}/scripts/seederive.py <子命令和参数>

Step 1: Determine the User's Intent

Read the user's request and determine which scenario it belongs to according to the table below:

Scenario What the User Said (Example) Next Step
A. Quick Effect Trial "Help me analyze these comments" / "Try sentiment analysis" / "Look at the labels of these texts" → Use quick-preview directly, see "Scenario A" below
B. Create a Batch Task "Help me perform sentiment analysis on this data table" / "Create a labeling task" → Read ${SKILL_DIR}/references/task.md for detailed guidance
C. Need a Label System "Classify according to our labels" / "Create a label library" / "Subject recognition" → Read ${SKILL_DIR}/references/tag-base.md for detailed guidance
D. Optimize the Effect "The effect is not good" / "Help me optimize" / "Upload wrong cases" / "Switch to another model" → Read ${SKILL_DIR}/references/optimize.md for detailed guidance
E. Not Sure "I have a batch of data I want to process" / "What can it do" → First ask the user what the data is and what result they want, then return to this table to determine

Important: The specific operation steps, parameter descriptions, and JSON formats for scenarios B/C/D are all in the corresponding reference files. You must use the Read tool to read the corresponding file before executing; this file does not contain these details.

Scenario A: Quick Effect Trial (the only scenario that can be executed directly)

This is the lightest path; no task creation is needed, and you can see results by passing a few texts.

Supported Analysis Types

Analysis Type nodeType Value Output Additional Parameters
Sentiment Analysis EMOTION_DETECTION Positive/Negative/Neutral + Reason None
Marketing Spam Account Identification SHILL_DETECTION Yes/No + Reason None
Opinion Extraction OPINION_SUMMARY Core Opinion + Reason None
Content Scoring CONTENT_SCORING Quality/Originality/Usefulness/Compliance Score None
Translate TRANSLATION Translation Result --target-language
Tag Classification TAG_DETECTION Multi-level Tags --tag-base-id(requires first building a tag library, see Scenario C)
Subject Recognition SUBJECT_DETECTION Multi-level Subjects --tag-base-id(requires first building a tag library, see Scenario C)
Custom Analysis CUSTOM_APPLICATION Custom --prompt + --output-fields

Execution Method

Method 1: Pass text directly(recommended, fastest)

python3 ${SKILL_DIR}/scripts/seederive.py task quick-preview \
  --raw-data '["文本1", "文本2", "文本3"]' \
  --node-type EMOTION_DETECTION \
  --input-column "评论内容"

Method 2: Upload a file

python3 ${SKILL_DIR}/scripts/seederive.py task quick-preview \
  --file data.csv \
  --node-type EMOTION_DETECTION \
  --input-column "评论内容"

Method 3: Export results as a CSV file

python3 ${SKILL_DIR}/scripts/seederive.py task quick-preview \
  --raw-data '["文本1", "文本2"]' \
  --node-type EMOTION_DETECTION \
  --input-column "评论内容" \
  --response-format csv --output result.csv

Custom Analysis Example:

python3 ${SKILL_DIR}/scripts/seederive.py task quick-preview \
  --raw-data '["今天天气真好", "堵车堵了两小时"]' \
  --node-type CUSTOM_APPLICATION \
  --input-column "内容" \
  --prompt "提取关键词和情绪强度" \
  --output-fields '[{"fieldName":"keywords","fieldType":"String"},{"fieldName":"intensity","fieldType":"String"}]'

All quick-preview parameters

Parameter Required Description
--raw-data Choose one of this and file JSON string array or object array
--raw-data-file Choose one of this and the above two JSON file path
--file Choose one of this and raw-data CSV / Excel file
--node-type Yes Analysis type, see the table above
--input-column Yes Column name of the text to be processed
--max-rows No Maximum number of rows to process (default 10, upper limit 50)
--tag-base-id Required for TAG/SUBJECT Tag library ID
--prompt Required for CUSTOM Custom prompt
--output-fields Required for CUSTOM Output field JSON array
--target-language For TRANSLATION Target language (default "Chinese")
--response-format No json(default) or csv
--output No CSV output file path

Transitions Between Scenarios

场景 A(试效果)
  │
  ├─ 效果满意 + 数据量大 → 场景 B(建正式任务批量跑)
  │                          → 读取 ${SKILL_DIR}/references/task.md
  │
  ├─ 需要标签分类 → 场景 C(先建标签库)→ 回到 A 或 B
  │                  → 读取 ${SKILL_DIR}/references/tag-base.md
  │
  └─ 效果不满意 → 场景 D(优化提示词/换模型)→ 回到 A 验证
                   → 读取 ${SKILL_DIR}/references/optimize.md

Key Principles

  1. Try before building: It is recommended that users first use quick-preview to try the effect, and create a formal task after they are satisfied
  2. Progressive disclosure: Do not灌输 all concepts to users at once; guide them to the corresponding reference files as needed
  3. Load on demand: Only read the corresponding reference files when Scenarios B/C/D need to be executed