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
- Source
- LiftToResult.scala
- Supertypes
Attributes
- Companion
- trait
- Source
- LiftToResult.scala
- Supertypes
- Self type
-
LiftToResult.type
Library of credential-detection patterns used by org.llm4s.agent.guardrails.builtin.SecretLeakGuardrail (llm4s-agent) and Redaction.
Library of credential-detection patterns used by org.llm4s.agent.guardrails.builtin.SecretLeakGuardrail (llm4s-agent) 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
- Source
- SecretPatterns.scala
- Supertypes
- 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
- Source
- SqlIdentifier.scala
- Supertypes
- Self type
-
SqlIdentifier.type
