public class AutoSummarizationRequest extends AbstractModel
Constructor and Description |
---|
AutoSummarizationRequest() |
AutoSummarizationRequest(AutoSummarizationRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getLength()
Get 指定摘要的长度上限(默认值为200)
注:为保证摘要的可读性,最终生成的摘要长度会低于指定的长度上限。
|
String |
getText()
Get 待处理的文本(仅支持UTF-8格式,不超过2000字)
|
void |
setLength(Long Length)
Set 指定摘要的长度上限(默认值为200)
注:为保证摘要的可读性,最终生成的摘要长度会低于指定的长度上限。
|
void |
setText(String Text)
Set 待处理的文本(仅支持UTF-8格式,不超过2000字)
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public AutoSummarizationRequest()
public AutoSummarizationRequest(AutoSummarizationRequest source)
public String getText()
public void setText(String Text)
Text
- 待处理的文本(仅支持UTF-8格式,不超过2000字)public Long getLength()
public void setLength(Long Length)
Length
- 指定摘要的长度上限(默认值为200)
注:为保证摘要的可读性,最终生成的摘要长度会低于指定的长度上限。Copyright © 2021. All rights reserved.