文本改进 API
例子
{
"id": "e0426d4c-4f63-e6bd-addb-6c617d86bb02",
"improvements": [
{
"suggestions": [
"As a project manager, I have acquired",
"As a member of the project management profession, I have acquired",
"Due to my association with the project management profession, I have acquired"
],
"startIndex": 0,
"endIndex": 84,
"originalText": "Affiliated with the profession of project management, I have ameliorated myself with",
"improvementType": "fluency"
},
{
"suggestions": [
"technical",
"practical",
"analytical"
],
"startIndex": 104,
"endIndex": 108,
"originalText": "hard",
"improvementType": "vocabulary/specificity"
}
]
}
improvements
suggestions
:改进输入文本的建议列表,可能针对整个文本或其中的一部分。startIndex
:指示 API 建议改进的输入文本开头的索引。endIndex
:指示 API 建议改进的输入文本结尾的索引。originalText
:API建议改进的具体文本部分。improvementType
:API 建议的改进类型,可以是:fluency
vocabulary/specificity
vocabulary/variety
clarity/short-sentences
clarity/conciseness
修改于 2023-11-13 03:50:34