Documentation ¶
Index ¶
- func CbsClientBuilder() *httpclient.HcHttpClientBuilder
- func GenReqDefForCollectHotQuestions() *def.HttpRequestDef
- func GenReqDefForCollectKeyWords() *def.HttpRequestDef
- func GenReqDefForCollectReplyRates() *def.HttpRequestDef
- func GenReqDefForCollectSessionStats() *def.HttpRequestDef
- func GenReqDefForCreateSession() *def.HttpRequestDef
- func GenReqDefForDeleteSession() *def.HttpRequestDef
- func GenReqDefForExecuteComposeVideo() *def.HttpRequestDef
- func GenReqDefForExecuteComposeVideoOndemand() *def.HttpRequestDef
- func GenReqDefForExecuteCreateVideo() *def.HttpRequestDef
- func GenReqDefForExecuteDeleteVideoById() *def.HttpRequestDef
- func GenReqDefForExecuteDeleteimageById() *def.HttpRequestDef
- func GenReqDefForExecuteGetCharacterInfoById() *def.HttpRequestDef
- func GenReqDefForExecuteGetCharacters() *def.HttpRequestDef
- func GenReqDefForExecuteGetFramsListByImagesId() *def.HttpRequestDef
- func GenReqDefForExecuteGetImagesList() *def.HttpRequestDef
- func GenReqDefForExecuteGetVideoInfoById() *def.HttpRequestDef
- func GenReqDefForExecuteGetVideosList() *def.HttpRequestDef
- func GenReqDefForExecutePostCreateImages() *def.HttpRequestDef
- func GenReqDefForExecuteQaChat() *def.HttpRequestDef
- func GenReqDefForExecuteSession() *def.HttpRequestDef
- func GenReqDefForExecuteUpdateImageName() *def.HttpRequestDef
- func GenReqDefForExecuteUpdateVideoById() *def.HttpRequestDef
- func GenReqDefForExecuteUpdateVideoInfoById() *def.HttpRequestDef
- func GenReqDefForExecuteUploadImage() *def.HttpRequestDef
- func GenReqDefForExecuteUploadPpt() *def.HttpRequestDef
- func GenReqDefForListSuggestions() *def.HttpRequestDef
- func GenReqDefForPostRequests() *def.HttpRequestDef
- func GenReqDefForTagLabor() *def.HttpRequestDef
- func GenReqDefForTagSatisfaction() *def.HttpRequestDef
- type CbsClient
- func (c *CbsClient) CollectHotQuestions(request *model.CollectHotQuestionsRequest) (*model.CollectHotQuestionsResponse, error)
- func (c *CbsClient) CollectHotQuestionsInvoker(request *model.CollectHotQuestionsRequest) *CollectHotQuestionsInvoker
- func (c *CbsClient) CollectKeyWords(request *model.CollectKeyWordsRequest) (*model.CollectKeyWordsResponse, error)
- func (c *CbsClient) CollectKeyWordsInvoker(request *model.CollectKeyWordsRequest) *CollectKeyWordsInvoker
- func (c *CbsClient) CollectReplyRates(request *model.CollectReplyRatesRequest) (*model.CollectReplyRatesResponse, error)
- func (c *CbsClient) CollectReplyRatesInvoker(request *model.CollectReplyRatesRequest) *CollectReplyRatesInvoker
- func (c *CbsClient) CollectSessionStats(request *model.CollectSessionStatsRequest) (*model.CollectSessionStatsResponse, error)
- func (c *CbsClient) CollectSessionStatsInvoker(request *model.CollectSessionStatsRequest) *CollectSessionStatsInvoker
- func (c *CbsClient) CreateSession(request *model.CreateSessionRequest) (*model.CreateSessionResponse, error)deprecated
- func (c *CbsClient) CreateSessionInvoker(request *model.CreateSessionRequest) *CreateSessionInvokerdeprecated
- func (c *CbsClient) DeleteSession(request *model.DeleteSessionRequest) (*model.DeleteSessionResponse, error)deprecated
- func (c *CbsClient) DeleteSessionInvoker(request *model.DeleteSessionRequest) *DeleteSessionInvokerdeprecated
- func (c *CbsClient) ExecuteComposeVideo(request *model.ExecuteComposeVideoRequest) (*model.ExecuteComposeVideoResponse, error)
- func (c *CbsClient) ExecuteComposeVideoInvoker(request *model.ExecuteComposeVideoRequest) *ExecuteComposeVideoInvoker
- func (c *CbsClient) ExecuteComposeVideoOndemand(request *model.ExecuteComposeVideoOndemandRequest) (*model.ExecuteComposeVideoOndemandResponse, error)
- func (c *CbsClient) ExecuteComposeVideoOndemandInvoker(request *model.ExecuteComposeVideoOndemandRequest) *ExecuteComposeVideoOndemandInvoker
- func (c *CbsClient) ExecuteCreateVideo(request *model.ExecuteCreateVideoRequest) (*model.ExecuteCreateVideoResponse, error)
- func (c *CbsClient) ExecuteCreateVideoInvoker(request *model.ExecuteCreateVideoRequest) *ExecuteCreateVideoInvoker
- func (c *CbsClient) ExecuteDeleteVideoById(request *model.ExecuteDeleteVideoByIdRequest) (*model.ExecuteDeleteVideoByIdResponse, error)
- func (c *CbsClient) ExecuteDeleteVideoByIdInvoker(request *model.ExecuteDeleteVideoByIdRequest) *ExecuteDeleteVideoByIdInvoker
- func (c *CbsClient) ExecuteDeleteimageById(request *model.ExecuteDeleteimageByIdRequest) (*model.ExecuteDeleteimageByIdResponse, error)
- func (c *CbsClient) ExecuteDeleteimageByIdInvoker(request *model.ExecuteDeleteimageByIdRequest) *ExecuteDeleteimageByIdInvoker
- func (c *CbsClient) ExecuteGetCharacterInfoById(request *model.ExecuteGetCharacterInfoByIdRequest) (*model.ExecuteGetCharacterInfoByIdResponse, error)
- func (c *CbsClient) ExecuteGetCharacterInfoByIdInvoker(request *model.ExecuteGetCharacterInfoByIdRequest) *ExecuteGetCharacterInfoByIdInvoker
- func (c *CbsClient) ExecuteGetCharacters(request *model.ExecuteGetCharactersRequest) (*model.ExecuteGetCharactersResponse, error)
- func (c *CbsClient) ExecuteGetCharactersInvoker(request *model.ExecuteGetCharactersRequest) *ExecuteGetCharactersInvoker
- func (c *CbsClient) ExecuteGetFramsListByImagesId(request *model.ExecuteGetFramsListByImagesIdRequest) (*model.ExecuteGetFramsListByImagesIdResponse, error)
- func (c *CbsClient) ExecuteGetFramsListByImagesIdInvoker(request *model.ExecuteGetFramsListByImagesIdRequest) *ExecuteGetFramsListByImagesIdInvoker
- func (c *CbsClient) ExecuteGetImagesList(request *model.ExecuteGetImagesListRequest) (*model.ExecuteGetImagesListResponse, error)
- func (c *CbsClient) ExecuteGetImagesListInvoker(request *model.ExecuteGetImagesListRequest) *ExecuteGetImagesListInvoker
- func (c *CbsClient) ExecuteGetVideoInfoById(request *model.ExecuteGetVideoInfoByIdRequest) (*model.ExecuteGetVideoInfoByIdResponse, error)
- func (c *CbsClient) ExecuteGetVideoInfoByIdInvoker(request *model.ExecuteGetVideoInfoByIdRequest) *ExecuteGetVideoInfoByIdInvoker
- func (c *CbsClient) ExecuteGetVideosList(request *model.ExecuteGetVideosListRequest) (*model.ExecuteGetVideosListResponse, error)
- func (c *CbsClient) ExecuteGetVideosListInvoker(request *model.ExecuteGetVideosListRequest) *ExecuteGetVideosListInvoker
- func (c *CbsClient) ExecutePostCreateImages(request *model.ExecutePostCreateImagesRequest) (*model.ExecutePostCreateImagesResponse, error)
- func (c *CbsClient) ExecutePostCreateImagesInvoker(request *model.ExecutePostCreateImagesRequest) *ExecutePostCreateImagesInvoker
- func (c *CbsClient) ExecuteQaChat(request *model.ExecuteQaChatRequest) (*model.ExecuteQaChatResponse, error)
- func (c *CbsClient) ExecuteQaChatInvoker(request *model.ExecuteQaChatRequest) *ExecuteQaChatInvoker
- func (c *CbsClient) ExecuteSession(request *model.ExecuteSessionRequest) (*model.ExecuteSessionResponse, error)deprecated
- func (c *CbsClient) ExecuteSessionInvoker(request *model.ExecuteSessionRequest) *ExecuteSessionInvokerdeprecated
- func (c *CbsClient) ExecuteUpdateImageName(request *model.ExecuteUpdateImageNameRequest) (*model.ExecuteUpdateImageNameResponse, error)
- func (c *CbsClient) ExecuteUpdateImageNameInvoker(request *model.ExecuteUpdateImageNameRequest) *ExecuteUpdateImageNameInvoker
- func (c *CbsClient) ExecuteUpdateVideoById(request *model.ExecuteUpdateVideoByIdRequest) (*model.ExecuteUpdateVideoByIdResponse, error)
- func (c *CbsClient) ExecuteUpdateVideoByIdInvoker(request *model.ExecuteUpdateVideoByIdRequest) *ExecuteUpdateVideoByIdInvoker
- func (c *CbsClient) ExecuteUpdateVideoInfoById(request *model.ExecuteUpdateVideoInfoByIdRequest) (*model.ExecuteUpdateVideoInfoByIdResponse, error)
- func (c *CbsClient) ExecuteUpdateVideoInfoByIdInvoker(request *model.ExecuteUpdateVideoInfoByIdRequest) *ExecuteUpdateVideoInfoByIdInvoker
- func (c *CbsClient) ExecuteUploadImage(request *model.ExecuteUploadImageRequest) (*model.ExecuteUploadImageResponse, error)
- func (c *CbsClient) ExecuteUploadImageInvoker(request *model.ExecuteUploadImageRequest) *ExecuteUploadImageInvoker
- func (c *CbsClient) ExecuteUploadPpt(request *model.ExecuteUploadPptRequest) (*model.ExecuteUploadPptResponse, error)
- func (c *CbsClient) ExecuteUploadPptInvoker(request *model.ExecuteUploadPptRequest) *ExecuteUploadPptInvoker
- func (c *CbsClient) ListSuggestions(request *model.ListSuggestionsRequest) (*model.ListSuggestionsResponse, error)
- func (c *CbsClient) ListSuggestionsInvoker(request *model.ListSuggestionsRequest) *ListSuggestionsInvoker
- func (c *CbsClient) PostRequests(request *model.PostRequestsRequest) (*model.PostRequestsResponse, error)deprecated
- func (c *CbsClient) PostRequestsInvoker(request *model.PostRequestsRequest) *PostRequestsInvokerdeprecated
- func (c *CbsClient) TagLabor(request *model.TagLaborRequest) (*model.TagLaborResponse, error)
- func (c *CbsClient) TagLaborInvoker(request *model.TagLaborRequest) *TagLaborInvoker
- func (c *CbsClient) TagSatisfaction(request *model.TagSatisfactionRequest) (*model.TagSatisfactionResponse, error)
- func (c *CbsClient) TagSatisfactionInvoker(request *model.TagSatisfactionRequest) *TagSatisfactionInvoker
- type CollectHotQuestionsInvoker
- type CollectKeyWordsInvoker
- type CollectReplyRatesInvoker
- type CollectSessionStatsInvoker
- type CreateSessionInvoker
- type DeleteSessionInvoker
- type ExecuteComposeVideoInvoker
- type ExecuteComposeVideoOndemandInvoker
- type ExecuteCreateVideoInvoker
- type ExecuteDeleteVideoByIdInvoker
- type ExecuteDeleteimageByIdInvoker
- type ExecuteGetCharacterInfoByIdInvoker
- type ExecuteGetCharactersInvoker
- type ExecuteGetFramsListByImagesIdInvoker
- type ExecuteGetImagesListInvoker
- type ExecuteGetVideoInfoByIdInvoker
- type ExecuteGetVideosListInvoker
- type ExecutePostCreateImagesInvoker
- type ExecuteQaChatInvoker
- type ExecuteSessionInvoker
- type ExecuteUpdateImageNameInvoker
- type ExecuteUpdateVideoByIdInvoker
- type ExecuteUpdateVideoInfoByIdInvoker
- type ExecuteUploadImageInvoker
- type ExecuteUploadPptInvoker
- type ListSuggestionsInvoker
- type PostRequestsInvoker
- type TagLaborInvoker
- type TagSatisfactionInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CbsClientBuilder ¶
func CbsClientBuilder() *httpclient.HcHttpClientBuilder
func GenReqDefForCollectHotQuestions ¶
func GenReqDefForCollectHotQuestions() *def.HttpRequestDef
func GenReqDefForCollectKeyWords ¶
func GenReqDefForCollectKeyWords() *def.HttpRequestDef
func GenReqDefForCollectReplyRates ¶
func GenReqDefForCollectReplyRates() *def.HttpRequestDef
func GenReqDefForCollectSessionStats ¶
func GenReqDefForCollectSessionStats() *def.HttpRequestDef
func GenReqDefForCreateSession ¶
func GenReqDefForCreateSession() *def.HttpRequestDef
func GenReqDefForDeleteSession ¶
func GenReqDefForDeleteSession() *def.HttpRequestDef
func GenReqDefForExecuteComposeVideo ¶ added in v0.1.37
func GenReqDefForExecuteComposeVideo() *def.HttpRequestDef
func GenReqDefForExecuteComposeVideoOndemand ¶ added in v0.1.37
func GenReqDefForExecuteComposeVideoOndemand() *def.HttpRequestDef
func GenReqDefForExecuteCreateVideo ¶ added in v0.1.37
func GenReqDefForExecuteCreateVideo() *def.HttpRequestDef
func GenReqDefForExecuteDeleteVideoById ¶ added in v0.1.37
func GenReqDefForExecuteDeleteVideoById() *def.HttpRequestDef
func GenReqDefForExecuteDeleteimageById ¶ added in v0.1.37
func GenReqDefForExecuteDeleteimageById() *def.HttpRequestDef
func GenReqDefForExecuteGetCharacterInfoById ¶ added in v0.1.37
func GenReqDefForExecuteGetCharacterInfoById() *def.HttpRequestDef
func GenReqDefForExecuteGetCharacters ¶ added in v0.1.37
func GenReqDefForExecuteGetCharacters() *def.HttpRequestDef
func GenReqDefForExecuteGetFramsListByImagesId ¶ added in v0.1.37
func GenReqDefForExecuteGetFramsListByImagesId() *def.HttpRequestDef
func GenReqDefForExecuteGetImagesList ¶ added in v0.1.37
func GenReqDefForExecuteGetImagesList() *def.HttpRequestDef
func GenReqDefForExecuteGetVideoInfoById ¶ added in v0.1.37
func GenReqDefForExecuteGetVideoInfoById() *def.HttpRequestDef
func GenReqDefForExecuteGetVideosList ¶ added in v0.1.37
func GenReqDefForExecuteGetVideosList() *def.HttpRequestDef
func GenReqDefForExecutePostCreateImages ¶ added in v0.1.37
func GenReqDefForExecutePostCreateImages() *def.HttpRequestDef
func GenReqDefForExecuteQaChat ¶
func GenReqDefForExecuteQaChat() *def.HttpRequestDef
func GenReqDefForExecuteSession ¶
func GenReqDefForExecuteSession() *def.HttpRequestDef
func GenReqDefForExecuteUpdateImageName ¶ added in v0.1.37
func GenReqDefForExecuteUpdateImageName() *def.HttpRequestDef
func GenReqDefForExecuteUpdateVideoById ¶ added in v0.1.37
func GenReqDefForExecuteUpdateVideoById() *def.HttpRequestDef
func GenReqDefForExecuteUpdateVideoInfoById ¶ added in v0.1.37
func GenReqDefForExecuteUpdateVideoInfoById() *def.HttpRequestDef
func GenReqDefForExecuteUploadImage ¶ added in v0.1.37
func GenReqDefForExecuteUploadImage() *def.HttpRequestDef
func GenReqDefForExecuteUploadPpt ¶ added in v0.1.37
func GenReqDefForExecuteUploadPpt() *def.HttpRequestDef
func GenReqDefForListSuggestions ¶
func GenReqDefForListSuggestions() *def.HttpRequestDef
func GenReqDefForPostRequests ¶ added in v0.1.42
func GenReqDefForPostRequests() *def.HttpRequestDef
func GenReqDefForTagLabor ¶
func GenReqDefForTagLabor() *def.HttpRequestDef
func GenReqDefForTagSatisfaction ¶
func GenReqDefForTagSatisfaction() *def.HttpRequestDef
Types ¶
type CbsClient ¶
type CbsClient struct {
HcClient *httpclient.HcHttpClient
}
func NewCbsClient ¶
func NewCbsClient(hcClient *httpclient.HcHttpClient) *CbsClient
func (*CbsClient) CollectHotQuestions ¶
func (c *CbsClient) CollectHotQuestions(request *model.CollectHotQuestionsRequest) (*model.CollectHotQuestionsResponse, error)
CollectHotQuestions 热点问题统计
获取完全匹配的热点标准问题列表。 默认按照完全匹配标准问题被问及的频次降序排序。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) CollectHotQuestionsInvoker ¶ added in v0.0.90
func (c *CbsClient) CollectHotQuestionsInvoker(request *model.CollectHotQuestionsRequest) *CollectHotQuestionsInvoker
CollectHotQuestionsInvoker 热点问题统计
func (*CbsClient) CollectKeyWords ¶
func (c *CbsClient) CollectKeyWords(request *model.CollectKeyWordsRequest) (*model.CollectKeyWordsResponse, error)
CollectKeyWords 关键词统计
用户问关键词统计。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) CollectKeyWordsInvoker ¶ added in v0.0.90
func (c *CbsClient) CollectKeyWordsInvoker(request *model.CollectKeyWordsRequest) *CollectKeyWordsInvoker
CollectKeyWordsInvoker 关键词统计
func (*CbsClient) CollectReplyRates ¶
func (c *CbsClient) CollectReplyRates(request *model.CollectReplyRatesRequest) (*model.CollectReplyRatesResponse, error)
CollectReplyRates 问答统计
指定领域获取指定时间范围内的问题答复率,支持按周期统计。 如果领域未指定则表示获取所有领域的问题答复率。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) CollectReplyRatesInvoker ¶ added in v0.0.90
func (c *CbsClient) CollectReplyRatesInvoker(request *model.CollectReplyRatesRequest) *CollectReplyRatesInvoker
CollectReplyRatesInvoker 问答统计
func (*CbsClient) CollectSessionStats ¶
func (c *CbsClient) CollectSessionStats(request *model.CollectSessionStatsRequest) (*model.CollectSessionStatsResponse, error)
CollectSessionStats 访问统计
获取用户会话统计信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) CollectSessionStatsInvoker ¶ added in v0.0.90
func (c *CbsClient) CollectSessionStatsInvoker(request *model.CollectSessionStatsRequest) *CollectSessionStatsInvoker
CollectSessionStatsInvoker 访问统计
func (*CbsClient) CreateSession
deprecated
func (c *CbsClient) CreateSession(request *model.CreateSessionRequest) (*model.CreateSessionResponse, error)
Deprecated: This function is deprecated and will be removed in the future versions. CreateSession 开启会话
问答会话API由开启会话、处理会话、关闭会话三个接口组成。用户可通过调用该接口创建会话。该接口仅支持老用户,新用户请优先使用问答机器人API接口进行调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) CreateSessionInvoker
deprecated
added in
v0.0.90
func (c *CbsClient) CreateSessionInvoker(request *model.CreateSessionRequest) *CreateSessionInvoker
Deprecated: This function is deprecated and will be removed in the future versions. CreateSessionInvoker 开启会话
func (*CbsClient) DeleteSession
deprecated
func (c *CbsClient) DeleteSession(request *model.DeleteSessionRequest) (*model.DeleteSessionResponse, error)
Deprecated: This function is deprecated and will be removed in the future versions. DeleteSession 关闭会话
问答会话API由开启会话、处理会话、关闭会话三个接口组成。用户可通过调用该接口关闭会话。该接口即将下线,请优先使用问答机器人API接口进行调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) DeleteSessionInvoker
deprecated
added in
v0.0.90
func (c *CbsClient) DeleteSessionInvoker(request *model.DeleteSessionRequest) *DeleteSessionInvoker
Deprecated: This function is deprecated and will be removed in the future versions. DeleteSessionInvoker 关闭会话
func (*CbsClient) ExecuteComposeVideo ¶ added in v0.1.37
func (c *CbsClient) ExecuteComposeVideo(request *model.ExecuteComposeVideoRequest) (*model.ExecuteComposeVideoResponse, error)
ExecuteComposeVideo 合成视频(按包周期收费)
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteComposeVideoInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecuteComposeVideoInvoker(request *model.ExecuteComposeVideoRequest) *ExecuteComposeVideoInvoker
ExecuteComposeVideoInvoker 合成视频(按包周期收费)
func (*CbsClient) ExecuteComposeVideoOndemand ¶ added in v0.1.37
func (c *CbsClient) ExecuteComposeVideoOndemand(request *model.ExecuteComposeVideoOndemandRequest) (*model.ExecuteComposeVideoOndemandResponse, error)
ExecuteComposeVideoOndemand 合成视频(按需收费)
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteComposeVideoOndemandInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecuteComposeVideoOndemandInvoker(request *model.ExecuteComposeVideoOndemandRequest) *ExecuteComposeVideoOndemandInvoker
ExecuteComposeVideoOndemandInvoker 合成视频(按需收费)
func (*CbsClient) ExecuteCreateVideo ¶ added in v0.1.37
func (c *CbsClient) ExecuteCreateVideo(request *model.ExecuteCreateVideoRequest) (*model.ExecuteCreateVideoResponse, error)
ExecuteCreateVideo 创建视频
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteCreateVideoInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecuteCreateVideoInvoker(request *model.ExecuteCreateVideoRequest) *ExecuteCreateVideoInvoker
ExecuteCreateVideoInvoker 创建视频
func (*CbsClient) ExecuteDeleteVideoById ¶ added in v0.1.37
func (c *CbsClient) ExecuteDeleteVideoById(request *model.ExecuteDeleteVideoByIdRequest) (*model.ExecuteDeleteVideoByIdResponse, error)
ExecuteDeleteVideoById 删除视频
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteDeleteVideoByIdInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecuteDeleteVideoByIdInvoker(request *model.ExecuteDeleteVideoByIdRequest) *ExecuteDeleteVideoByIdInvoker
ExecuteDeleteVideoByIdInvoker 删除视频
func (*CbsClient) ExecuteDeleteimageById ¶ added in v0.1.37
func (c *CbsClient) ExecuteDeleteimageById(request *model.ExecuteDeleteimageByIdRequest) (*model.ExecuteDeleteimageByIdResponse, error)
ExecuteDeleteimageById 删除图片
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteDeleteimageByIdInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecuteDeleteimageByIdInvoker(request *model.ExecuteDeleteimageByIdRequest) *ExecuteDeleteimageByIdInvoker
ExecuteDeleteimageByIdInvoker 删除图片
func (*CbsClient) ExecuteGetCharacterInfoById ¶ added in v0.1.37
func (c *CbsClient) ExecuteGetCharacterInfoById(request *model.ExecuteGetCharacterInfoByIdRequest) (*model.ExecuteGetCharacterInfoByIdResponse, error)
ExecuteGetCharacterInfoById 获取形象详情
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteGetCharacterInfoByIdInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecuteGetCharacterInfoByIdInvoker(request *model.ExecuteGetCharacterInfoByIdRequest) *ExecuteGetCharacterInfoByIdInvoker
ExecuteGetCharacterInfoByIdInvoker 获取形象详情
func (*CbsClient) ExecuteGetCharacters ¶ added in v0.1.37
func (c *CbsClient) ExecuteGetCharacters(request *model.ExecuteGetCharactersRequest) (*model.ExecuteGetCharactersResponse, error)
ExecuteGetCharacters 获取形象列表
TODO:
本期不做形象进度
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteGetCharactersInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecuteGetCharactersInvoker(request *model.ExecuteGetCharactersRequest) *ExecuteGetCharactersInvoker
ExecuteGetCharactersInvoker 获取形象列表
func (*CbsClient) ExecuteGetFramsListByImagesId ¶ added in v0.1.37
func (c *CbsClient) ExecuteGetFramsListByImagesId(request *model.ExecuteGetFramsListByImagesIdRequest) (*model.ExecuteGetFramsListByImagesIdResponse, error)
ExecuteGetFramsListByImagesId 获取播报框
获取指定图片可用的播报框列表
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteGetFramsListByImagesIdInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecuteGetFramsListByImagesIdInvoker(request *model.ExecuteGetFramsListByImagesIdRequest) *ExecuteGetFramsListByImagesIdInvoker
ExecuteGetFramsListByImagesIdInvoker 获取播报框
func (*CbsClient) ExecuteGetImagesList ¶ added in v0.1.37
func (c *CbsClient) ExecuteGetImagesList(request *model.ExecuteGetImagesListRequest) (*model.ExecuteGetImagesListResponse, error)
ExecuteGetImagesList 获取图片列表
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteGetImagesListInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecuteGetImagesListInvoker(request *model.ExecuteGetImagesListRequest) *ExecuteGetImagesListInvoker
ExecuteGetImagesListInvoker 获取图片列表
func (*CbsClient) ExecuteGetVideoInfoById ¶ added in v0.1.37
func (c *CbsClient) ExecuteGetVideoInfoById(request *model.ExecuteGetVideoInfoByIdRequest) (*model.ExecuteGetVideoInfoByIdResponse, error)
ExecuteGetVideoInfoById 获取视频详情
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteGetVideoInfoByIdInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecuteGetVideoInfoByIdInvoker(request *model.ExecuteGetVideoInfoByIdRequest) *ExecuteGetVideoInfoByIdInvoker
ExecuteGetVideoInfoByIdInvoker 获取视频详情
func (*CbsClient) ExecuteGetVideosList ¶ added in v0.1.37
func (c *CbsClient) ExecuteGetVideosList(request *model.ExecuteGetVideosListRequest) (*model.ExecuteGetVideosListResponse, error)
ExecuteGetVideosList 获取视频列表
该接口用于获取视频列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteGetVideosListInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecuteGetVideosListInvoker(request *model.ExecuteGetVideosListRequest) *ExecuteGetVideosListInvoker
ExecuteGetVideosListInvoker 获取视频列表
func (*CbsClient) ExecutePostCreateImages ¶ added in v0.1.37
func (c *CbsClient) ExecutePostCreateImages(request *model.ExecutePostCreateImagesRequest) (*model.ExecutePostCreateImagesResponse, error)
ExecutePostCreateImages 创建图片
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecutePostCreateImagesInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecutePostCreateImagesInvoker(request *model.ExecutePostCreateImagesRequest) *ExecutePostCreateImagesInvoker
ExecutePostCreateImagesInvoker 创建图片
func (*CbsClient) ExecuteQaChat ¶
func (c *CbsClient) ExecuteQaChat(request *model.ExecuteQaChatRequest) (*model.ExecuteQaChatResponse, error)
ExecuteQaChat 问答机器人会话
用户调用该接口和机器人进行聊天。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteQaChatInvoker ¶ added in v0.0.90
func (c *CbsClient) ExecuteQaChatInvoker(request *model.ExecuteQaChatRequest) *ExecuteQaChatInvoker
ExecuteQaChatInvoker 问答机器人会话
func (*CbsClient) ExecuteSession
deprecated
func (c *CbsClient) ExecuteSession(request *model.ExecuteSessionRequest) (*model.ExecuteSessionResponse, error)
Deprecated: This function is deprecated and will be removed in the future versions. ExecuteSession 处理会话
问答会话API由开启会话、处理会话、关闭会话三个接口组成。用户可通过调用该接口与机器人进行会话。该接口即将下线,请优先使用问答机器人API接口进行调用。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteSessionInvoker
deprecated
added in
v0.0.90
func (c *CbsClient) ExecuteSessionInvoker(request *model.ExecuteSessionRequest) *ExecuteSessionInvoker
Deprecated: This function is deprecated and will be removed in the future versions. ExecuteSessionInvoker 处理会话
func (*CbsClient) ExecuteUpdateImageName ¶ added in v0.1.37
func (c *CbsClient) ExecuteUpdateImageName(request *model.ExecuteUpdateImageNameRequest) (*model.ExecuteUpdateImageNameResponse, error)
ExecuteUpdateImageName 修改图片名
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteUpdateImageNameInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecuteUpdateImageNameInvoker(request *model.ExecuteUpdateImageNameRequest) *ExecuteUpdateImageNameInvoker
ExecuteUpdateImageNameInvoker 修改图片名
func (*CbsClient) ExecuteUpdateVideoById ¶ added in v0.1.37
func (c *CbsClient) ExecuteUpdateVideoById(request *model.ExecuteUpdateVideoByIdRequest) (*model.ExecuteUpdateVideoByIdResponse, error)
ExecuteUpdateVideoById 更新视频名
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteUpdateVideoByIdInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecuteUpdateVideoByIdInvoker(request *model.ExecuteUpdateVideoByIdRequest) *ExecuteUpdateVideoByIdInvoker
ExecuteUpdateVideoByIdInvoker 更新视频名
func (*CbsClient) ExecuteUpdateVideoInfoById ¶ added in v0.1.37
func (c *CbsClient) ExecuteUpdateVideoInfoById(request *model.ExecuteUpdateVideoInfoByIdRequest) (*model.ExecuteUpdateVideoInfoByIdResponse, error)
ExecuteUpdateVideoInfoById 配置视频
通过该接口配置视频
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteUpdateVideoInfoByIdInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecuteUpdateVideoInfoByIdInvoker(request *model.ExecuteUpdateVideoInfoByIdRequest) *ExecuteUpdateVideoInfoByIdInvoker
ExecuteUpdateVideoInfoByIdInvoker 配置视频
func (*CbsClient) ExecuteUploadImage ¶ added in v0.1.37
func (c *CbsClient) ExecuteUploadImage(request *model.ExecuteUploadImageRequest) (*model.ExecuteUploadImageResponse, error)
ExecuteUploadImage 上传播报插图
上传图片并生成图片链接,图片需小于10m; 同一个视频同时最多支持50张插图。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteUploadImageInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecuteUploadImageInvoker(request *model.ExecuteUploadImageRequest) *ExecuteUploadImageInvoker
ExecuteUploadImageInvoker 上传播报插图
func (*CbsClient) ExecuteUploadPpt ¶ added in v0.1.37
func (c *CbsClient) ExecuteUploadPpt(request *model.ExecuteUploadPptRequest) (*model.ExecuteUploadPptResponse, error)
ExecuteUploadPpt 通过pdf上传多张插图
当前仅支持上传PDF,如有PPT请将PPT转化为PDF再进行上传,文件需小于10m; 该接口会将pdf每一页转换图片,并生成链接; 同一个视频同时最多支持50张插图。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ExecuteUploadPptInvoker ¶ added in v0.1.37
func (c *CbsClient) ExecuteUploadPptInvoker(request *model.ExecuteUploadPptRequest) *ExecuteUploadPptInvoker
ExecuteUploadPptInvoker 通过pdf上传多张插图
func (*CbsClient) ListSuggestions ¶
func (c *CbsClient) ListSuggestions(request *model.ListSuggestionsRequest) (*model.ListSuggestionsResponse, error)
ListSuggestions 获取问题提示
获取用户输入问题的提示问题列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) ListSuggestionsInvoker ¶ added in v0.0.90
func (c *CbsClient) ListSuggestionsInvoker(request *model.ListSuggestionsRequest) *ListSuggestionsInvoker
ListSuggestionsInvoker 获取问题提示
func (*CbsClient) PostRequests
deprecated
added in
v0.1.42
func (c *CbsClient) PostRequests(request *model.PostRequestsRequest) (*model.PostRequestsResponse, error)
Deprecated: This function is deprecated and will be removed in the future versions. PostRequests PostRequests
问答服务的输入为用户提问,输出是与输入最匹配的Top N(默认为top5)个知识点,知识点按得分从高到低排序。
说明: 返回知识点如果含有答案字段(answer),则表示返回匹配成功结果,如果没有答案字段,则表示推荐结果。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) PostRequestsInvoker
deprecated
added in
v0.1.42
func (c *CbsClient) PostRequestsInvoker(request *model.PostRequestsRequest) *PostRequestsInvoker
Deprecated: This function is deprecated and will be removed in the future versions. PostRequestsInvoker PostRequests
func (*CbsClient) TagLabor ¶
func (c *CbsClient) TagLabor(request *model.TagLaborRequest) (*model.TagLaborResponse, error)
TagLabor 标记为转人工
智能问答返回的结果后,用户是否转人工。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) TagLaborInvoker ¶ added in v0.0.90
func (c *CbsClient) TagLaborInvoker(request *model.TagLaborRequest) *TagLaborInvoker
TagLaborInvoker 标记为转人工
func (*CbsClient) TagSatisfaction ¶
func (c *CbsClient) TagSatisfaction(request *model.TagSatisfactionRequest) (*model.TagSatisfactionResponse, error)
TagSatisfaction 问答满意评价
用户提出问题后,对智能问答返回的结果是否满意。
Please refer to HUAWEI cloud API Explorer for details.
func (*CbsClient) TagSatisfactionInvoker ¶ added in v0.0.90
func (c *CbsClient) TagSatisfactionInvoker(request *model.TagSatisfactionRequest) *TagSatisfactionInvoker
TagSatisfactionInvoker 问答满意评价
type CollectHotQuestionsInvoker ¶ added in v0.0.90
type CollectHotQuestionsInvoker struct {
*invoker.BaseInvoker
}
func (*CollectHotQuestionsInvoker) Invoke ¶ added in v0.0.90
func (i *CollectHotQuestionsInvoker) Invoke() (*model.CollectHotQuestionsResponse, error)
type CollectKeyWordsInvoker ¶ added in v0.0.90
type CollectKeyWordsInvoker struct {
*invoker.BaseInvoker
}
func (*CollectKeyWordsInvoker) Invoke ¶ added in v0.0.90
func (i *CollectKeyWordsInvoker) Invoke() (*model.CollectKeyWordsResponse, error)
type CollectReplyRatesInvoker ¶ added in v0.0.90
type CollectReplyRatesInvoker struct {
*invoker.BaseInvoker
}
func (*CollectReplyRatesInvoker) Invoke ¶ added in v0.0.90
func (i *CollectReplyRatesInvoker) Invoke() (*model.CollectReplyRatesResponse, error)
type CollectSessionStatsInvoker ¶ added in v0.0.90
type CollectSessionStatsInvoker struct {
*invoker.BaseInvoker
}
func (*CollectSessionStatsInvoker) Invoke ¶ added in v0.0.90
func (i *CollectSessionStatsInvoker) Invoke() (*model.CollectSessionStatsResponse, error)
type CreateSessionInvoker ¶ added in v0.0.90
type CreateSessionInvoker struct {
*invoker.BaseInvoker
}
func (*CreateSessionInvoker) Invoke
deprecated
added in
v0.0.90
func (i *CreateSessionInvoker) Invoke() (*model.CreateSessionResponse, error)
Deprecated: This function is deprecated and will be removed in the future versions.
type DeleteSessionInvoker ¶ added in v0.0.90
type DeleteSessionInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteSessionInvoker) Invoke
deprecated
added in
v0.0.90
func (i *DeleteSessionInvoker) Invoke() (*model.DeleteSessionResponse, error)
Deprecated: This function is deprecated and will be removed in the future versions.
type ExecuteComposeVideoInvoker ¶ added in v0.1.37
type ExecuteComposeVideoInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteComposeVideoInvoker) Invoke ¶ added in v0.1.37
func (i *ExecuteComposeVideoInvoker) Invoke() (*model.ExecuteComposeVideoResponse, error)
type ExecuteComposeVideoOndemandInvoker ¶ added in v0.1.37
type ExecuteComposeVideoOndemandInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteComposeVideoOndemandInvoker) Invoke ¶ added in v0.1.37
func (i *ExecuteComposeVideoOndemandInvoker) Invoke() (*model.ExecuteComposeVideoOndemandResponse, error)
type ExecuteCreateVideoInvoker ¶ added in v0.1.37
type ExecuteCreateVideoInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteCreateVideoInvoker) Invoke ¶ added in v0.1.37
func (i *ExecuteCreateVideoInvoker) Invoke() (*model.ExecuteCreateVideoResponse, error)
type ExecuteDeleteVideoByIdInvoker ¶ added in v0.1.37
type ExecuteDeleteVideoByIdInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteDeleteVideoByIdInvoker) Invoke ¶ added in v0.1.37
func (i *ExecuteDeleteVideoByIdInvoker) Invoke() (*model.ExecuteDeleteVideoByIdResponse, error)
type ExecuteDeleteimageByIdInvoker ¶ added in v0.1.37
type ExecuteDeleteimageByIdInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteDeleteimageByIdInvoker) Invoke ¶ added in v0.1.37
func (i *ExecuteDeleteimageByIdInvoker) Invoke() (*model.ExecuteDeleteimageByIdResponse, error)
type ExecuteGetCharacterInfoByIdInvoker ¶ added in v0.1.37
type ExecuteGetCharacterInfoByIdInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteGetCharacterInfoByIdInvoker) Invoke ¶ added in v0.1.37
func (i *ExecuteGetCharacterInfoByIdInvoker) Invoke() (*model.ExecuteGetCharacterInfoByIdResponse, error)
type ExecuteGetCharactersInvoker ¶ added in v0.1.37
type ExecuteGetCharactersInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteGetCharactersInvoker) Invoke ¶ added in v0.1.37
func (i *ExecuteGetCharactersInvoker) Invoke() (*model.ExecuteGetCharactersResponse, error)
type ExecuteGetFramsListByImagesIdInvoker ¶ added in v0.1.37
type ExecuteGetFramsListByImagesIdInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteGetFramsListByImagesIdInvoker) Invoke ¶ added in v0.1.37
func (i *ExecuteGetFramsListByImagesIdInvoker) Invoke() (*model.ExecuteGetFramsListByImagesIdResponse, error)
type ExecuteGetImagesListInvoker ¶ added in v0.1.37
type ExecuteGetImagesListInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteGetImagesListInvoker) Invoke ¶ added in v0.1.37
func (i *ExecuteGetImagesListInvoker) Invoke() (*model.ExecuteGetImagesListResponse, error)
type ExecuteGetVideoInfoByIdInvoker ¶ added in v0.1.37
type ExecuteGetVideoInfoByIdInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteGetVideoInfoByIdInvoker) Invoke ¶ added in v0.1.37
func (i *ExecuteGetVideoInfoByIdInvoker) Invoke() (*model.ExecuteGetVideoInfoByIdResponse, error)
type ExecuteGetVideosListInvoker ¶ added in v0.1.37
type ExecuteGetVideosListInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteGetVideosListInvoker) Invoke ¶ added in v0.1.37
func (i *ExecuteGetVideosListInvoker) Invoke() (*model.ExecuteGetVideosListResponse, error)
type ExecutePostCreateImagesInvoker ¶ added in v0.1.37
type ExecutePostCreateImagesInvoker struct {
*invoker.BaseInvoker
}
func (*ExecutePostCreateImagesInvoker) Invoke ¶ added in v0.1.37
func (i *ExecutePostCreateImagesInvoker) Invoke() (*model.ExecutePostCreateImagesResponse, error)
type ExecuteQaChatInvoker ¶ added in v0.0.90
type ExecuteQaChatInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteQaChatInvoker) Invoke ¶ added in v0.0.90
func (i *ExecuteQaChatInvoker) Invoke() (*model.ExecuteQaChatResponse, error)
type ExecuteSessionInvoker ¶ added in v0.0.90
type ExecuteSessionInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteSessionInvoker) Invoke
deprecated
added in
v0.0.90
func (i *ExecuteSessionInvoker) Invoke() (*model.ExecuteSessionResponse, error)
Deprecated: This function is deprecated and will be removed in the future versions.
type ExecuteUpdateImageNameInvoker ¶ added in v0.1.37
type ExecuteUpdateImageNameInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteUpdateImageNameInvoker) Invoke ¶ added in v0.1.37
func (i *ExecuteUpdateImageNameInvoker) Invoke() (*model.ExecuteUpdateImageNameResponse, error)
type ExecuteUpdateVideoByIdInvoker ¶ added in v0.1.37
type ExecuteUpdateVideoByIdInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteUpdateVideoByIdInvoker) Invoke ¶ added in v0.1.37
func (i *ExecuteUpdateVideoByIdInvoker) Invoke() (*model.ExecuteUpdateVideoByIdResponse, error)
type ExecuteUpdateVideoInfoByIdInvoker ¶ added in v0.1.37
type ExecuteUpdateVideoInfoByIdInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteUpdateVideoInfoByIdInvoker) Invoke ¶ added in v0.1.37
func (i *ExecuteUpdateVideoInfoByIdInvoker) Invoke() (*model.ExecuteUpdateVideoInfoByIdResponse, error)
type ExecuteUploadImageInvoker ¶ added in v0.1.37
type ExecuteUploadImageInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteUploadImageInvoker) Invoke ¶ added in v0.1.37
func (i *ExecuteUploadImageInvoker) Invoke() (*model.ExecuteUploadImageResponse, error)
type ExecuteUploadPptInvoker ¶ added in v0.1.37
type ExecuteUploadPptInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteUploadPptInvoker) Invoke ¶ added in v0.1.37
func (i *ExecuteUploadPptInvoker) Invoke() (*model.ExecuteUploadPptResponse, error)
type ListSuggestionsInvoker ¶ added in v0.0.90
type ListSuggestionsInvoker struct {
*invoker.BaseInvoker
}
func (*ListSuggestionsInvoker) Invoke ¶ added in v0.0.90
func (i *ListSuggestionsInvoker) Invoke() (*model.ListSuggestionsResponse, error)
type PostRequestsInvoker ¶ added in v0.1.42
type PostRequestsInvoker struct {
*invoker.BaseInvoker
}
func (*PostRequestsInvoker) Invoke
deprecated
added in
v0.1.42
func (i *PostRequestsInvoker) Invoke() (*model.PostRequestsResponse, error)
Deprecated: This function is deprecated and will be removed in the future versions.
type TagLaborInvoker ¶ added in v0.0.90
type TagLaborInvoker struct {
*invoker.BaseInvoker
}
func (*TagLaborInvoker) Invoke ¶ added in v0.0.90
func (i *TagLaborInvoker) Invoke() (*model.TagLaborResponse, error)
type TagSatisfactionInvoker ¶ added in v0.0.90
type TagSatisfactionInvoker struct {
*invoker.BaseInvoker
}
func (*TagSatisfactionInvoker) Invoke ¶ added in v0.0.90
func (i *TagSatisfactionInvoker) Invoke() (*model.TagSatisfactionResponse, error)