read_and_summarize_text_file
Read and summarize text files up to 2,000 characters by specifying a target compression ratio between 0.1-1.0, streamlining content extraction and quick understanding.
Instructions
读取txt等格式的文本文件并总结内容(限制2k字符)
Args:
filepath: 文本文件路径
target_ratio: 目标压缩比例,0.1-1.0之间
Returns:
文件内容总结
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filepath | Yes | ||
target_ratio | No |
Input Schema (JSON Schema)
{
"properties": {
"filepath": {
"title": "Filepath",
"type": "string"
},
"target_ratio": {
"default": 0.2,
"title": "Target Ratio",
"type": "number"
}
},
"required": [
"filepath"
],
"title": "read_and_summarize_text_fileArguments",
"type": "object"
}