@sap-ai-sdk/document-grounding
Version:
> [!warning] > This package is still in **beta** and is subject to breaking changes. Use it with caution.
13 lines • 468 B
TypeScript
import type { TextOnlyBaseChunkCreate } from './text-only-base-chunk-create.js';
import type { VectorDocumentKeyValueListPair } from './vector-document-key-value-list-pair.js';
/**
* Base class for documents, document requests and responses.
*/
export type BaseDocument = {
chunks: TextOnlyBaseChunkCreate[];
/**
* Default: [].
*/
metadata?: VectorDocumentKeyValueListPair[];
} & Record<string, any>;
//# sourceMappingURL=base-document.d.ts.map