UNPKG

@sap-ai-sdk/document-grounding

Version:

> [!warning] > This package is still in **beta** and is subject to breaking changes. Use it with caution.

18 lines 554 B
import type { TextOnlyBaseChunkCreate } from './text-only-base-chunk-create.js'; import type { VectorDocumentKeyValueListPair } from './vector-document-key-value-list-pair.js'; /** * A single document stored in a collection by ID. */ export type DocumentInput = { chunks: TextOnlyBaseChunkCreate[]; /** * Default: []. */ metadata?: VectorDocumentKeyValueListPair[]; /** * Unique identifier of a document. * Format: "uuid". */ id: string; } & Record<string, any>; //# sourceMappingURL=document-input.d.ts.map