mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
28 lines
528 B
TypeScript
28 lines
528 B
TypeScript
import { BillSourceEnum } from './constants';
|
|
import { BillListItemType } from './type';
|
|
|
|
export type CreateTrainingBillProps = {
|
|
name: string;
|
|
vectorModel?: string;
|
|
agentModel?: string;
|
|
};
|
|
|
|
export type ConcatBillProps = {
|
|
teamId: string;
|
|
tmbId: string;
|
|
billId?: string;
|
|
total: number;
|
|
listIndex?: number;
|
|
tokens?: number;
|
|
};
|
|
|
|
export type CreateBillProps = {
|
|
teamId: string;
|
|
tmbId: string;
|
|
appName: string;
|
|
appId?: string;
|
|
total: number;
|
|
source: `${BillSourceEnum}`;
|
|
list: BillListItemType[];
|
|
};
|