|
export interface IQueryResult { |
|
related?: string; |
|
answer?: string; |
|
contexts?: Record<string, any>[]; |
|
images?: Record<string, any>[]; |
|
} |
|
|
|
export interface ISelectOptions { |
|
name: string; |
|
value: string; |
|
} |
|
|
|
export type Role = 'user' | 'assistant' |
|
|
|
export type Provider = 'ollama' | 'lmstudio'; |
|
|
|
export interface IMessage { |
|
role: Role; |
|
content: string; |
|
} |
|
|
|
export type TSearCategory = 'general' | 'science' | 'images' | 'videos' | 'news' |
|
export type TSearchMode = 'simple' | 'deep' | 'research' |
|
export type TSearchEngine = 'GOOGLE' | 'BING' | 'SOGOU' | 'SEARXNG' |
|
|