KeywordIndexStats

org.llm4s.vectorstore.KeywordIndexStats
final case class KeywordIndexStats(totalDocuments: Long, totalTokens: Option[Long], avgDocumentLength: Option[Double], indexSizeBytes: Option[Long])

Statistics about the keyword index.

Value parameters

avgDocumentLength

Average document length in tokens

indexSizeBytes

Approximate index size on disk (if applicable)

totalDocuments

Number of indexed documents

totalTokens

Approximate total token count across all documents

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product