2024工作周期安排
2024项目整体规划
沐曦测试(已完成)
沐曦性能测试研究
沐曦Benchmark相关测试
沐曦模型适配表
2024-02-26沐曦沟通报告
智能打标
数据打标服务Json样例
智能打标寒武纪大模型思路
业务层优先级排序
智能打标流程图
打标API接口文档
图像内容识别
其他
申报项目文本段落
研发链相关资料文档
国产GPU虚拟化培训介绍
大模型比赛
相关资料
智能填单_填单 启动命令
2024私人规划
ChatGPT API账号记录
公众号相关资料
基于 Docker 的深度学习环境:入门篇
ollama
Ollama
ReFT
ReFT AI论文笔记
ReFT概要
分布式对齐搜索 DAS
不是每个人都开始使用 ReFT 吗?
ReFT 微调Llama3
ReFT 算法详解
-
+
home
打标API接口文档
--- title: 个人项目 language_tabs: - shell: Shell - http: HTTP - javascript: JavaScript - ruby: Ruby - python: Python - php: PHP - java: Java - go: Go toc_footers: [] includes: [] search: true code_clipboard: true highlight_theme: darkula headingLevel: 2 generator: "@tarslib/widdershins v4.0.22" --- # 个人项目 Base URLs: * <a href="http://10.1.120.110:8000">测试环境: http://10.1.120.110:8000</a> # Authentication # 智能打标/go-gpt-api ## POST 文本相似度 Copy POST /text_similarity > Body 请求参数 ```json { "text1": "未来NLP大模型将会朝着更大规模、更高精度、更高效率、更广泛的应用场景等方向发展。同时,如何提高模型的解释性和鲁棒性也是未来NLP大模型的研究重点之一。此外,如何将NLP大模型与多模态信息融合也是未来研究的重要方向之一,这将为未来的自然语言处理技术带来更多的可能性。", "text2": "我计划明天去图书馆看书。", "model": "glm3" } ``` ### 请求参数 |名称|位置|类型|必选|说明| |---|---|---|---|---| |body|body|object| 否 |none| |» text1|body|string| 是 |文本1| |» text2|body|string| 是 |文本2| > 返回示例 > 成功 ```json { "response": "是", "status": 200, "time": "2024-03-04 08:48:39" } ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline| ### 返回数据结构 状态码 **200** |名称|类型|必选|约束|中文名|说明| |---|---|---|---|---|---| |» response|string|true|none||none| |» status|integer|true|none||none| |» time|string|true|none||none| ## POST 文本分类 Copy POST /text_classification > Body 请求参数 ```json { "text": "在那遥远的地方,有位好姑娘。人们走过她的帐房,都要回头留恋地张望。她那粉红的笑脸,好像红太阳;她那活泼动人的眼睛,好像晚上明亮的星星。", "labels": [ "小说", "散文", "诗歌" ], "model": "gpt3" } ``` ### 请求参数 |名称|位置|类型|必选|说明| |---|---|---|---|---| |body|body|object| 否 |none| |» text|body|string| 是 |文本| |» labels|body|string| 是 |标签| > 返回示例 > 成功 ```json { "response": "小说", "status": 200, "time": "2024-03-04 08:47:50" } ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline| ### 返回数据结构 状态码 **200** |名称|类型|必选|约束|中文名|说明| |---|---|---|---|---|---| |» response|string|true|none||none| |» status|integer|true|none||none| |» time|string|true|none||none| ## POST 文本摘要 Copy POST /text_summarization > Body 请求参数 ```json { "text": "未来NLP大模型将会朝着更大规模、更高精度、更高效率、更广泛的应用场景等方向发展。同时,如何提高模型的解释性和鲁棒性也是未来NLP大模型的研究重点之一。此外,如何将NLP大模型与多模态信息融合也是未来研究的重要方向之一,这将为未来的自然语言处理技术带来更多的可能性。", "summary_length": 10, "model": "gpt3" } ``` ### 请求参数 |名称|位置|类型|必选|说明| |---|---|---|---|---| |body|body|object| 否 |none| |» text|body|string| 是 |文本| |» summary_length|body|string| 是 |摘要长度| > 返回示例 > 成功 ```json { "response": "NLP大模型未来将更大规模、更高精度、更高效率、更广泛应用,研究重点为提高解释性和鲁棒性,多模态信息融合也将是重要方向。", "status": 200, "time": "2024-03-04 08:47:23" } ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline| ### 返回数据结构 状态码 **200** |名称|类型|必选|约束|中文名|说明| |---|---|---|---|---|---| |» response|string|true|none||none| |» status|integer|true|none||none| |» time|string|true|none||none| # 智能打标/go-gpt-api/gpt代理 ## POST 登录 POST /chatgpt/login > Body 请求参数 ```json { "username": "test", "password": "esse" } ``` ### 请求参数 |名称|位置|类型|必选|说明| |---|---|---|---|---| |body|body|object| 否 |none| |» username|body|string| 是 |none| |» password|body|string| 是 |none| > 返回示例 > 200 Response ```json {} ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline| ### 返回数据结构 # 智能打标/正式对接接口 ## POST 文件上传 POST /upload-csv > Body 请求参数 ```yaml file: file://C:\Users\10070\Desktop\date_21546545151_similarity.csv ``` ### 请求参数 |名称|位置|类型|必选|说明| |---|---|---|---|---| |body|body|object| 否 |none| |» file|body|string(binary)| 是 |none| > 返回示例 > 200 Response ```json {} ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline| ### 返回数据结构 ## POST 打标平台_数据回流接口 POST /datamark/aitagging/callBackHandle > Body 请求参数 ```yaml file: file://C:\Users\10070\Desktop\240312_21546545151_similarity.csv ``` ### 请求参数 |名称|位置|类型|必选|说明| |---|---|---|---|---| |body|body|object| 否 |none| |» file|body|string(binary)| 否 |none| > 返回示例 > 200 Response ```json {} ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline| ### 返回数据结构 # 智能打标/yolov5_openapi ## POST 训练接口 POST /train/ > Body 请求参数 ```yaml file: file://C:\Users\10070\Downloads\imagenette160\imagenette160\test.zip ``` ### 请求参数 |名称|位置|类型|必选|说明| |---|---|---|---|---| |body|body|object| 否 |none| |» file|body|string(binary)| 否 |none| > 返回示例 > 404 Response ```json { "detail": "string" } ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |404|[Not Found](https://tools.ietf.org/html/rfc7231#section-6.5.4)|记录不存在|Inline| ### 返回数据结构 状态码 **404** |名称|类型|必选|约束|中文名|说明| |---|---|---|---|---|---| |» detail|string|true|none||none| ## POST 推理接口 POST /predict/ > Body 请求参数 ```yaml file: file://C:\Users\10070\Downloads\imagenette160\imagenette160\val\n02979186\yanzheng.zip ``` ### 请求参数 |名称|位置|类型|必选|说明| |---|---|---|---|---| |body|body|object| 否 |none| |» file|body|string(binary)| 否 |none| > 返回示例 > 404 Response ```json { "detail": "string" } ``` ### 返回结果 |状态码|状态码含义|说明|数据模型| |---|---|---|---| |404|[Not Found](https://tools.ietf.org/html/rfc7231#section-6.5.4)|记录不存在|Inline| ### 返回数据结构 状态码 **404** |名称|类型|必选|约束|中文名|说明| |---|---|---|---|---|---| |» detail|string|true|none||none| # 数据模型
yg9538
March 19, 2024, 10:25 a.m.
1363
Forward the document
Save to Collection
Last
Next
Scan the QR code with your phone
Copy link
手机扫一扫转发分享
Copy link
Markdown文件
Word document
PDF document
PDF document (print)
share
link
type
password
Update password
Validity period