Unchanged

org.llm4s.rag.loader.LoadResult.Unchanged
final case class Unchanged(source: String, documentId: String) extends LoadResult

A document a sync already holds at its current version, which DocumentLoader.loadChanged did not read (#3027). RAG.sync counts it unchanged and keeps it: it is listed, so not deleted. DocumentLoader.load never produces it. It counts as skipped (isSkipped).

Value parameters

documentId

The id the document is indexed under

source

Identifier for the document's source (path, key, URL)

Attributes

Source
DocumentLoader.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait LoadResult
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def isSkipped: Boolean

Attributes

Definition Classes
Source
DocumentLoader.scala

Attributes

Source
DocumentLoader.scala

Inherited methods

Attributes

Inherited from:
LoadResult
Source
DocumentLoader.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Get document if successful

Get document if successful

Attributes

Inherited from:
LoadResult
Source
DocumentLoader.scala