Loading...
Skip to main content

Interface: CorpusStats

batteries/docs.CorpusStats

Statistics about a corpus, including its LoadingState.

Properties

activePartitions

activePartitions: number

Defined in

ai-jsx/src/batteries/docs.tsx:426


completedPartitions

completedPartitions: number

Defined in

ai-jsx/src/batteries/docs.tsx:425


loadingState

loadingState: CorpusLoadingState

Defined in

ai-jsx/src/batteries/docs.tsx:424


numChunks

numChunks: number

Defined in

ai-jsx/src/batteries/docs.tsx:428


numDocuments

numDocuments: number

Defined in

ai-jsx/src/batteries/docs.tsx:427


loadingError

Optional loadingError: Error

If loadingState == FAILED, the error that caused it.

Defined in

ai-jsx/src/batteries/docs.tsx:430