mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-18 19:46:44 +08:00
feat: submit api key and add language to Configuration and fetch llm factory list on UserSettingModel mount (#121)
* feat: fetch llm factory list on UserSettingModel mount * feat: add language to Configuration * feat: submit api key
This commit is contained in:
@ -14,3 +14,25 @@ export interface IThirdOAIModel {
|
||||
}
|
||||
|
||||
export type IThirdOAIModelCollection = Record<string, IThirdOAIModel[]>;
|
||||
|
||||
export interface IFactory {
|
||||
create_date: string;
|
||||
create_time: number;
|
||||
logo: string;
|
||||
name: string;
|
||||
status: string;
|
||||
tags: string;
|
||||
update_date: string;
|
||||
update_time: number;
|
||||
}
|
||||
|
||||
export interface IMyLlmValue {
|
||||
llm: Llm[];
|
||||
tags: string;
|
||||
}
|
||||
|
||||
export interface Llm {
|
||||
name: string;
|
||||
type: string;
|
||||
used_token: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user