CollectionPath

org.llm4s.rag.permissions.CollectionPath
See theCollectionPath companion class

Attributes

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

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def create(path: String): Result[CollectionPath]

Create a validated collection path from a string.

Create a validated collection path from a string.

Value parameters

path

The path string (e.g., "confluence/EN")

Attributes

Returns

Right(CollectionPath) if valid, Left(error) if invalid

def root(name: String): Result[CollectionPath]

Create a root-level collection path

Create a root-level collection path

Attributes

def unsafe(path: String): CollectionPath

Create a collection path without validation (use with caution). Only for internal use where the path is known to be valid.

Create a collection path without validation (use with caution). Only for internal use where the path is known to be valid.

Attributes