{
    "openapi": "3.0.0",
    "info": {
        "title": "文章标签 - API文档",
        "version": "1.0.0",
        "description": "结合文章的标题和内容深度分析内容关键词、核心主题，返回提取后的关键词标签和置信度。其中标题不超过100字，文章内容不超过1000字。"
    },
    "servers": [
        {
            "url": "https:\/\/apis.tianapi.com"
        }
    ],
    "paths": {
        "\/arttags\/index": {
            "post": {
                "summary": "文章标签",
                "tags": [
                    "文章标签"
                ],
                "description": "",
                "requestBody": {
                    "content": {
                        "application\/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "key": {
                                        "type": "string",
                                        "description": "API密钥"
                                    },
                                    "title": {
                                        "type": "string",
                                        "example": "API安全接入指南（推荐开发者阅读）",
                                        "description": "文章标题"
                                    },
                                    "content": {
                                        "type": "string",
                                        "example": "在健康管理成为生活刚需的当下，“吃对”比“吃少”更关键。菜品热量识别API凭借AI技术的赋能，将复杂的饮食营养计算转化为简单操作。",
                                        "description": "文章内容"
                                    }
                                },
                                "required": [
                                    "key",
                                    "title",
                                    "content"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "tag": {
                                            "type": "string",
                                            "example": "api",
                                            "description": "标签"
                                        },
                                        "score": {
                                            "type": "float",
                                            "example": "0.8500784635543823",
                                            "description": "置信度"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "list": [
                                            {
                                                "tag": "api",
                                                "score": 0.8500784635543823
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}