AgentPM™

@zack/capitalize

Uppercases text and (optionally) summarizes, extracts keywords, and estimates sentiment.

Install
agentpm install @zack/capitalize@0.1.0
Load
Weekly downloads
0
0%
Last publish
2m ago
v0.1.0
agent.json
{
  "name": "capitalize",
  "version": "0.1.0",
  "description": "Uppercases text and (optionally) summarizes, extracts keywords, and estimates sentiment.",
  "files": [
    "dist/"
  ],
  "entrypoint": {
    "args": [
      "dist/index.js"
    ],
    "command": "node",
    "timeout_ms": 120000
  },
  "inputs": {
    "type": "object",
    "required": [
      "text"
    ],
    "properties": {
      "text": {
        "type": "string",
        "description": "Input text to process"
      },
      "model": {
        "type": "string",
        "description": "LLM model name (optional)"
      },
      "doSummary": {
        "type": "boolean",
        "description": "If true, call LLM to summarize"
      },
      "doKeywords": {
        "type": "boolean",
        "description": "If true, extract keywords"
      },
      "doSentiment": {
        "type": "boolean",
        "description": "If true, estimate sentiment"
      },
      "maxSummaryChars": {
        "type": "integer",
        "maximum": 4000,
        "minimum": 40
      }
    }
  },
  "outputs": {
    "type": "object",
    "required": [
      "upper"
    ],
    "properties": {
      "upper": {
        "type": "string",
        "description": "Uppercased text"
      },
      "summary": {
        "type": "string"
      },
      "keywords": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "sentiment": {
        "enum": [
          "positive",
          "neutral",
          "negative"
        ],
        "type": "string"
      }
    }
  },
  "runtime": {
    "type": "node",
    "version": "20"
  }
}
Compatibility
NodePython