mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 12:20:34 +00:00

* perf: handle edge check * search model * feat: plugin input can render all input; fix: plugin default value * fix ts * feat: plugin input support required
23 lines
547 B
TypeScript
23 lines
547 B
TypeScript
import { VectorModelItemType } from '../ai/model.d';
|
|
import { NodeInputKeyEnum } from './constants';
|
|
|
|
export type SelectedDatasetType = { datasetId: string }[];
|
|
|
|
export type HttpBodyType<T = Record<string, any>> = {
|
|
[NodeInputKeyEnum.addInputParam]: Record<string, any>;
|
|
} & T;
|
|
export type HttpQueryType = {
|
|
appId: string;
|
|
chatId?: string;
|
|
responseChatItemId?: string;
|
|
variables: Record<string, any>;
|
|
[key: string]: any;
|
|
};
|
|
|
|
/* http node */
|
|
export type HttpParamAndHeaderItemType = {
|
|
key: string;
|
|
type: string;
|
|
value: string;
|
|
};
|