22 lines
398 B
TypeScript
22 lines
398 B
TypeScript
type WebSearch = {
|
|
search_engine: string
|
|
search_url: string
|
|
search_query: string
|
|
search_results: {
|
|
title: string
|
|
link: string
|
|
}[]
|
|
}
|
|
export type Message = {
|
|
isBot: boolean
|
|
name: string
|
|
message: string
|
|
webSources: any[]
|
|
iodSources: any[]
|
|
images?: string[]
|
|
search?: WebSearch
|
|
messageType?: string
|
|
id?: string
|
|
generationInfo?: any
|
|
reasoning_time_taken?: number
|
|
} |