Summary: - Implement PKB Dashboard and Workspace pages based on V3 prototype - Add single-layer header with integrated Tab navigation - Implement 3 work modes: Full Text, Deep Read, Batch Processing - Integrate Ant Design X Chat component for AI conversations - Create BatchModeComplete with template selection and document processing - Add compact work mode selector with dropdown design Backend: - Migrate PKB controllers and services to /modules/pkb structure - Register v2 API routes at /api/v2/pkb/knowledge - Maintain dual API routes for backward compatibility Technical details: - Use Zustand for state management - Handle SSE streaming responses for AI chat - Support document selection for Deep Read mode - Implement batch processing with progress tracking Known issues: - Batch processing API integration pending - Knowledge assets page navigation needs optimization Status: Frontend functional, pending refinement
81 lines
1.1 KiB
Bash
81 lines
1.1 KiB
Bash
#!/bin/bash
|
||
|
||
# Linux/Mac脚本 - 运行缺失值处理功能测试
|
||
|
||
echo "========================================"
|
||
echo "缺失值处理功能 - 自动化测试"
|
||
echo "========================================"
|
||
echo
|
||
|
||
# 检查Python是否安装
|
||
if ! command -v python3 &> /dev/null; then
|
||
echo "[错误] Python未安装"
|
||
exit 1
|
||
fi
|
||
|
||
echo "[1/3] 检查Python服务状态..."
|
||
if ! curl -s http://localhost:8001/health > /dev/null 2>&1; then
|
||
echo "[警告] Python服务未运行,请先启动服务:"
|
||
echo " cd extraction_service"
|
||
echo " python main.py"
|
||
echo
|
||
exit 1
|
||
fi
|
||
echo "[OK] Python服务运行正常"
|
||
echo
|
||
|
||
echo "[2/3] 检查依赖..."
|
||
python3 -c "import pandas, numpy, requests" 2> /dev/null
|
||
if [ $? -ne 0 ]; then
|
||
echo "[警告] 缺少依赖,正在安装..."
|
||
pip3 install pandas numpy requests
|
||
fi
|
||
echo "[OK] 依赖检查完成"
|
||
echo
|
||
|
||
echo "[3/3] 运行测试..."
|
||
echo
|
||
python3 test_fillna_operations.py
|
||
|
||
echo
|
||
echo "========================================"
|
||
echo "测试完成"
|
||
echo "========================================"
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|