volcdialogue

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProviderSlug = "volcengine_dialogue"
)

Variables

This section is empty.

Functions

func New

func New(cfg map[string]any, opts realtime.Options) (realtime.Agent, error)

New is the realtime.Provider entry point.

cfg keys: appId, accessKey (or access_token/token), appKey, resourceId,
model, speaker/voice, botName, systemRole, speakingStyle,
characterManifest, baseUrl, dialTimeoutMs

Types

type Config

type Config struct {
	AppID             string
	AccessKey         string
	AppKey            string
	ResourceID        string
	BaseURL           string
	Model             string // 1.2.1.1 (O) or 2.2.0.0 (SC)
	Speaker           string
	BotName           string
	SystemRole        string
	SpeakingStyle     string
	CharacterManifest string
	DialTimeoutMs     int
}

Config is the tenant credential JSON for this provider.

Jump to

Keyboard shortcuts

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