Skip to content

Commit e8e47ae

Browse files
authored
fix: Access the text-generation app's API doc error (#18278)
1 parent 83f1aee commit e8e47ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/app/components/develop/template/template.zh.mdx

+2-1
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
776776
</Col>
777777
<Col sticky>
778778
嵌入模型的提供商和模型名称可以通过以下接口获取:v1/workspaces/current/models/model-types/text-embedding, 具体见:通过 API 维护知识库。 使用的Authorization是Dataset的API Token。
779+
该接口是异步执行,所以会返回一个job_id,通过查询job状态接口可以获取到最终的执行结果。
779780
<CodeGroup
780781
title="Request"
781782
tag="POST"
@@ -801,7 +802,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
801802
"job_status": "waiting"
802803
}
803804
```
804-
该接口是异步执行,所以会返回一个job_id,通过查询job状态接口可以获取到最终的执行结果。
805+
805806
</CodeGroup>
806807
</Col>
807808
</Row>

0 commit comments

Comments
 (0)