voiceagentprofile

package
v0.72.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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