按段总结
按Segment API请求汇总
source
:输入文本,或要摘要的网页的 URL。sourceType`:上面的类型 -或。`TEXT``URL
focus
:返回针对您选择的主题的分段摘要。最多 50 个字符。
summary
: 对该部分的简要总结。segmentText
:该段的原始文本。segmentHtml
:段的 HTML 表示形式(如果适用)。segmentType
:段的类型。hasSummary
:表示该段是否可以汇总。highlights
:从文本中提取的关键点数组。该数组中的每个条目捕获、 it和。Text``startIndex``endIndex
{
"segments": [
{
"summary": "Segment-specific summary here...",
"segmentText": "Raw text of the segment here...",
"segmentHtml": "<p>HTML representation here...</p>",
"segmentType": "Type here...",
"hasSummary": true,
"highlights": [
{
"Text": "Highlighted part of the segment...",
"startIndex": 0,
"endIndex": 50
},
// ... more highlights
]
},
// ... more segments
]
}