feat: [frontend] support vision (#1518)
Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
@@ -176,6 +176,7 @@ export type PluginProvider = {
|
||||
export type FileUploadConfigResponse = {
|
||||
file_size_limit: number
|
||||
batch_count_limit: number
|
||||
image_file_size_limit?: number | string
|
||||
}
|
||||
|
||||
export type DocumentsLimitResponse = {
|
||||
|
@@ -1,3 +1,5 @@
|
||||
import type { VisionFile } from '@/types/app'
|
||||
|
||||
// Log type contains key:string conversation_id:string created_at:string quesiton:string answer:string
|
||||
export type Conversation = {
|
||||
id: string
|
||||
@@ -78,6 +80,7 @@ export type MessageContent = {
|
||||
from_source?: 'admin' | 'user'
|
||||
from_end_user_id?: string
|
||||
}>
|
||||
message_files: VisionFile[]
|
||||
}
|
||||
|
||||
export type CompletionConversationGeneralDetail = {
|
||||
|
Reference in New Issue
Block a user