voiceagentprofile

package
v0.40.3 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package voiceagentprofile re-exports the voicebehavior Profile DTO with JSON tags suitable for HTTP envelope serialisation. The audit 2026-05-24 sprint-5 work plans to merge this package back into internal/voicebehavior once the JSON-tag shape is reconciled; today the re-export keeps the persona catalog free of HTTP- specific tags.

Audit 2026-05-24 maintainability sweep.

Index

Constants

View Source
const (
	DefaultID                = voicebehavior.DefaultID
	BrainstormingCompanionID = voicebehavior.BrainstormingCompanionID
	HumorCompanionID         = voicebehavior.HumorCompanionID
	SupportCompanionID       = voicebehavior.SupportCompanionID
)

Variables

This section is empty.

Functions

func NormalizeID

func NormalizeID(id string) string

Types

type Profile

type Profile struct {
	ID                string   `json:"id"`
	DisplayName       string   `json:"displayName"`
	Description       string   `json:"description,omitempty"`
	Voice             string   `json:"voice,omitempty"`
	FrameworkPrompt   string   `json:"frameworkPrompt,omitempty"`
	RoleID            string   `json:"roleId,omitempty"`
	DefaultSequenceID string   `json:"defaultSequenceId,omitempty"`
	BuiltIn           bool     `json:"builtIn,omitempty"`
	Tags              []string `json:"tags,omitempty"`
}

func BuiltInProfiles

func BuiltInProfiles() []Profile

func Resolve

func Resolve(id string) (Profile, bool)

Jump to

Keyboard shortcuts

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