Interface: CorpusPage<DocType>
batteries/docs.CorpusPage
A collection of sequential documents within a single CorpusPartition.
Type parameters
Name | Type |
---|---|
DocType | extends RawDocument | Document |
Properties
documents
• Readonly
documents: DocType
[]
Documents to load into the corpus.
Defined in
packages/ai-jsx/src/batteries/docs.tsx:101
nextPageToken
• Optional
Readonly
nextPageToken: string
If there's another page in the requested partition, the token needed for requesting it.