mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-22 16:36:47 +08:00
Feat: Add a web search button to the chat box on the chat page. (#12786)
### What problem does this PR solve? Feat: Add a web search button to the chat box on the chat page. ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@@ -13,6 +13,7 @@ export interface PromptConfig {
|
||||
use_kg: boolean;
|
||||
reasoning?: boolean;
|
||||
cross_languages?: Array<string>;
|
||||
tavily_api_key?: string;
|
||||
}
|
||||
|
||||
export interface Parameter {
|
||||
@@ -100,6 +101,7 @@ export interface Message {
|
||||
chatBoxId?: string;
|
||||
attachment?: IAttachment;
|
||||
reasoning?: boolean;
|
||||
internet?: boolean;
|
||||
}
|
||||
|
||||
export interface IReferenceChunk {
|
||||
@@ -183,6 +185,7 @@ export interface IExternalChatInfo {
|
||||
avatar?: string;
|
||||
title: string;
|
||||
prologue?: string;
|
||||
has_tavily_key?: boolean;
|
||||
}
|
||||
|
||||
export interface IMessage extends Message {
|
||||
|
||||
Reference in New Issue
Block a user