- Reorganize imports and remove unused dependencies across memory agent controllers - Extract config validation logic into dedicated validators module - Create new memory_config_model and memory_config_schema for configuration management - Implement memory_config_service for centralized config handling - Add embedder_utils module for embedding model utilities - Refactor memory agent service to use new config validation framework - Clean up configuration files (remove config.json, testdata.json, dbrun.json) - Remove deprecated hybrid_chatbot.py and config overrides - Update logging configuration and error handling across memory modules - Consolidate LLM and embedding model validation into validators - Improve code organization and reduce duplication in memory storage services - Enhance type classification and verification tools with better error handling
22 lines
420 B
Python
22 lines
420 B
Python
from typing import Optional
|
||
|
||
from pydantic import BaseModel
|
||
|
||
|
||
class UserInput(BaseModel):
|
||
message: str
|
||
history: list[dict]
|
||
search_switch: str
|
||
group_id: str
|
||
config_id: str
|
||
|
||
|
||
class Write_UserInput(BaseModel):
|
||
message: str
|
||
group_id: str
|
||
config_id: str
|
||
|
||
class End_User_Information(BaseModel):
|
||
end_user_name: str # 这是要更新的用户名
|
||
id: str # 宿主ID,用于匹配条件
|