@sap-ai-sdk/document-grounding
Version:
> [!warning] > This package is still in **beta** and is subject to breaking changes. Use it with caution.
28 lines • 866 B
TypeScript
import type { RetrievalKeyValueListPair } from './retrieval-key-value-list-pair.js';
import type { Document } from './document.js';
/**
* DataRepository schema returned by the Vector search endpoint
*/
export type DataRepositoryWithDocuments = {
/**
* Unique identifier of this DataRepository.
* Format: "uuid".
*/
id: string;
title: string;
/**
* Metadata attached to DataRepository. Useful to later limit search to a subset of DataRepositories.
* Default: [].
*/
metadata?: RetrievalKeyValueListPair[];
/**
* Friendly destination Name (grounding.name) of remote instance.
*/
remoteGroundingName?: string | null;
/**
* Optional message.
*/
message?: string | null;
documents: Document[];
} & Record<string, any>;
//# sourceMappingURL=data-repository-with-documents.d.ts.map