@sap-ai-sdk/document-grounding
Version:
> [!warning] > This package is still in **beta** and is subject to breaking changes. Use it with caution.
15 lines • 498 B
TypeScript
import type { TextOnlyBaseChunk } from './text-only-base-chunk.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: TextOnlyBaseChunk[];
metadata: VectorDocumentKeyValueListPair[];
/**
* Unique identifier of a document.
* Format: "uuid".
*/
id: string;
} & Record<string, any>;
//# sourceMappingURL=document-input.d.ts.map