'commit'
This commit is contained in:
@@ -31,8 +31,8 @@ async def lifespan(_: FastAPI):
|
||||
|
||||
app = FastAPI(_=lifespan)
|
||||
|
||||
@app.post("/api/chat")
|
||||
async def chat(request: fastapi.Request):
|
||||
@app.post("/api/teaching_chat")
|
||||
async def teaching_chat(request: fastapi.Request):
|
||||
"""
|
||||
根据用户输入的语句,查询相关历史对话
|
||||
然后调用大模型进行回答
|
||||
|
Reference in New Issue
Block a user