mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00
16 lines
442 B
TypeScript
16 lines
442 B
TypeScript
import { VectorModelItemType } from '../ai/model.d';
|
|
import { DYNAMIC_INPUT_KEY } from './constants';
|
|
|
|
export type SelectedDatasetType = { datasetId: string; vectorModel: VectorModelItemType }[];
|
|
|
|
export type HttpBodyType<T = any> = {
|
|
[DYNAMIC_INPUT_KEY]: Record<string, any>;
|
|
} & T;
|
|
export type HttpQueryType = {
|
|
appId: string;
|
|
chatId?: string;
|
|
responseChatItemId?: string;
|
|
variables: Record<string, any>;
|
|
[key: string]: any;
|
|
};
|