* model config * feat: model config ui * perf: rename variable * feat: custom request url * perf: model buffer * perf: init model * feat: json model config * auto login * fix: ts * update packages * package * fix: dockerfile
23 lines
553 B
TypeScript
23 lines
553 B
TypeScript
import { EmbeddingModelItemType } 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;
|
|
};
|