This commit is contained in:
2024-04-03 18:01:45 +08:00
parent 7a317ff749
commit 73dd6a21a7
3 changed files with 110 additions and 54 deletions

View File

@@ -14,10 +14,25 @@ export interface LLMModal {
endpoint: string
}
export interface Assistant {
id: number;
user_id: number;
create_time: number;
tpl_name: string;
types: string;
des: string;
input_tpl: string;
role: string;
target: string;
style: string;
demand: string;
}
export namespace LLMSpark {
export interface request {
prompt: string
}
export interface response {
request_msg?: string
request_fail?: {