Interface: CorpusLoadResponse<DocType>
batteries/docs.CorpusLoadResponse
The response to a CorpusLoadRequest.
Type parameters
Name | Type |
---|---|
DocType | extends RawDocument | Document |
Properties
page
• Optional
Readonly
page: CorpusPage
<DocType
>
A page of documents from the requested partition.
Defined in
packages/ai-jsx/src/batteries/docs.tsx:175
partitions
• Optional
Readonly
partitions: CorpusPartition
[]
Additional partitions that should be loaded in subsequent requests. These will be ignored if they were already included in a previous response.