org.llm4s.rag.loader.LoadResult
See theLoadResult companion trait
object LoadResult
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
LoadResult.type
Members list
Type members
Classlikes
final case class Failure(source: String, error: LLMError, recoverable: Boolean) extends LoadResult
Failed to load document.
Failed to load document.
Value parameters
- error
-
The error that occurred
- recoverable
-
Whether the error is potentially recoverable (e.g., timeout)
- source
-
Identifier for the failed source (path, URL, etc.)
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LoadResultclass Objecttrait Matchableclass AnyShow all
final case class Skipped(source: String, reason: String) extends LoadResult
Document was intentionally skipped.
Document was intentionally skipped.
Value parameters
- reason
-
Why the document was skipped
- source
-
Identifier for the skipped source
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LoadResultclass Objecttrait Matchableclass AnyShow all
final case class Success(document: Document) extends LoadResult
Successfully loaded document.
Successfully loaded document.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LoadResultclass Objecttrait Matchableclass AnyShow all
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
In this article