CollectionPattern

org.llm4s.rag.permissions.CollectionPattern
See theCollectionPattern companion object
sealed trait CollectionPattern

A pattern for matching collections in queries.

Patterns support:

  • Exact matching: confluence/EN
  • Immediate children: confluence/★ (matches confluence/EN but not confluence/EN/archive)
  • All descendants: confluence/★★ (matches all paths starting with confluence/)
  • All collections:

Note: In code, use asterisk (*) instead of ★ shown in docs.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object All
class Exact

Members list

Value members

Abstract methods

def matches(path: CollectionPath): Boolean

Check if a collection path matches this pattern

Check if a collection path matches this pattern

Attributes

def patternString: String

Convert to a human-readable string representation

Convert to a human-readable string representation

Attributes