wip
This commit is contained in:
@@ -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?: {
|
||||
|
||||
5
typings/schema.d.ts → typings/types.d.ts
vendored
5
typings/schema.d.ts → typings/types.d.ts
vendored
@@ -55,6 +55,11 @@ namespace req {
|
||||
file_size: number
|
||||
}
|
||||
}
|
||||
|
||||
interface AssistantTemplateList {
|
||||
page: number
|
||||
perpage: number
|
||||
}
|
||||
}
|
||||
|
||||
namespace resp {
|
||||
Reference in New Issue
Block a user