feat(memory): integrate Mem0 for enhanced conversational memory
Some checks failed
Build and Push Docker / build-and-push (push) Has been cancelled

This commit is contained in:
gameloader
2025-10-12 16:36:41 +08:00
parent 0ab8fc2fa9
commit 618c2ec209
9 changed files with 1365 additions and 827 deletions

View File

@ -25,8 +25,8 @@ class ChatResponse(BaseModel):
# 创建 FastAPI 应用
app = FastAPI(
title="Haystack RAG API",
description="基于 Haystack 的 RAG 聊天服务 API",
title="Mem0 Memory API",
description="基于 Mem0 的记忆增强聊天服务 API",
version="1.0.0"
)
@ -43,7 +43,7 @@ async def startup_event():
@app.get("/")
async def root():
"""根路径,返回 API 信息"""
return {"message": "Haystack RAG API is running", "version": "1.0.0"}
return {"message": "Mem0 Memory API is running", "version": "1.0.0"}
@app.get("/health")