v3

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForCheckImageModeration added in v0.1.3

func GenReqDefForCheckImageModeration() *def.HttpRequestDef

func GenReqDefForRunCreateAudioModerationJob added in v0.0.103

func GenReqDefForRunCreateAudioModerationJob() *def.HttpRequestDef

func GenReqDefForRunCreateVideoModerationJob added in v0.1.1

func GenReqDefForRunCreateVideoModerationJob() *def.HttpRequestDef

func GenReqDefForRunQueryAudioModerationJob added in v0.0.103

func GenReqDefForRunQueryAudioModerationJob() *def.HttpRequestDef

func GenReqDefForRunQueryVideoModerationJob added in v0.1.1

func GenReqDefForRunQueryVideoModerationJob() *def.HttpRequestDef

func GenReqDefForRunTextModeration

func GenReqDefForRunTextModeration() *def.HttpRequestDef

func ModerationClientBuilder

func ModerationClientBuilder() *http_client.HcHttpClientBuilder

Types

type CheckImageModerationInvoker added in v0.1.3

type CheckImageModerationInvoker struct {
	*invoker.BaseInvoker
}

func (*CheckImageModerationInvoker) Invoke added in v0.1.3

type ModerationClient

type ModerationClient struct {
	HcClient *http_client.HcHttpClient
}

func NewModerationClient

func NewModerationClient(hcClient *http_client.HcHttpClient) *ModerationClient

func (*ModerationClient) CheckImageModeration added in v0.1.3

CheckImageModeration 图片内容审核

分析并识别用户上传的图片是否有敏感内容(如色情、政治等),并将识别结果返回给用户

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*ModerationClient) CheckImageModerationInvoker added in v0.1.3

func (c *ModerationClient) CheckImageModerationInvoker(request *model.CheckImageModerationRequest) *CheckImageModerationInvoker

CheckImageModerationInvoker 图片内容审核

func (*ModerationClient) RunCreateAudioModerationJob added in v0.0.103

RunCreateAudioModerationJob 创建音频内容审核作业

分析并识别用户上传的音频内容是否有敏感内容(如色情、政治等),并将识别结果返回给用户

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*ModerationClient) RunCreateAudioModerationJobInvoker added in v0.0.103

func (c *ModerationClient) RunCreateAudioModerationJobInvoker(request *model.RunCreateAudioModerationJobRequest) *RunCreateAudioModerationJobInvoker

RunCreateAudioModerationJobInvoker 创建音频内容审核作业

func (*ModerationClient) RunCreateVideoModerationJob added in v0.1.1

RunCreateVideoModerationJob 创建视频内容审核作业

创建视频内容审核作业,创建成功会将作业ID返回给用户

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*ModerationClient) RunCreateVideoModerationJobInvoker added in v0.1.1

func (c *ModerationClient) RunCreateVideoModerationJobInvoker(request *model.RunCreateVideoModerationJobRequest) *RunCreateVideoModerationJobInvoker

RunCreateVideoModerationJobInvoker 创建视频内容审核作业

func (*ModerationClient) RunQueryAudioModerationJob added in v0.0.103

RunQueryAudioModerationJob 查询音频内容审核作业

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*ModerationClient) RunQueryAudioModerationJobInvoker added in v0.0.103

func (c *ModerationClient) RunQueryAudioModerationJobInvoker(request *model.RunQueryAudioModerationJobRequest) *RunQueryAudioModerationJobInvoker

RunQueryAudioModerationJobInvoker 查询音频内容审核作业

func (*ModerationClient) RunQueryVideoModerationJob added in v0.1.1

RunQueryVideoModerationJob 查询视频内容审核作业

查询视频审核作业处理状态与结果,并将识别结果返回给用户

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*ModerationClient) RunQueryVideoModerationJobInvoker added in v0.1.1

func (c *ModerationClient) RunQueryVideoModerationJobInvoker(request *model.RunQueryVideoModerationJobRequest) *RunQueryVideoModerationJobInvoker

RunQueryVideoModerationJobInvoker 查询视频内容审核作业

func (*ModerationClient) RunTextModeration

RunTextModeration 文本内容审核

分析并识别用户上传的文本内容是否有敏感内容(如色情、政治等),并将识别结果返回给用户

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*ModerationClient) RunTextModerationInvoker

func (c *ModerationClient) RunTextModerationInvoker(request *model.RunTextModerationRequest) *RunTextModerationInvoker

RunTextModerationInvoker 文本内容审核

type RunCreateAudioModerationJobInvoker added in v0.0.103

type RunCreateAudioModerationJobInvoker struct {
	*invoker.BaseInvoker
}

func (*RunCreateAudioModerationJobInvoker) Invoke added in v0.0.103

type RunCreateVideoModerationJobInvoker added in v0.1.1

type RunCreateVideoModerationJobInvoker struct {
	*invoker.BaseInvoker
}

func (*RunCreateVideoModerationJobInvoker) Invoke added in v0.1.1

type RunQueryAudioModerationJobInvoker added in v0.0.103

type RunQueryAudioModerationJobInvoker struct {
	*invoker.BaseInvoker
}

func (*RunQueryAudioModerationJobInvoker) Invoke added in v0.0.103

type RunQueryVideoModerationJobInvoker added in v0.1.1

type RunQueryVideoModerationJobInvoker struct {
	*invoker.BaseInvoker
}

func (*RunQueryVideoModerationJobInvoker) Invoke added in v0.1.1

type RunTextModerationInvoker

type RunTextModerationInvoker struct {
	*invoker.BaseInvoker
}

func (*RunTextModerationInvoker) Invoke

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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