|
|
|
@ -4,6 +4,7 @@ import type {
|
|
|
|
Edge,
|
|
|
|
Edge,
|
|
|
|
Node,
|
|
|
|
Node,
|
|
|
|
} from '@/app/components/workflow/types'
|
|
|
|
} from '@/app/components/workflow/types'
|
|
|
|
|
|
|
|
import type { Metadata } from '@/app/components/base/chat/chat/type'
|
|
|
|
|
|
|
|
|
|
|
|
// Log type contains key:string conversation_id:string created_at:string quesiton:string answer:string
|
|
|
|
// Log type contains key:string conversation_id:string created_at:string quesiton:string answer:string
|
|
|
|
export type Conversation = {
|
|
|
|
export type Conversation = {
|
|
|
|
@ -102,6 +103,7 @@ export type MessageContent = {
|
|
|
|
from_end_user_id?: string
|
|
|
|
from_end_user_id?: string
|
|
|
|
}>
|
|
|
|
}>
|
|
|
|
message_files: VisionFile[]
|
|
|
|
message_files: VisionFile[]
|
|
|
|
|
|
|
|
metadata: Metadata
|
|
|
|
agent_thoughts: any[] // TODO
|
|
|
|
agent_thoughts: any[] // TODO
|
|
|
|
workflow_run_id: string
|
|
|
|
workflow_run_id: string
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|