Tone

org.llm4s.agent.guardrails.builtin.Tone
See theTone companion trait
object Tone

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Tone.type

Members list

Type members

Classlikes

case object Casual extends Tone

Informal, relaxed language (e.g. "hey", "cool", "awesome").

Informal, relaxed language (e.g. "hey", "cool", "awesome").

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Tone
class Object
trait Matchable
class Any
Show all
Self type
Casual.type
case object Excited extends Tone

Enthusiastic language with exclamation marks and short sentences.

Enthusiastic language with exclamation marks and short sentences.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Tone
class Object
trait Matchable
class Any
Show all
Self type
Excited.type
case object Formal extends Tone

Academic or official language (e.g. "furthermore", "moreover", "consequently").

Academic or official language (e.g. "furthermore", "moreover", "consequently").

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Tone
class Object
trait Matchable
class Any
Show all
Self type
Formal.type
case object Friendly extends Tone

Warm, approachable language (e.g. "hi", "hello", "thanks").

Warm, approachable language (e.g. "hi", "hello", "thanks").

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Tone
class Object
trait Matchable
class Any
Show all
Self type
Friendly.type
case object Neutral extends Tone

Default tone when no specific indicators are detected.

Default tone when no specific indicators are detected.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Tone
class Object
trait Matchable
class Any
Show all
Self type
Neutral.type
case object Professional extends Tone

Business-appropriate language (e.g. "please", "thank you", "regards").

Business-appropriate language (e.g. "please", "thank you", "regards").

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Tone
class Object
trait Matchable
class Any
Show all
Self type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete fields

val all: Set[Tone]

All available tone categories.

All available tone categories.

Attributes