feat(memory): integrate Mem0 for enhanced conversational memory
Some checks failed
Build and Push Docker / build-and-push (push) Has been cancelled
Some checks failed
Build and Push Docker / build-and-push (push) Has been cancelled
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user