# Type Alias BaseDocument

BaseDocument: {
chunks: TextOnlyBaseChunkCreate[];
metadata?: VectorDocumentKeyValueListPair[];
} & Record<string, any>

Base class for documents, document requests and responses.

#### Type Declaration

- ##### chunks: TextOnlyBaseChunkCreate[]

- ##### `Optional` metadata?: VectorDocumentKeyValueListPair[]

  Default: [].

  Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

- Defined in packages/document-grounding/dist/client/api/schema/base-document.d.ts:6