Skip to main content

Enumeration: CorpusLoadingState

batteries/docs.CorpusLoadingState

An indication of what steps are necessary to make this corpus ready for serving.

Enumeration Members

COMPLETED

COMPLETED = "COMPLETED"

Documents were successfully loaded. The corpus is ready for serving.

Defined in

packages/ai-jsx/src/batteries/docs.tsx:417


FAILED

FAILED = "FAILED"

Documents failed to load. See details for your implementation to try to resolve.

Defined in

packages/ai-jsx/src/batteries/docs.tsx:419


IN_PROGRESS

IN_PROGRESS = "IN_PROGRESS"

Documents are currently being loaded.

Defined in

packages/ai-jsx/src/batteries/docs.tsx:415


NOT_STARTED

NOT_STARTED = "NOT_STARTED"

Documents have not been loaded. Call startLoading to begin loading them.

Defined in

packages/ai-jsx/src/batteries/docs.tsx:413