This commit is contained in:
louiscklaw
2025-01-31 21:19:15 +08:00
parent 63361c7658
commit 3380f515df
3 changed files with 35 additions and 0 deletions

15
pgrrw5xmrk/NOTES.md Normal file
View File

@@ -0,0 +1,15 @@
呢個係具體 requirement
我們需要在現有的登錄界面加入註冊模塊,和訪客登錄模塊。
註冊模塊:
最低要求,實現將用戶自定義的賬戶密碼存入數據庫。
可選功能,調用 api 進行郵箱驗證或是其他驗證功能。
訪客登錄:點擊後直接跳轉聊天窗口。
用戶登錄和訪客登錄的區別:
用戶登錄後,用戶與機器人的聊天歷史會存入兩個數據庫,一個是用於綁定用戶和聊天數據,以使機器人擁有記憶力,另一個是只存入聊天數據,作為所有人共享的語料庫。
訪客模式下,聊天數據只存入後者,不存入前者
以上用 streamlit 實現即可,用戶登錄和訪客登錄給我注明分別跳轉兩個 page 的 path 字符串變量即可,寫好後把 python 文件發給我

7
pgrrw5xmrk/gitUpdate.bat Normal file
View File

@@ -0,0 +1,7 @@
git status .
@pause
git add .
git commit -m"update pgrrw5xmrk,"
start git push

13
pgrrw5xmrk/package.json Normal file
View File

@@ -0,0 +1,13 @@
{
"name": "pgrrw5xmrk",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"gitUpdate": "git add . && git commit -m'update,'&& git push"
},
"keywords": [],
"author": "",
"license": "ISC"
}