DocumentVersion

org.llm4s.rag.loader.DocumentVersion
See theDocumentVersion companion object
final case class DocumentVersion(contentHash: String, timestamp: Option[Long], etag: Option[String])

Version information for change detection.

Used by sync operations to determine if a document has changed since it was last indexed.

Value parameters

contentHash

SHA-256 hash of the content

etag

Optional HTTP ETag for URL sources

timestamp

Optional last modified timestamp (epoch ms)

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def isDifferentFrom(other: DocumentVersion): Boolean

Check if this version differs from another

Check if this version differs from another

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product