org.llm4s.toolapi.builtin.search.SafeSearch
See theSafeSearch companion trait
object SafeSearch
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SafeSearch.type
Members list
Type members
Classlikes
case object Moderate extends SafeSearch
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait SafeSearchclass Objecttrait Matchableclass AnyShow all
- Self type
-
Moderate.type
case object Off extends SafeSearch
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait SafeSearchclass Objecttrait Matchableclass AnyShow all
- Self type
-
Off.type
case object Strict extends SafeSearch
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait SafeSearchclass Objecttrait Matchableclass AnyShow all
- Self type
-
Strict.type
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Parse a string value from configuration into a SafeSearch enum.
Parse a string value from configuration into a SafeSearch enum.
Value parameters
- value
-
The string value (e.g., "off", "moderate", "strict")
Attributes
- Returns
-
The corresponding SafeSearch enum, defaulting to Moderate for invalid values
In this article