mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-22 11:55:07 +00:00
V4.6.5-alpha (#609)
This commit is contained in:
13
packages/global/core/module/api.d.ts
vendored
13
packages/global/core/module/api.d.ts
vendored
@@ -1,3 +1,16 @@
|
||||
import { VectorModelItemType } from '../ai/model.d';
|
||||
|
||||
export type SelectedDatasetType = { datasetId: string; vectorModel: VectorModelItemType }[];
|
||||
|
||||
export type HttpBodyType<T = any> = {
|
||||
appId: string;
|
||||
chatId?: string;
|
||||
variables: Record<string, any>;
|
||||
data: T;
|
||||
};
|
||||
export type HttpQueryType = {
|
||||
appId: string;
|
||||
chatId?: string;
|
||||
variables: Record<string, any>;
|
||||
[key: string]: any;
|
||||
};
|
||||
|
Reference in New Issue
Block a user