test-processing-guide

zhenxiay 的头像作者 zhenxiay

AI代理执行以下任务的全面指南:(1)文本摘要,(2)情感分析,(3)全文翻译。

📖 中文导读:AI代理执行以下任务的全面指南:(1)文本摘要,(2)情感分析,(3)全文翻译。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: test-processing-guide description: "Comprehensive guide for AI agent when it is requested to perform following tasks: (1) Summarize text, (2) Sentiment analysis, (3) Translate test in full length."

Text Summary, Translation and Sentiment analysis

Overview

A user may ask you to summarize text from a file, run sentiment analysis of text or translate text in full length. You have different tools and workflows available for different tasks.

Workflow Decision Tree

Summarize text

Use "Text summary" workflow

Sentiment analysis

Use "Sentiment analysis" workflow

Translate text in full length

Use "Translate text" workflow

Workflow list

Text summary

  1. Ask user for necessary inputs:

    • input_table_name
    • batch_size
    • text_column
    • length
    • output_table

    If user needs help for some of the input parameters, run following command to get help:

    uv run src/workflow/run_workflow.py --help
    
  2. Run following command to finish the requested task:

    uv run src/workflow/run_workflow.py
    

Sentiment analysis

  1. Ask user for necessary inputs:

    • input_table_name
    • batch_size
    • text_column
    • output_table

    If user needs help for some of the input parameters, run following command to get help:

    uv run src/workflow/run_sentiment_analysis.py --help
    
  2. Run following command to finish the requested task:

    uv run src/workflow/run_sentiment_analysis.py
    

Translate text

  1. Ask user for necessary inputs:

    • input_table_name
    • batch_size
    • text_column
    • output_path

    If user needs help for some of the input parameters, run following command to get help:

    uv run src/workflow/run_full_translation.py --help
    
  2. Run following command to finish the requested task:

    uv run src/workflow/run_full_translation.py
    

Error handling

Script cannot be found: If the Agent gets this error, use powershellcommands to search for the script on the local machine.

Parameters missing or incorrect: If the Agent gets error regarding any missing or incorrect input parameters, repeat step 1 and confirm with user.

IOException: In case of IOException because DuckDB is open in another process, get the PID and stop it in powershell.