Documentation ¶
Index ¶
- func GenReqDefForRunAspectSentiment() *def.HttpRequestDef
- func GenReqDefForRunAspectSentimentAdvance() *def.HttpRequestDef
- func GenReqDefForRunClassification() *def.HttpRequestDef
- func GenReqDefForRunConstituencyParser() *def.HttpRequestDef
- func GenReqDefForRunDependencyParser() *def.HttpRequestDef
- func GenReqDefForRunDocClassification() *def.HttpRequestDef
- func GenReqDefForRunDomainSentiment() *def.HttpRequestDef
- func GenReqDefForRunEntityLinking() *def.HttpRequestDef
- func GenReqDefForRunEntitySentiment() *def.HttpRequestDef
- func GenReqDefForRunEventExtraction() *def.HttpRequestDef
- func GenReqDefForRunFileTranslation() *def.HttpRequestDef
- func GenReqDefForRunGetFileTranslationResult() *def.HttpRequestDef
- func GenReqDefForRunKeywordExtract() *def.HttpRequestDef
- func GenReqDefForRunLanguageDetection() *def.HttpRequestDef
- func GenReqDefForRunMultiGrainedSegment() *def.HttpRequestDef
- func GenReqDefForRunNer() *def.HttpRequestDef
- func GenReqDefForRunNerDomain() *def.HttpRequestDef
- func GenReqDefForRunPoem() *def.HttpRequestDef
- func GenReqDefForRunSegment() *def.HttpRequestDef
- func GenReqDefForRunSemanticParser() *def.HttpRequestDef
- func GenReqDefForRunSentenceEmbedding() *def.HttpRequestDef
- func GenReqDefForRunSentiment() *def.HttpRequestDef
- func GenReqDefForRunSummary() *def.HttpRequestDef
- func GenReqDefForRunSummaryDomain() *def.HttpRequestDef
- func GenReqDefForRunTextSimilarity() *def.HttpRequestDef
- func GenReqDefForRunTextSimilarityAdvance() *def.HttpRequestDef
- func GenReqDefForRunTextTranslation() *def.HttpRequestDef
- func NlpClientBuilder() *httpclient.HcHttpClientBuilder
- type NlpClient
- func (c *NlpClient) RunAspectSentiment(request *model.RunAspectSentimentRequest) (*model.RunAspectSentimentResponse, error)
- func (c *NlpClient) RunAspectSentimentAdvance(request *model.RunAspectSentimentAdvanceRequest) (*model.RunAspectSentimentAdvanceResponse, error)
- func (c *NlpClient) RunAspectSentimentAdvanceInvoker(request *model.RunAspectSentimentAdvanceRequest) *RunAspectSentimentAdvanceInvoker
- func (c *NlpClient) RunAspectSentimentInvoker(request *model.RunAspectSentimentRequest) *RunAspectSentimentInvoker
- func (c *NlpClient) RunClassification(request *model.RunClassificationRequest) (*model.RunClassificationResponse, error)
- func (c *NlpClient) RunClassificationInvoker(request *model.RunClassificationRequest) *RunClassificationInvoker
- func (c *NlpClient) RunConstituencyParser(request *model.RunConstituencyParserRequest) (*model.RunConstituencyParserResponse, error)
- func (c *NlpClient) RunConstituencyParserInvoker(request *model.RunConstituencyParserRequest) *RunConstituencyParserInvoker
- func (c *NlpClient) RunDependencyParser(request *model.RunDependencyParserRequest) (*model.RunDependencyParserResponse, error)
- func (c *NlpClient) RunDependencyParserInvoker(request *model.RunDependencyParserRequest) *RunDependencyParserInvoker
- func (c *NlpClient) RunDocClassification(request *model.RunDocClassificationRequest) (*model.RunDocClassificationResponse, error)
- func (c *NlpClient) RunDocClassificationInvoker(request *model.RunDocClassificationRequest) *RunDocClassificationInvoker
- func (c *NlpClient) RunDomainSentiment(request *model.RunDomainSentimentRequest) (*model.RunDomainSentimentResponse, error)
- func (c *NlpClient) RunDomainSentimentInvoker(request *model.RunDomainSentimentRequest) *RunDomainSentimentInvoker
- func (c *NlpClient) RunEntityLinking(request *model.RunEntityLinkingRequest) (*model.RunEntityLinkingResponse, error)
- func (c *NlpClient) RunEntityLinkingInvoker(request *model.RunEntityLinkingRequest) *RunEntityLinkingInvoker
- func (c *NlpClient) RunEntitySentiment(request *model.RunEntitySentimentRequest) (*model.RunEntitySentimentResponse, error)
- func (c *NlpClient) RunEntitySentimentInvoker(request *model.RunEntitySentimentRequest) *RunEntitySentimentInvoker
- func (c *NlpClient) RunEventExtraction(request *model.RunEventExtractionRequest) (*model.RunEventExtractionResponse, error)
- func (c *NlpClient) RunEventExtractionInvoker(request *model.RunEventExtractionRequest) *RunEventExtractionInvoker
- func (c *NlpClient) RunFileTranslation(request *model.RunFileTranslationRequest) (*model.RunFileTranslationResponse, error)
- func (c *NlpClient) RunFileTranslationInvoker(request *model.RunFileTranslationRequest) *RunFileTranslationInvoker
- func (c *NlpClient) RunGetFileTranslationResult(request *model.RunGetFileTranslationResultRequest) (*model.RunGetFileTranslationResultResponse, error)
- func (c *NlpClient) RunGetFileTranslationResultInvoker(request *model.RunGetFileTranslationResultRequest) *RunGetFileTranslationResultInvoker
- func (c *NlpClient) RunKeywordExtract(request *model.RunKeywordExtractRequest) (*model.RunKeywordExtractResponse, error)
- func (c *NlpClient) RunKeywordExtractInvoker(request *model.RunKeywordExtractRequest) *RunKeywordExtractInvoker
- func (c *NlpClient) RunLanguageDetection(request *model.RunLanguageDetectionRequest) (*model.RunLanguageDetectionResponse, error)
- func (c *NlpClient) RunLanguageDetectionInvoker(request *model.RunLanguageDetectionRequest) *RunLanguageDetectionInvoker
- func (c *NlpClient) RunMultiGrainedSegment(request *model.RunMultiGrainedSegmentRequest) (*model.RunMultiGrainedSegmentResponse, error)
- func (c *NlpClient) RunMultiGrainedSegmentInvoker(request *model.RunMultiGrainedSegmentRequest) *RunMultiGrainedSegmentInvoker
- func (c *NlpClient) RunNer(request *model.RunNerRequest) (*model.RunNerResponse, error)
- func (c *NlpClient) RunNerDomain(request *model.RunNerDomainRequest) (*model.RunNerDomainResponse, error)
- func (c *NlpClient) RunNerDomainInvoker(request *model.RunNerDomainRequest) *RunNerDomainInvoker
- func (c *NlpClient) RunNerInvoker(request *model.RunNerRequest) *RunNerInvoker
- func (c *NlpClient) RunPoem(request *model.RunPoemRequest) (*model.RunPoemResponse, error)
- func (c *NlpClient) RunPoemInvoker(request *model.RunPoemRequest) *RunPoemInvoker
- func (c *NlpClient) RunSegment(request *model.RunSegmentRequest) (*model.RunSegmentResponse, error)
- func (c *NlpClient) RunSegmentInvoker(request *model.RunSegmentRequest) *RunSegmentInvoker
- func (c *NlpClient) RunSemanticParser(request *model.RunSemanticParserRequest) (*model.RunSemanticParserResponse, error)
- func (c *NlpClient) RunSemanticParserInvoker(request *model.RunSemanticParserRequest) *RunSemanticParserInvoker
- func (c *NlpClient) RunSentenceEmbedding(request *model.RunSentenceEmbeddingRequest) (*model.RunSentenceEmbeddingResponse, error)
- func (c *NlpClient) RunSentenceEmbeddingInvoker(request *model.RunSentenceEmbeddingRequest) *RunSentenceEmbeddingInvoker
- func (c *NlpClient) RunSentiment(request *model.RunSentimentRequest) (*model.RunSentimentResponse, error)
- func (c *NlpClient) RunSentimentInvoker(request *model.RunSentimentRequest) *RunSentimentInvoker
- func (c *NlpClient) RunSummary(request *model.RunSummaryRequest) (*model.RunSummaryResponse, error)
- func (c *NlpClient) RunSummaryDomain(request *model.RunSummaryDomainRequest) (*model.RunSummaryDomainResponse, error)
- func (c *NlpClient) RunSummaryDomainInvoker(request *model.RunSummaryDomainRequest) *RunSummaryDomainInvoker
- func (c *NlpClient) RunSummaryInvoker(request *model.RunSummaryRequest) *RunSummaryInvoker
- func (c *NlpClient) RunTextSimilarity(request *model.RunTextSimilarityRequest) (*model.RunTextSimilarityResponse, error)
- func (c *NlpClient) RunTextSimilarityAdvance(request *model.RunTextSimilarityAdvanceRequest) (*model.RunTextSimilarityAdvanceResponse, error)
- func (c *NlpClient) RunTextSimilarityAdvanceInvoker(request *model.RunTextSimilarityAdvanceRequest) *RunTextSimilarityAdvanceInvoker
- func (c *NlpClient) RunTextSimilarityInvoker(request *model.RunTextSimilarityRequest) *RunTextSimilarityInvoker
- func (c *NlpClient) RunTextTranslation(request *model.RunTextTranslationRequest) (*model.RunTextTranslationResponse, error)
- func (c *NlpClient) RunTextTranslationInvoker(request *model.RunTextTranslationRequest) *RunTextTranslationInvoker
- type RunAspectSentimentAdvanceInvoker
- type RunAspectSentimentInvoker
- type RunClassificationInvoker
- type RunConstituencyParserInvoker
- type RunDependencyParserInvoker
- type RunDocClassificationInvoker
- type RunDomainSentimentInvoker
- type RunEntityLinkingInvoker
- type RunEntitySentimentInvoker
- type RunEventExtractionInvoker
- type RunFileTranslationInvoker
- type RunGetFileTranslationResultInvoker
- type RunKeywordExtractInvoker
- type RunLanguageDetectionInvoker
- type RunMultiGrainedSegmentInvoker
- type RunNerDomainInvoker
- type RunNerInvoker
- type RunPoemInvoker
- type RunSegmentInvoker
- type RunSemanticParserInvoker
- type RunSentenceEmbeddingInvoker
- type RunSentimentInvoker
- type RunSummaryDomainInvoker
- type RunSummaryInvoker
- type RunTextSimilarityAdvanceInvoker
- type RunTextSimilarityInvoker
- type RunTextTranslationInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForRunAspectSentiment ¶
func GenReqDefForRunAspectSentiment() *def.HttpRequestDef
func GenReqDefForRunAspectSentimentAdvance ¶
func GenReqDefForRunAspectSentimentAdvance() *def.HttpRequestDef
func GenReqDefForRunClassification ¶
func GenReqDefForRunClassification() *def.HttpRequestDef
func GenReqDefForRunConstituencyParser ¶ added in v0.0.100
func GenReqDefForRunConstituencyParser() *def.HttpRequestDef
func GenReqDefForRunDependencyParser ¶
func GenReqDefForRunDependencyParser() *def.HttpRequestDef
func GenReqDefForRunDocClassification ¶
func GenReqDefForRunDocClassification() *def.HttpRequestDef
func GenReqDefForRunDomainSentiment ¶
func GenReqDefForRunDomainSentiment() *def.HttpRequestDef
func GenReqDefForRunEntityLinking ¶
func GenReqDefForRunEntityLinking() *def.HttpRequestDef
func GenReqDefForRunEntitySentiment ¶
func GenReqDefForRunEntitySentiment() *def.HttpRequestDef
func GenReqDefForRunEventExtraction ¶
func GenReqDefForRunEventExtraction() *def.HttpRequestDef
func GenReqDefForRunFileTranslation ¶
func GenReqDefForRunFileTranslation() *def.HttpRequestDef
func GenReqDefForRunGetFileTranslationResult ¶
func GenReqDefForRunGetFileTranslationResult() *def.HttpRequestDef
func GenReqDefForRunKeywordExtract ¶
func GenReqDefForRunKeywordExtract() *def.HttpRequestDef
func GenReqDefForRunLanguageDetection ¶
func GenReqDefForRunLanguageDetection() *def.HttpRequestDef
func GenReqDefForRunMultiGrainedSegment ¶
func GenReqDefForRunMultiGrainedSegment() *def.HttpRequestDef
func GenReqDefForRunNer ¶
func GenReqDefForRunNer() *def.HttpRequestDef
func GenReqDefForRunNerDomain ¶
func GenReqDefForRunNerDomain() *def.HttpRequestDef
func GenReqDefForRunPoem ¶
func GenReqDefForRunPoem() *def.HttpRequestDef
func GenReqDefForRunSegment ¶
func GenReqDefForRunSegment() *def.HttpRequestDef
func GenReqDefForRunSemanticParser ¶
func GenReqDefForRunSemanticParser() *def.HttpRequestDef
func GenReqDefForRunSentenceEmbedding ¶
func GenReqDefForRunSentenceEmbedding() *def.HttpRequestDef
func GenReqDefForRunSentiment ¶
func GenReqDefForRunSentiment() *def.HttpRequestDef
func GenReqDefForRunSummary ¶
func GenReqDefForRunSummary() *def.HttpRequestDef
func GenReqDefForRunSummaryDomain ¶
func GenReqDefForRunSummaryDomain() *def.HttpRequestDef
func GenReqDefForRunTextSimilarity ¶
func GenReqDefForRunTextSimilarity() *def.HttpRequestDef
func GenReqDefForRunTextSimilarityAdvance ¶
func GenReqDefForRunTextSimilarityAdvance() *def.HttpRequestDef
func GenReqDefForRunTextTranslation ¶
func GenReqDefForRunTextTranslation() *def.HttpRequestDef
func NlpClientBuilder ¶
func NlpClientBuilder() *httpclient.HcHttpClientBuilder
Types ¶
type NlpClient ¶
type NlpClient struct {
HcClient *httpclient.HcHttpClient
}
func NewNlpClient ¶
func NewNlpClient(hcClient *httpclient.HcHttpClient) *NlpClient
func (*NlpClient) RunAspectSentiment ¶
func (c *NlpClient) RunAspectSentiment(request *model.RunAspectSentimentRequest) (*model.RunAspectSentimentResponse, error)
RunAspectSentiment 属性级情感分析
属性级情感分析,针对手机领域的用户评论进行属性级情感分析。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunAspectSentimentAdvance ¶
func (c *NlpClient) RunAspectSentimentAdvance(request *model.RunAspectSentimentAdvanceRequest) (*model.RunAspectSentimentAdvanceResponse, error)
RunAspectSentimentAdvance 属性级情感分析(高级版)
属性级情感分析(高级版),针对手机、汽车领域的用户评论进行属性级情感分析。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunAspectSentimentAdvanceInvoker ¶ added in v0.0.90
func (c *NlpClient) RunAspectSentimentAdvanceInvoker(request *model.RunAspectSentimentAdvanceRequest) *RunAspectSentimentAdvanceInvoker
RunAspectSentimentAdvanceInvoker 属性级情感分析(高级版)
func (*NlpClient) RunAspectSentimentInvoker ¶ added in v0.0.90
func (c *NlpClient) RunAspectSentimentInvoker(request *model.RunAspectSentimentRequest) *RunAspectSentimentInvoker
RunAspectSentimentInvoker 属性级情感分析
func (*NlpClient) RunClassification ¶
func (c *NlpClient) RunClassification(request *model.RunClassificationRequest) (*model.RunClassificationResponse, error)
RunClassification 文本分类
针对广告领域的自动分类,判断是否是广告。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunClassificationInvoker ¶ added in v0.0.90
func (c *NlpClient) RunClassificationInvoker(request *model.RunClassificationRequest) *RunClassificationInvoker
RunClassificationInvoker 文本分类
func (*NlpClient) RunConstituencyParser ¶ added in v0.0.100
func (c *NlpClient) RunConstituencyParser(request *model.RunConstituencyParserRequest) (*model.RunConstituencyParserResponse, error)
RunConstituencyParser 成分句法分析
识别句子中的成分以及成分之间的层次包含关系。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunConstituencyParserInvoker ¶ added in v0.0.100
func (c *NlpClient) RunConstituencyParserInvoker(request *model.RunConstituencyParserRequest) *RunConstituencyParserInvoker
RunConstituencyParserInvoker 成分句法分析
func (*NlpClient) RunDependencyParser ¶
func (c *NlpClient) RunDependencyParser(request *model.RunDependencyParserRequest) (*model.RunDependencyParserResponse, error)
RunDependencyParser 依存句法分析
识别句子中词汇与词汇之间的相互依存关系。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunDependencyParserInvoker ¶ added in v0.0.90
func (c *NlpClient) RunDependencyParserInvoker(request *model.RunDependencyParserRequest) *RunDependencyParserInvoker
RunDependencyParserInvoker 依存句法分析
func (*NlpClient) RunDocClassification ¶
func (c *NlpClient) RunDocClassification(request *model.RunDocClassificationRequest) (*model.RunDocClassificationResponse, error)
RunDocClassification 文档分类
文档分类接口,输入文档内容,输出文档的标签和置信度,支持多个标签。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunDocClassificationInvoker ¶ added in v0.0.90
func (c *NlpClient) RunDocClassificationInvoker(request *model.RunDocClassificationRequest) *RunDocClassificationInvoker
RunDocClassificationInvoker 文档分类
func (*NlpClient) RunDomainSentiment ¶
func (c *NlpClient) RunDomainSentiment(request *model.RunDomainSentimentRequest) (*model.RunDomainSentimentResponse, error)
RunDomainSentiment 情感分析(领域版)
领域情感分析,针对未知领域,电商,汽车领域的用户评论进行情感分析。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunDomainSentimentInvoker ¶ added in v0.0.90
func (c *NlpClient) RunDomainSentimentInvoker(request *model.RunDomainSentimentRequest) *RunDomainSentimentInvoker
RunDomainSentimentInvoker 情感分析(领域版)
func (*NlpClient) RunEntityLinking ¶
func (c *NlpClient) RunEntityLinking(request *model.RunEntityLinkingRequest) (*model.RunEntityLinkingResponse, error)
RunEntityLinking 实体链接
针对通用领域的文本进行实体链接分析,识别出其中的实体,并返回实体相关信息。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunEntityLinkingInvoker ¶ added in v0.0.90
func (c *NlpClient) RunEntityLinkingInvoker(request *model.RunEntityLinkingRequest) *RunEntityLinkingInvoker
RunEntityLinkingInvoker 实体链接
func (*NlpClient) RunEntitySentiment ¶
func (c *NlpClient) RunEntitySentiment(request *model.RunEntitySentimentRequest) (*model.RunEntitySentimentResponse, error)
RunEntitySentiment 实体级情感分析
实体级情感分析,本产品适用于金融方面公司实体正负面新闻的分析。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunEntitySentimentInvoker ¶ added in v0.0.90
func (c *NlpClient) RunEntitySentimentInvoker(request *model.RunEntitySentimentRequest) *RunEntitySentimentInvoker
RunEntitySentimentInvoker 实体级情感分析
func (*NlpClient) RunEventExtraction ¶
func (c *NlpClient) RunEventExtraction(request *model.RunEventExtractionRequest) (*model.RunEventExtractionResponse, error)
RunEventExtraction 事件抽取
事件抽取是指从自然语言文本中抽取指定类型的事件以及相关实体信息,并形成结构化数据输出的文本处理技术。 目前只支持金融公告中会议召开、聘任、辞职、股票增持、股票减持5类事件以及相关要素的抽取。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunEventExtractionInvoker ¶ added in v0.0.90
func (c *NlpClient) RunEventExtractionInvoker(request *model.RunEventExtractionRequest) *RunEventExtractionInvoker
RunEventExtractionInvoker 事件抽取
func (*NlpClient) RunFileTranslation ¶
func (c *NlpClient) RunFileTranslation(request *model.RunFileTranslationRequest) (*model.RunFileTranslationResponse, error)
RunFileTranslation 文档翻译
文档翻译接口,用于翻译文档格式文件。由于文档翻译会需要较长的时间,因此识别是异步的,也即接口分为创建翻译任务和查询任务状态两个接口。创建翻译任务接口创建任务完成后返回,然后用户通过调用查询任务状态接口来获得翻译状态和临时URL。 用户可以使用临时URL下载翻译好的文件,每个临时URL有效期为10分种。翻译结果会保存24小时(从翻译完成的时间算起)。24小时后如果再访问,将会返回 \\\"task id is not found\\\"错误。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunFileTranslationInvoker ¶ added in v0.0.90
func (c *NlpClient) RunFileTranslationInvoker(request *model.RunFileTranslationRequest) *RunFileTranslationInvoker
RunFileTranslationInvoker 文档翻译
func (*NlpClient) RunGetFileTranslationResult ¶
func (c *NlpClient) RunGetFileTranslationResult(request *model.RunGetFileTranslationResultRequest) (*model.RunGetFileTranslationResultResponse, error)
RunGetFileTranslationResult 文档翻译状态查询
该接口用于获取文档翻译识别状态以及临时url,临时url可以用与获取翻译后的文档,每个临时url有效期为十分钟。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunGetFileTranslationResultInvoker ¶ added in v0.0.90
func (c *NlpClient) RunGetFileTranslationResultInvoker(request *model.RunGetFileTranslationResultRequest) *RunGetFileTranslationResultInvoker
RunGetFileTranslationResultInvoker 文档翻译状态查询
func (*NlpClient) RunKeywordExtract ¶
func (c *NlpClient) RunKeywordExtract(request *model.RunKeywordExtractRequest) (*model.RunKeywordExtractResponse, error)
RunKeywordExtract 关键词抽取
给定一段文本,抽取其中最能够反映文本主题或者意思的词汇。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunKeywordExtractInvoker ¶ added in v0.0.90
func (c *NlpClient) RunKeywordExtractInvoker(request *model.RunKeywordExtractRequest) *RunKeywordExtractInvoker
RunKeywordExtractInvoker 关键词抽取
func (*NlpClient) RunLanguageDetection ¶
func (c *NlpClient) RunLanguageDetection(request *model.RunLanguageDetectionRequest) (*model.RunLanguageDetectionResponse, error)
RunLanguageDetection 语种识别
对于用户输入的文本,返回识别出的所属语种。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunLanguageDetectionInvoker ¶ added in v0.0.90
func (c *NlpClient) RunLanguageDetectionInvoker(request *model.RunLanguageDetectionRequest) *RunLanguageDetectionInvoker
RunLanguageDetectionInvoker 语种识别
func (*NlpClient) RunMultiGrainedSegment ¶
func (c *NlpClient) RunMultiGrainedSegment(request *model.RunMultiGrainedSegmentRequest) (*model.RunMultiGrainedSegmentResponse, error)
RunMultiGrainedSegment 多粒度分词
多粒度分词:给定一个句子输入,输出不同粒度的所有单词的层次结构。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunMultiGrainedSegmentInvoker ¶ added in v0.0.90
func (c *NlpClient) RunMultiGrainedSegmentInvoker(request *model.RunMultiGrainedSegmentRequest) *RunMultiGrainedSegmentInvoker
RunMultiGrainedSegmentInvoker 多粒度分词
func (*NlpClient) RunNer ¶
func (c *NlpClient) RunNer(request *model.RunNerRequest) (*model.RunNerResponse, error)
RunNer 命名实体识别(基础版)
基础版命名实体识别,对文本进行命名实体识别分析,目前支持人名、地名、时间、组织机构类实体的识别。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunNerDomain ¶
func (c *NlpClient) RunNerDomain(request *model.RunNerDomainRequest) (*model.RunNerDomainResponse, error)
RunNerDomain 命名实体识别(领域版)
领域版本命名实体识别,对文本进行命名实体识别分析,目前支持人名、地名、组织机构、时间点、日期、百分比、货币额度、序数词、计量规格词、民族、职业、邮箱12类实体的识别。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunNerDomainInvoker ¶ added in v0.0.90
func (c *NlpClient) RunNerDomainInvoker(request *model.RunNerDomainRequest) *RunNerDomainInvoker
RunNerDomainInvoker 命名实体识别(领域版)
func (*NlpClient) RunNerInvoker ¶ added in v0.0.90
func (c *NlpClient) RunNerInvoker(request *model.RunNerRequest) *RunNerInvoker
RunNerInvoker 命名实体识别(基础版)
func (*NlpClient) RunPoem ¶
func (c *NlpClient) RunPoem(request *model.RunPoemRequest) (*model.RunPoemResponse, error)
RunPoem 诗歌生成
根据用户的输入生成诗歌。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunPoemInvoker ¶ added in v0.0.90
func (c *NlpClient) RunPoemInvoker(request *model.RunPoemRequest) *RunPoemInvoker
RunPoemInvoker 诗歌生成
func (*NlpClient) RunSegment ¶
func (c *NlpClient) RunSegment(request *model.RunSegmentRequest) (*model.RunSegmentResponse, error)
RunSegment 分词
对文本进行分词和词性标注处理。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunSegmentInvoker ¶ added in v0.0.90
func (c *NlpClient) RunSegmentInvoker(request *model.RunSegmentRequest) *RunSegmentInvoker
RunSegmentInvoker 分词
func (*NlpClient) RunSemanticParser ¶
func (c *NlpClient) RunSemanticParser(request *model.RunSemanticParserRequest) (*model.RunSemanticParserResponse, error)
RunSemanticParser 意图理解
针对天气、报时、新闻、笑话、翻译、提醒、闹钟、音乐8个领域进行意图理解,对用户的问题进行领域识别并提取领域内的参数。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunSemanticParserInvoker ¶ added in v0.0.90
func (c *NlpClient) RunSemanticParserInvoker(request *model.RunSemanticParserRequest) *RunSemanticParserInvoker
RunSemanticParserInvoker 意图理解
func (*NlpClient) RunSentenceEmbedding ¶
func (c *NlpClient) RunSentenceEmbedding(request *model.RunSentenceEmbeddingRequest) (*model.RunSentenceEmbeddingResponse, error)
RunSentenceEmbedding 句向量
输入句子,返回对应的句向量。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunSentenceEmbeddingInvoker ¶ added in v0.0.90
func (c *NlpClient) RunSentenceEmbeddingInvoker(request *model.RunSentenceEmbeddingRequest) *RunSentenceEmbeddingInvoker
RunSentenceEmbeddingInvoker 句向量
func (*NlpClient) RunSentiment ¶
func (c *NlpClient) RunSentiment(request *model.RunSentimentRequest) (*model.RunSentimentResponse, error)
RunSentiment 情感分析(基础版)
通用情感分析,针对通用领域的用户评论进行情感分析。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunSentimentInvoker ¶ added in v0.0.90
func (c *NlpClient) RunSentimentInvoker(request *model.RunSentimentRequest) *RunSentimentInvoker
RunSentimentInvoker 情感分析(基础版)
func (*NlpClient) RunSummary ¶
func (c *NlpClient) RunSummary(request *model.RunSummaryRequest) (*model.RunSummaryResponse, error)
RunSummary 文本摘要(基础版)
对文本生成摘要。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunSummaryDomain ¶
func (c *NlpClient) RunSummaryDomain(request *model.RunSummaryDomainRequest) (*model.RunSummaryDomainResponse, error)
RunSummaryDomain 文本摘要(领域版)
对文本生成摘要。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunSummaryDomainInvoker ¶ added in v0.0.90
func (c *NlpClient) RunSummaryDomainInvoker(request *model.RunSummaryDomainRequest) *RunSummaryDomainInvoker
RunSummaryDomainInvoker 文本摘要(领域版)
func (*NlpClient) RunSummaryInvoker ¶ added in v0.0.90
func (c *NlpClient) RunSummaryInvoker(request *model.RunSummaryRequest) *RunSummaryInvoker
RunSummaryInvoker 文本摘要(基础版)
func (*NlpClient) RunTextSimilarity ¶
func (c *NlpClient) RunTextSimilarity(request *model.RunTextSimilarityRequest) (*model.RunTextSimilarityResponse, error)
RunTextSimilarity 文本相似度(基础版)
文本相似度服务,对文本对进行相似度计算。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunTextSimilarityAdvance ¶
func (c *NlpClient) RunTextSimilarityAdvance(request *model.RunTextSimilarityAdvanceRequest) (*model.RunTextSimilarityAdvanceResponse, error)
RunTextSimilarityAdvance 文本相似度(高级版)
文本相似度服务高级版,对文本对进行相似度计算。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunTextSimilarityAdvanceInvoker ¶ added in v0.0.90
func (c *NlpClient) RunTextSimilarityAdvanceInvoker(request *model.RunTextSimilarityAdvanceRequest) *RunTextSimilarityAdvanceInvoker
RunTextSimilarityAdvanceInvoker 文本相似度(高级版)
func (*NlpClient) RunTextSimilarityInvoker ¶ added in v0.0.90
func (c *NlpClient) RunTextSimilarityInvoker(request *model.RunTextSimilarityRequest) *RunTextSimilarityInvoker
RunTextSimilarityInvoker 文本相似度(基础版)
func (*NlpClient) RunTextTranslation ¶
func (c *NlpClient) RunTextTranslation(request *model.RunTextTranslationRequest) (*model.RunTextTranslationResponse, error)
RunTextTranslation 文本翻译
对于用户输入原始语种的文本,转换为目标语种的文本。 在使用本API之前, 需要您完成服务申请, 具体操作流程请参见[申请服务](https://support.huaweicloud.com/api-nlp/nlp_03_0004.html)章节。
Please refer to HUAWEI cloud API Explorer for details.
func (*NlpClient) RunTextTranslationInvoker ¶ added in v0.0.90
func (c *NlpClient) RunTextTranslationInvoker(request *model.RunTextTranslationRequest) *RunTextTranslationInvoker
RunTextTranslationInvoker 文本翻译
type RunAspectSentimentAdvanceInvoker ¶ added in v0.0.90
type RunAspectSentimentAdvanceInvoker struct {
*invoker.BaseInvoker
}
func (*RunAspectSentimentAdvanceInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunAspectSentimentAdvanceInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunAspectSentimentAdvanceInvoker) Invoke ¶ added in v0.0.90
func (i *RunAspectSentimentAdvanceInvoker) Invoke() (*model.RunAspectSentimentAdvanceResponse, error)
type RunAspectSentimentInvoker ¶ added in v0.0.90
type RunAspectSentimentInvoker struct {
*invoker.BaseInvoker
}
func (*RunAspectSentimentInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunAspectSentimentInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunAspectSentimentInvoker) Invoke ¶ added in v0.0.90
func (i *RunAspectSentimentInvoker) Invoke() (*model.RunAspectSentimentResponse, error)
type RunClassificationInvoker ¶ added in v0.0.90
type RunClassificationInvoker struct {
*invoker.BaseInvoker
}
func (*RunClassificationInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunClassificationInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunClassificationInvoker) Invoke ¶ added in v0.0.90
func (i *RunClassificationInvoker) Invoke() (*model.RunClassificationResponse, error)
type RunConstituencyParserInvoker ¶ added in v0.0.100
type RunConstituencyParserInvoker struct {
*invoker.BaseInvoker
}
func (*RunConstituencyParserInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunConstituencyParserInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunConstituencyParserInvoker) Invoke ¶ added in v0.0.100
func (i *RunConstituencyParserInvoker) Invoke() (*model.RunConstituencyParserResponse, error)
type RunDependencyParserInvoker ¶ added in v0.0.90
type RunDependencyParserInvoker struct {
*invoker.BaseInvoker
}
func (*RunDependencyParserInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunDependencyParserInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunDependencyParserInvoker) Invoke ¶ added in v0.0.90
func (i *RunDependencyParserInvoker) Invoke() (*model.RunDependencyParserResponse, error)
type RunDocClassificationInvoker ¶ added in v0.0.90
type RunDocClassificationInvoker struct {
*invoker.BaseInvoker
}
func (*RunDocClassificationInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunDocClassificationInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunDocClassificationInvoker) Invoke ¶ added in v0.0.90
func (i *RunDocClassificationInvoker) Invoke() (*model.RunDocClassificationResponse, error)
type RunDomainSentimentInvoker ¶ added in v0.0.90
type RunDomainSentimentInvoker struct {
*invoker.BaseInvoker
}
func (*RunDomainSentimentInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunDomainSentimentInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunDomainSentimentInvoker) Invoke ¶ added in v0.0.90
func (i *RunDomainSentimentInvoker) Invoke() (*model.RunDomainSentimentResponse, error)
type RunEntityLinkingInvoker ¶ added in v0.0.90
type RunEntityLinkingInvoker struct {
*invoker.BaseInvoker
}
func (*RunEntityLinkingInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunEntityLinkingInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunEntityLinkingInvoker) Invoke ¶ added in v0.0.90
func (i *RunEntityLinkingInvoker) Invoke() (*model.RunEntityLinkingResponse, error)
type RunEntitySentimentInvoker ¶ added in v0.0.90
type RunEntitySentimentInvoker struct {
*invoker.BaseInvoker
}
func (*RunEntitySentimentInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunEntitySentimentInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunEntitySentimentInvoker) Invoke ¶ added in v0.0.90
func (i *RunEntitySentimentInvoker) Invoke() (*model.RunEntitySentimentResponse, error)
type RunEventExtractionInvoker ¶ added in v0.0.90
type RunEventExtractionInvoker struct {
*invoker.BaseInvoker
}
func (*RunEventExtractionInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunEventExtractionInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunEventExtractionInvoker) Invoke ¶ added in v0.0.90
func (i *RunEventExtractionInvoker) Invoke() (*model.RunEventExtractionResponse, error)
type RunFileTranslationInvoker ¶ added in v0.0.90
type RunFileTranslationInvoker struct {
*invoker.BaseInvoker
}
func (*RunFileTranslationInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunFileTranslationInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunFileTranslationInvoker) Invoke ¶ added in v0.0.90
func (i *RunFileTranslationInvoker) Invoke() (*model.RunFileTranslationResponse, error)
type RunGetFileTranslationResultInvoker ¶ added in v0.0.90
type RunGetFileTranslationResultInvoker struct {
*invoker.BaseInvoker
}
func (*RunGetFileTranslationResultInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunGetFileTranslationResultInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunGetFileTranslationResultInvoker) Invoke ¶ added in v0.0.90
func (i *RunGetFileTranslationResultInvoker) Invoke() (*model.RunGetFileTranslationResultResponse, error)
type RunKeywordExtractInvoker ¶ added in v0.0.90
type RunKeywordExtractInvoker struct {
*invoker.BaseInvoker
}
func (*RunKeywordExtractInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunKeywordExtractInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunKeywordExtractInvoker) Invoke ¶ added in v0.0.90
func (i *RunKeywordExtractInvoker) Invoke() (*model.RunKeywordExtractResponse, error)
type RunLanguageDetectionInvoker ¶ added in v0.0.90
type RunLanguageDetectionInvoker struct {
*invoker.BaseInvoker
}
func (*RunLanguageDetectionInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunLanguageDetectionInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunLanguageDetectionInvoker) Invoke ¶ added in v0.0.90
func (i *RunLanguageDetectionInvoker) Invoke() (*model.RunLanguageDetectionResponse, error)
type RunMultiGrainedSegmentInvoker ¶ added in v0.0.90
type RunMultiGrainedSegmentInvoker struct {
*invoker.BaseInvoker
}
func (*RunMultiGrainedSegmentInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunMultiGrainedSegmentInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunMultiGrainedSegmentInvoker) Invoke ¶ added in v0.0.90
func (i *RunMultiGrainedSegmentInvoker) Invoke() (*model.RunMultiGrainedSegmentResponse, error)
type RunNerDomainInvoker ¶ added in v0.0.90
type RunNerDomainInvoker struct {
*invoker.BaseInvoker
}
func (*RunNerDomainInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunNerDomainInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunNerDomainInvoker) Invoke ¶ added in v0.0.90
func (i *RunNerDomainInvoker) Invoke() (*model.RunNerDomainResponse, error)
type RunNerInvoker ¶ added in v0.0.90
type RunNerInvoker struct {
*invoker.BaseInvoker
}
func (*RunNerInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunNerInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunNerInvoker) Invoke ¶ added in v0.0.90
func (i *RunNerInvoker) Invoke() (*model.RunNerResponse, error)
type RunPoemInvoker ¶ added in v0.0.90
type RunPoemInvoker struct {
*invoker.BaseInvoker
}
func (*RunPoemInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunPoemInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunPoemInvoker) Invoke ¶ added in v0.0.90
func (i *RunPoemInvoker) Invoke() (*model.RunPoemResponse, error)
type RunSegmentInvoker ¶ added in v0.0.90
type RunSegmentInvoker struct {
*invoker.BaseInvoker
}
func (*RunSegmentInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunSegmentInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunSegmentInvoker) Invoke ¶ added in v0.0.90
func (i *RunSegmentInvoker) Invoke() (*model.RunSegmentResponse, error)
type RunSemanticParserInvoker ¶ added in v0.0.90
type RunSemanticParserInvoker struct {
*invoker.BaseInvoker
}
func (*RunSemanticParserInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunSemanticParserInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunSemanticParserInvoker) Invoke ¶ added in v0.0.90
func (i *RunSemanticParserInvoker) Invoke() (*model.RunSemanticParserResponse, error)
type RunSentenceEmbeddingInvoker ¶ added in v0.0.90
type RunSentenceEmbeddingInvoker struct {
*invoker.BaseInvoker
}
func (*RunSentenceEmbeddingInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunSentenceEmbeddingInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunSentenceEmbeddingInvoker) Invoke ¶ added in v0.0.90
func (i *RunSentenceEmbeddingInvoker) Invoke() (*model.RunSentenceEmbeddingResponse, error)
type RunSentimentInvoker ¶ added in v0.0.90
type RunSentimentInvoker struct {
*invoker.BaseInvoker
}
func (*RunSentimentInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunSentimentInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunSentimentInvoker) Invoke ¶ added in v0.0.90
func (i *RunSentimentInvoker) Invoke() (*model.RunSentimentResponse, error)
type RunSummaryDomainInvoker ¶ added in v0.0.90
type RunSummaryDomainInvoker struct {
*invoker.BaseInvoker
}
func (*RunSummaryDomainInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunSummaryDomainInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunSummaryDomainInvoker) Invoke ¶ added in v0.0.90
func (i *RunSummaryDomainInvoker) Invoke() (*model.RunSummaryDomainResponse, error)
type RunSummaryInvoker ¶ added in v0.0.90
type RunSummaryInvoker struct {
*invoker.BaseInvoker
}
func (*RunSummaryInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunSummaryInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunSummaryInvoker) Invoke ¶ added in v0.0.90
func (i *RunSummaryInvoker) Invoke() (*model.RunSummaryResponse, error)
type RunTextSimilarityAdvanceInvoker ¶ added in v0.0.90
type RunTextSimilarityAdvanceInvoker struct {
*invoker.BaseInvoker
}
func (*RunTextSimilarityAdvanceInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunTextSimilarityAdvanceInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunTextSimilarityAdvanceInvoker) Invoke ¶ added in v0.0.90
func (i *RunTextSimilarityAdvanceInvoker) Invoke() (*model.RunTextSimilarityAdvanceResponse, error)
type RunTextSimilarityInvoker ¶ added in v0.0.90
type RunTextSimilarityInvoker struct {
*invoker.BaseInvoker
}
func (*RunTextSimilarityInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunTextSimilarityInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunTextSimilarityInvoker) Invoke ¶ added in v0.0.90
func (i *RunTextSimilarityInvoker) Invoke() (*model.RunTextSimilarityResponse, error)
type RunTextTranslationInvoker ¶ added in v0.0.90
type RunTextTranslationInvoker struct {
*invoker.BaseInvoker
}
func (*RunTextTranslationInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RunTextTranslationInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RunTextTranslationInvoker) Invoke ¶ added in v0.0.90
func (i *RunTextTranslationInvoker) Invoke() (*model.RunTextTranslationResponse, error)