mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00
doc gpt V0.2
This commit is contained in:
16
src/types/chat.d.ts
vendored
Normal file
16
src/types/chat.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import type { ModelType } from './model';
|
||||
export interface ChatSiteType {
|
||||
name: string;
|
||||
avatar: string;
|
||||
modelId: string;
|
||||
chatModel: string;
|
||||
secret: ModelType.security;
|
||||
}
|
||||
|
||||
export type ChatItemType = {
|
||||
obj: 'Human' | 'AI' | 'SYSTEM';
|
||||
value: string;
|
||||
};
|
||||
export type ChatSiteItemType = {
|
||||
status: 'loading' | 'finish';
|
||||
} & ChatItemType;
|
Reference in New Issue
Block a user