You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/web/models/prompt-template.ts

24 lines
469 B
TypeScript

export type PromptTemplate = {
id: string
name: string
mode: string
description?: string
tags?: string[]
prompt_content?: string
model_settings?: {
model_name: string
parameters: Record<string, any>
}
created_at: string
updated_at: string
}
export type PromptTemplateRequest = {
name: string
mode: string
prompt_content: string
description?: string
tags?: string[]
model_name?: string
model_parameters?: Record<string, any>
}