Skip to content

[Feat][Serving] Add PP-ShiTuV2 and face recognition server apps #2488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,10 @@ Below are the API reference and multi-language service invocation examples:

<details><summary>API Reference</summary>

<p>For all operations provided by the service:</p>
<p>For main operations provided by the service:</p>
<ul>
<li>The response body and the request body of POST requests are both JSON data (JSON objects).</li>
<li>The HTTP request method is POST.</li>
<li>The request body and the response body are both JSON data (JSON objects).</li>
<li>When the request is successfully processed, the response status code is <code>200</code>, and the attributes of the response body are as follows:</li>
</ul>
<table>
Expand Down Expand Up @@ -425,7 +426,7 @@ Below are the API reference and multi-language service invocation examples:
</tr>
</tbody>
</table>
<p>The operations provided by the service are as follows:</p>
<p>The main operations provided by the service are as follows:</p>
<ul>
<li><b><code>infer</code></b></li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,10 @@ data_root # 数据集根目录,目录名称可以改变

<details><summary>API参考</summary>

<p>对于服务提供的所有操作:</p>
<p>对于服务提供的主要操作:</p>
Copy link
Member Author

@Bobholamovic Bobholamovic Nov 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

考虑到与健康检查等辅助操作区分,将与产线推理API直接绑定的操作定位为“主要操作”,并作为统一规范以减小产线间差异。对各产线文档进行了修改。

<ul>
<li>响应体以及POST请求的请求体均为JSON数据(JSON对象)。</li>
<li>HTTP请求方法为POST。</li>
<li>请求体和响应体均为JSON数据(JSON对象)。</li>
<li>当请求处理成功时,响应状态码为<code>200</code>,响应体的属性如下:</li>
</ul>
<table>
Expand Down Expand Up @@ -442,7 +443,7 @@ data_root # 数据集根目录,目录名称可以改变
</tr>
</tbody>
</table>
<p>服务提供的操作如下:</p>
<p>服务提供的主要操作如下:</p>
<ul>
<li><b><code>infer</code></b></li>
</ul>
Expand Down
Loading