feat: add VectorStore management UI settings page

This commit is contained in:
ochan.kwon
2026-04-16 15:58:20 +09:00
committed by lyingbug
parent 927d3debff
commit 8fd1d61333
10 changed files with 1155 additions and 67 deletions
+56
View File
@@ -573,6 +573,7 @@ export default {
autoCheckUpdateDesc: 'When enabled, automatically check and download the latest version in the background.',
memoryRequiresNeo4j: 'Memory feature requires Neo4j graph database. Please configure and enable Neo4j (set NEO4J_ENABLE=true) before enabling this feature.',
memoryHowToEnable: 'View Neo4j Configuration Guide',
vectorStoreEngine: 'Vector DB Engine',
parserEngine: 'Parser Engine',
storageEngine: 'Storage Engine',
mcpService: 'MCP Service',
@@ -807,6 +808,61 @@ export default {
testFailed: 'Connection test failed',
}
},
vectorStoreSettings: {
title: 'Vector Database Engine',
description: 'Register and manage vector database instances for knowledge base search.',
storesTitle: 'Vector Databases',
addStore: 'Add Database',
editStore: 'Edit Database',
deleteConfirm: 'Are you sure you want to delete this vector database?',
emptyDesc: 'No vector databases configured. Click "Add Database" to get started.',
engineTypeLabel: 'Engine Type',
nameLabel: 'Name',
namePlaceholder: 'e.g., my-vector-store',
connectionInfo: 'Connection Info',
advancedIndexConfig: 'Advanced Settings',
fields: {
addr: 'URL',
host: 'Host',
port: 'Port',
username: 'Username',
password: 'Password',
api_key: 'API Key',
use_tls: 'Use TLS',
scheme: 'Scheme',
grpc_address: 'gRPC Address',
use_default_connection: 'Use Default Connection',
index_name: 'Index Name',
number_of_shards: 'Shards',
number_of_replicas: 'Replicas',
collection_prefix: 'Collection Prefix',
collection_name: 'Collection Name',
shard_number: 'Shard Number',
replication_factor: 'Replication Factor',
shards_num: 'Shards',
replica_number: 'In-memory Replicas',
desired_shard_count: 'Shard Count',
},
envTag: 'DEFAULT',
testConnection: 'Test Connection',
testing: 'Testing...',
immutableNotice: 'Engine type, connection, and index settings cannot be changed after creation.\nTo change these, delete and recreate.',
validation: {
nameRequired: 'Name is required',
engineTypeRequired: 'Engine type is required',
fieldRequired: '{field} is required',
indexNamePattern: 'Must start with a letter. Only letters, numbers, underscore, and hyphen allowed (max 128)',
},
toasts: {
storeCreated: 'Vector database created',
storeUpdated: 'Vector database updated',
storeDeleted: 'Vector database deleted',
testSuccess: 'Connection test succeeded',
testFailed: 'Connection test failed',
duplicateName: 'A vector database with this name already exists',
errorGeneric: 'An error occurred. Please try again.',
},
},
chatHistorySettings: {
title: 'Message Management',
description: 'Configure chat history knowledge base to automatically index conversation messages for semantic search',