update vector search

This commit is contained in:
duanfuxiang
2025-06-15 13:15:39 +08:00
parent 905c7a4ad7
commit 943bc077f1
7 changed files with 775 additions and 6 deletions

View File

@@ -1,14 +1,20 @@
import { NotebookPen, Server, SquareSlash } from 'lucide-react';
import { NotebookPen, Search, Server, SquareSlash } from 'lucide-react';
import React from 'react';
import { t } from '../../lang/helpers';
interface HelloInfoProps {
onNavigate: (tab: 'commands' | 'custom-mode' | 'mcp') => void;
onNavigate: (tab: 'commands' | 'custom-mode' | 'mcp' | 'search') => void;
}
const HelloInfo: React.FC<HelloInfoProps> = ({ onNavigate }) => {
const navigationItems = [
{
label: '语义搜索',
description: '使用 RAG 在笔记库中进行语义搜索',
icon: <Search size={20} />,
action: () => onNavigate('search'),
},
{
label: t('chat.navigation.commands'),
description: t('chat.navigation.commandsDesc'),