新增中翻英功能(记忆时间线)(用户摘要)(兴趣分布接口)(查询核心档案)(记忆洞察)-接口添加翻译字段
This commit is contained in:
@@ -1,15 +1,19 @@
|
||||
"""
|
||||
显性记忆的请求和响应模型
|
||||
"""
|
||||
from typing import Optional
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
class ExplicitMemoryOverviewRequest(BaseModel):
|
||||
"""显性记忆总览查询请求"""
|
||||
|
||||
end_user_id: str = Field(..., description="终端用户ID")
|
||||
language_type: Optional[str] = Field("zh", description="语言类型(zh/en)")
|
||||
|
||||
class ExplicitMemoryDetailsRequest(BaseModel):
|
||||
"""显性记忆详情查询请求"""
|
||||
|
||||
end_user_id: str = Field(..., description="终端用户ID")
|
||||
memory_id: str = Field(..., description="记忆ID(情景记忆或语义记忆的ID)")
|
||||
language_type: Optional[str] = Field("zh", description="语言类型(zh/en)")
|
||||
|
||||
Reference in New Issue
Block a user