feat: implement knowledge search feature with enhanced configuration and UI

- Updated `config.yaml` to adjust conversation parameters for improved search performance.
- Added a new `knowledgeSemanticSearch` API function for semantic search capabilities.
- Introduced new SVG icons for search functionality.
- Created `KnowledgeSearch.vue` component for the search interface, including query input and result display.
- Enhanced menu and routing to support navigation to the new knowledge search page.
- Updated internationalization files to include translations for the knowledge search feature.

This update provides users with a powerful tool to perform semantic searches across knowledge bases, improving content discoverability.
This commit is contained in:
wizardchen
2026-03-02 15:51:11 +08:00
committed by lyingbug
parent e595e9345e
commit 612b3f2c90
13 changed files with 884 additions and 18 deletions
+26
View File
@@ -14,6 +14,7 @@ export default {
newSession: "새 세션",
confirmLogout: "정말 로그아웃 하시겠습니까?",
systemInfo: "시스템 정보",
knowledgeSearch: "지식 검색",
},
batchManage: {
title: "대화 관리",
@@ -2795,4 +2796,29 @@ export default {
unsupported: '이 파일 유형은 온라인 미리보기를 지원하지 않습니다',
unsupportedHint: '파일을 다운로드하여 로컬 앱으로 열어주세요',
},
knowledgeSearch: {
title: '지식 검색',
subtitle: '지식베이스에서 시맨틱 검색으로 관련 콘텐츠를 빠르게 찾으세요',
placeholder: '검색어를 입력하세요...',
searchBtn: '검색',
selectKb: '지식베이스 선택',
allKb: '모든 지식베이스',
noResults: '관련 결과를 찾을 수 없습니다',
resultCount: '총 {count}개 결과',
score: '관련도',
matchType: '매칭 유형',
matchTypeVector: '벡터 매칭',
matchTypeKeyword: '키워드 매칭',
emptyHint: '키워드를 입력하여 지식베이스에서 관련 콘텐츠를 검색하세요',
searching: '검색 중...',
source: '출처',
chunk: '개 청크',
expand: '펼치기',
collapse: '접기',
fileCount: '개 파일',
viewDetail: '상세보기',
startChat: '대화 시작',
chatWithFile: '대화',
newChatTitle: '검색: {query}',
},
};