messageadapter

package
v1.6.2-temp Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMessageAdapter

func NewMessageAdapter(cfg *Config, p common.Publisher) *messageAdapter

Types

type Config

type Config struct {
	// wukong
	InferenceStart       common.TopicConfig `json:"inference_start"`
	InferenceError       common.TopicConfig `json:"inference_error"`
	InferenceAsyncStart  common.TopicConfig `json:"inference_async_start"`
	InferenceAsyncFinish common.TopicConfig `json:"inference_async_finish"`
	PicturePublicized    common.TopicConfig `json:"picture_publicized"`
	PictureLiked         common.TopicConfig `json:"picture_liked"`

	// common
	BigModelStarted  common.TopicConfig `json:"bigmodel_started"`
	BigModelFinished common.TopicConfig `json:"bigmodel_finished"`
}

Config

Jump to

Keyboard shortcuts

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