ToneValidator

org.llm4s.agent.guardrails.builtin.ToneValidator
See theToneValidator companion class
object ToneValidator

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Create a tone validator allowing all tones (effectively no validation).

Create a tone validator allowing all tones (effectively no validation).

Attributes

def apply(allowedTones: Set[Tone]): ToneValidator

Create a tone validator with specified allowed tones.

Create a tone validator with specified allowed tones.

Attributes

Create a tone validator allowing casual or friendly tones.

Create a tone validator allowing casual or friendly tones.

Attributes

Create a tone validator allowing only professional tone.

Create a tone validator allowing only professional tone.

Attributes

Create a tone validator allowing professional or friendly tones.

Create a tone validator allowing professional or friendly tones.

Attributes