Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 540df49331 | |||
| e3c68b5133 |
9
database_init_report.json
Normal file
9
database_init_report.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"init_time": "2025-12-12T13:31:25.459591",
|
||||||
|
"database_version": "SQLite 3.43.1",
|
||||||
|
"database_url": "sqlite:///tsp_assistant.db",
|
||||||
|
"migrations_applied": 0,
|
||||||
|
"tables_created": 9,
|
||||||
|
"initial_data_inserted": true,
|
||||||
|
"verification_passed": true
|
||||||
|
}
|
||||||
BIN
local_test.db
BIN
local_test.db
Binary file not shown.
4762
logs/dashboard.log
4762
logs/dashboard.log
File diff suppressed because one or more lines are too long
9
logs/tsp_assistant.log
Normal file
9
logs/tsp_assistant.log
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
2025-12-12 13:30:49,040 - src.core.database - ERROR - 数据库操作失败: 'search_frequency' is an invalid keyword argument for KnowledgeEntry
|
||||||
|
2025-12-12 13:31:25,399 - src.vehicle.vehicle_data_manager - INFO - 添加车辆数据成功: V001 - location
|
||||||
|
2025-12-12 13:31:25,404 - src.vehicle.vehicle_data_manager - INFO - 添加车辆数据成功: V001 - status
|
||||||
|
2025-12-12 13:31:25,409 - src.vehicle.vehicle_data_manager - INFO - 添加车辆数据成功: V001 - battery
|
||||||
|
2025-12-12 13:31:25,414 - src.vehicle.vehicle_data_manager - INFO - 添加车辆数据成功: V001 - engine
|
||||||
|
2025-12-12 13:31:25,419 - src.vehicle.vehicle_data_manager - INFO - 添加车辆数据成功: V002 - location
|
||||||
|
2025-12-12 13:31:25,424 - src.vehicle.vehicle_data_manager - INFO - 添加车辆数据成功: V002 - status
|
||||||
|
2025-12-12 13:31:25,429 - src.vehicle.vehicle_data_manager - INFO - 添加车辆数据成功: V002 - fault
|
||||||
|
2025-12-12 13:31:25,429 - src.vehicle.vehicle_data_manager - INFO - 示例车辆数据添加成功
|
||||||
BIN
src/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
src/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/__pycache__/agent_assistant.cpython-310.pyc
Normal file
BIN
src/__pycache__/agent_assistant.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/__pycache__/main.cpython-310.pyc
Normal file
BIN
src/__pycache__/main.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/analytics/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
src/analytics/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/analytics/__pycache__/ai_success_monitor.cpython-310.pyc
Normal file
BIN
src/analytics/__pycache__/ai_success_monitor.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/analytics/__pycache__/alert_system.cpython-310.pyc
Normal file
BIN
src/analytics/__pycache__/alert_system.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/analytics/__pycache__/analytics_manager.cpython-310.pyc
Normal file
BIN
src/analytics/__pycache__/analytics_manager.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/analytics/__pycache__/monitor_service.cpython-310.pyc
Normal file
BIN
src/analytics/__pycache__/monitor_service.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/analytics/__pycache__/token_monitor.cpython-310.pyc
Normal file
BIN
src/analytics/__pycache__/token_monitor.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/config/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
src/config/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/config/__pycache__/config.cpython-310.pyc
Normal file
BIN
src/config/__pycache__/config.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/config/__pycache__/unified_config.cpython-310.pyc
Normal file
BIN
src/config/__pycache__/unified_config.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
@@ -10,8 +10,8 @@ class Config:
|
|||||||
ALIBABA_MODEL_NAME = "qwen-plus-latest"
|
ALIBABA_MODEL_NAME = "qwen-plus-latest"
|
||||||
|
|
||||||
# 数据库配置
|
# 数据库配置
|
||||||
DATABASE_URL = "mysql+pymysql://tsp_assistant:123456@jeason.online/tsp_assistant?charset=utf8mb4"
|
DATABASE_URL = "mysql+pymysql://tsp_assistant:123456@43.134.68.207/tsp_assistant?charset=utf8mb4"
|
||||||
# DATABASE_URL = "sqlite:///local_test.db" # 本地测试数据库
|
# DATABASE_URL = "sqlite:///tsp_assistant.db" # 本地测试数据库
|
||||||
|
|
||||||
# 知识库配置
|
# 知识库配置
|
||||||
KNOWLEDGE_BASE_PATH = "data/knowledge_base"
|
KNOWLEDGE_BASE_PATH = "data/knowledge_base"
|
||||||
|
|||||||
BIN
src/core/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
src/core/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/core/__pycache__/auth_manager.cpython-310.pyc
Normal file
BIN
src/core/__pycache__/auth_manager.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/core/__pycache__/backup_manager.cpython-310.pyc
Normal file
BIN
src/core/__pycache__/backup_manager.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/core/__pycache__/cache_manager.cpython-310.pyc
Normal file
BIN
src/core/__pycache__/cache_manager.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/core/__pycache__/database.cpython-310.pyc
Normal file
BIN
src/core/__pycache__/database.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/core/__pycache__/llm_client.cpython-310.pyc
Normal file
BIN
src/core/__pycache__/llm_client.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/core/__pycache__/models.cpython-310.pyc
Normal file
BIN
src/core/__pycache__/models.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/core/__pycache__/query_optimizer.cpython-310.pyc
Normal file
BIN
src/core/__pycache__/query_optimizer.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/core/__pycache__/redis_manager.cpython-310.pyc
Normal file
BIN
src/core/__pycache__/redis_manager.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/core/__pycache__/system_optimizer.cpython-310.pyc
Normal file
BIN
src/core/__pycache__/system_optimizer.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
@@ -86,6 +86,9 @@ class KnowledgeEntry(Base):
|
|||||||
verified_by = Column(String(100)) # 验证人
|
verified_by = Column(String(100)) # 验证人
|
||||||
verified_at = Column(DateTime) # 验证时间
|
verified_at = Column(DateTime) # 验证时间
|
||||||
vector_embedding = Column(Text) # 向量嵌入的JSON字符串
|
vector_embedding = Column(Text) # 向量嵌入的JSON字符串
|
||||||
|
search_frequency = Column(Integer, default=0) # 搜索频率
|
||||||
|
last_accessed = Column(DateTime) # 最后访问时间
|
||||||
|
relevance_score = Column(Float, default=0.0) # 相关性评分
|
||||||
|
|
||||||
class VehicleData(Base):
|
class VehicleData(Base):
|
||||||
"""车辆实时数据模型"""
|
"""车辆实时数据模型"""
|
||||||
|
|||||||
BIN
src/dialogue/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
src/dialogue/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/dialogue/__pycache__/conversation_history.cpython-310.pyc
Normal file
BIN
src/dialogue/__pycache__/conversation_history.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/dialogue/__pycache__/dialogue_manager.cpython-310.pyc
Normal file
BIN
src/dialogue/__pycache__/dialogue_manager.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/dialogue/__pycache__/realtime_chat.cpython-310.pyc
Normal file
BIN
src/dialogue/__pycache__/realtime_chat.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/integrations/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
src/integrations/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
src/integrations/__pycache__/config_manager.cpython-310.pyc
Normal file
BIN
src/integrations/__pycache__/config_manager.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/integrations/__pycache__/feishu_client.cpython-310.pyc
Normal file
BIN
src/integrations/__pycache__/feishu_client.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
src/integrations/__pycache__/workorder_sync.cpython-310.pyc
Normal file
BIN
src/integrations/__pycache__/workorder_sync.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/knowledge_base/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
src/knowledge_base/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/knowledge_base/__pycache__/knowledge_manager.cpython-310.pyc
Normal file
BIN
src/knowledge_base/__pycache__/knowledge_manager.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/utils/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
src/utils/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/utils/__pycache__/helpers.cpython-310.pyc
Normal file
BIN
src/utils/__pycache__/helpers.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/vehicle/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
src/vehicle/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/vehicle/__pycache__/vehicle_data_manager.cpython-310.pyc
Normal file
BIN
src/vehicle/__pycache__/vehicle_data_manager.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
src/web/blueprints/__pycache__/agent.cpython-310.pyc
Normal file
BIN
src/web/blueprints/__pycache__/agent.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
src/web/blueprints/__pycache__/analytics.cpython-310.pyc
Normal file
BIN
src/web/blueprints/__pycache__/analytics.cpython-310.pyc
Normal file
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user