sentimentanalysiscoarsegrained

package
v0.0.0-...-905ac7b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SentimentAnalysisCoarseGrainedRequest

type SentimentAnalysisCoarseGrainedRequest struct {
	/**
	 *  输入的文本,通过情感分析模型得到文本对应的情感倾向(输入文本长度最好不超过512字)
	 */
	Text string `json:"text"`
}

func (*SentimentAnalysisCoarseGrainedRequest) DoInvoke

type SentimentAnalysisCoarseGrainedResponse

type SentimentAnalysisCoarseGrainedResponse struct {
	Code string `json:"code"`
	Msg  string `json:"msg"`
	/**
	 * sentimentResultMap:情感分析的结果,statusCode:返回状态,errorMessage:状态错误时返回的信息
	 */
	Data    string `json:"data"`
	TraceId string `json:"traceId"`
}

func (*SentimentAnalysisCoarseGrainedResponse) IsSuccess

func (response *SentimentAnalysisCoarseGrainedResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL