@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
30 lines (26 loc) • 611 B
text/typescript
export type SearchMode = 'off' | 'auto' | 'on';
export enum ModelSearchImplement {
/**
* 模型内置了搜索功能
* 类似 Jina 、PPLX 等模型的搜索模式,让调用方无感知
*/
Internal = 'internal',
/**
* 使用参数开关的方式,例如 Qwen、Google、OpenRouter,搜索结果在
*/
Params = 'params',
/**
* 使用工具调用的方式
*/
Tool = 'tool',
}
export interface CitationItem {
favicon?: string;
id?: string;
title?: string;
url: string;
}
export interface GroundingSearch {
citations?: CitationItem[];
searchQueries?: string[];
}