RagStats class

Size of a RAG session's index.

Constructors

RagStats({required int documentCount, required int chunkCount, required int indexSizeBytes})
Build a RAG statistics snapshot.
const
RagStats.fromProto(RAGStatistics proto)
Build from the generated RAG statistics.
factory

Properties

chunkCount int
Chunks indexed across those documents.
final
documentCount int
Documents ingested.
final
hashCode int
The hash code for this object.
no setterinherited
indexSizeBytes int
Bytes the vector store occupies.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited