feat: [frontend] support vision (#1518)
Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
parent
41d0a8b295
commit
6b15827246
74 changed files with 3159 additions and 339 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue