PDF文档生成
标识
技能
参数
名称 | 类型(Python) | 说明 | 示例 |
---|---|---|---|
sections | List[Dict[str, Optional[str]]] | PDF文档的输入内容 | [{ "title": "Introduction - Early Life", "level": "h1", "image": "https://picsum.photos/536/354", "content": ("hello, the world"), }] |
描述(JSON Schema)
{
"name": "sections",
"schema": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {"type": ["string", "null"]}
}
},
"required": true,
"description": "the secition content for PDF file"
}
使用