org.llm4s.util
Members list
Type members
Classlikes
Evidence that values in effect F can be lifted into Result.
Evidence that values in effect F can be lifted into Result.
The canonical instance is for cats.Id, which wraps any value in Right. Future backends with richer effects (e.g. cats.effect.IO, scala.concurrent.Future) supply their own instance to bridge into the synchronous Result error channel.
Type parameters
- F
-
the source effect
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
LiftToResult.type
Library of credential-detection patterns used by org.llm4s.agent.guardrails.builtin.SecretLeakGuardrail and Redaction.
Library of credential-detection patterns used by org.llm4s.agent.guardrails.builtin.SecretLeakGuardrail and Redaction.
All regex matching is performed via SecretType instances. Each type knows its own pattern, human-readable name, and the placeholder text to use when redacting.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SecretPatterns.type
Validator for PostgreSQL identifiers (table/index/column). Enforces: start with letter/, allowed [a-zA-Z0-9], max 63 chars. Returns a ProcessingError on null/invalid inputs.
Validator for PostgreSQL identifiers (table/index/column). Enforces: start with letter/, allowed [a-zA-Z0-9], max 63 chars. Returns a ProcessingError on null/invalid inputs.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SqlIdentifier.type