public class TbpClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
TbpClient(Credential credential,
String region) |
TbpClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
TextProcessResponse |
TextProcess(TextProcessRequest req)
接收调用侧的文本输入,返回应答文本。
|
TextResetResponse |
TextReset(TextResetRequest req)
会话重置接口。
|
call, callOctetStream, getClientProfile, getCredential, getRegion, internalRequest, retry, setClientProfile, setCredential, setRegion
public TbpClient(Credential credential, String region)
public TbpClient(Credential credential, String region, ClientProfile profile)
public TextProcessResponse TextProcess(TextProcessRequest req) throws TencentCloudSDKException
req
- TextProcessRequestTencentCloudSDKException
public TextResetResponse TextReset(TextResetRequest req) throws TencentCloudSDKException
req
- TextResetRequestTencentCloudSDKException
Copyright © 2022. All rights reserved.