mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-27 00:17:31 +00:00
21 lines
529 B
TypeScript
21 lines
529 B
TypeScript
import { DatasetDataIndexItemType } from './type';
|
|
|
|
/* ================= dataset ===================== */
|
|
|
|
/* ================= collection ===================== */
|
|
|
|
/* ================= data ===================== */
|
|
export type PgSearchRawType = {
|
|
id: string;
|
|
team_id: string;
|
|
tmb_id: string;
|
|
collection_id: string;
|
|
data_id: string;
|
|
score: number;
|
|
};
|
|
export type PushDatasetDataChunkProps = {
|
|
q: string; // embedding content
|
|
a?: string; // bonus content
|
|
indexes?: Omit<DatasetDataIndexItemType, 'dataId'>[];
|
|
};
|