From 1ccf8bcf1be8f79792e509c0f5dd5e6757da8ef7 Mon Sep 17 00:00:00 2001 From: louiscklaw Date: Sat, 1 Feb 2025 02:04:40 +0800 Subject: [PATCH] update, --- .gitattributes | 31 +++++++++++++++++++++++++++++++ .gitignore | 1 + NOTES.md | 15 +++++++++++++++ gitUpdate.bat | 7 +++++++ gitUpdate.sh | 16 ++++++++++++++++ package.json | 13 +++++++++++++ 6 files changed, 83 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 NOTES.md create mode 100644 gitUpdate.bat create mode 100755 gitUpdate.sh create mode 100644 package.json diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d54c38a --- /dev/null +++ b/.gitattributes @@ -0,0 +1,31 @@ +*.mp4 filter=lfs diff=lfs merge=lfs +*.zip filter=lfs diff=lfs merge=lfs +*.7z filter=lfs diff=lfs merge=lfs +*.tar.gz filter=lfs diff=lfs merge=lfs +*.jpg filter=lfs diff=lfs merge=lfs +*.png filter=lfs diff=lfs merge=lfs +*.avif filter=lfs diff=lfs merge=lfs +*.webm filter=lfs diff=lfs merge=lfs +*.mkv filter=lfs diff=lfs merge=lfs + +# Documents +*.doc diff=astextplain +*.DOC diff=astextplain +*.docx diff=astextplain +*.DOCX diff=astextplain +*.dot diff=astextplain +*.DOT diff=astextplain +*.pdf diff=astextplain +*.PDF diff=astextplain +*.rtf diff=astextplain +*.RTF diff=astextplain + +*.gif filter=lfs diff=lfs merge=lfs +*.GIF filter=lfs diff=lfs merge=lfs +*.bmp filter=lfs diff=lfs merge=lfs +*.BMP filter=lfs diff=lfs merge=lfs +*.tiff filter=lfs diff=lfs merge=lfs +*.TIFF filter=lfs diff=lfs merge=lfs +*.wav filter=lfs diff=lfs merge=lfs +*.WAV filter=lfs diff=lfs merge=lfs +*.log filter=lfs diff=lfs merge=lfs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..67a5a14 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +**/~*.* \ No newline at end of file diff --git a/NOTES.md b/NOTES.md new file mode 100644 index 0000000..0ac678a --- /dev/null +++ b/NOTES.md @@ -0,0 +1,15 @@ +呢個係具體 requirement: + +我們需要在現有的登錄界面加入註冊模塊,和訪客登錄模塊。 + +註冊模塊: +最低要求,實現將用戶自定義的賬戶密碼存入數據庫。 +可選功能,調用 api 進行郵箱驗證或是其他驗證功能。 + +訪客登錄:點擊後直接跳轉聊天窗口。 + +用戶登錄和訪客登錄的區別: +用戶登錄後,用戶與機器人的聊天歷史會存入兩個數據庫,一個是用於綁定用戶和聊天數據,以使機器人擁有記憶力,另一個是只存入聊天數據,作為所有人共享的語料庫。 +訪客模式下,聊天數據只存入後者,不存入前者 + +以上用 streamlit 實現即可,用戶登錄和訪客登錄給我注明分別跳轉兩個 page 的 path 字符串變量即可,寫好後把 python 文件發給我 diff --git a/gitUpdate.bat b/gitUpdate.bat new file mode 100644 index 0000000..a1c991a --- /dev/null +++ b/gitUpdate.bat @@ -0,0 +1,7 @@ +git status . + +@pause + +git add . +git commit -m"update pgrrw5xmrk," +start git push \ No newline at end of file diff --git a/gitUpdate.sh b/gitUpdate.sh new file mode 100755 index 0000000..c96734f --- /dev/null +++ b/gitUpdate.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +set -ex + +git config --global http.version HTTP/1.1 +git config --global lfs.allowincompletepush true +git config --global lfs.locksverify true +git config --global http.postBuffer 5368709120 + +git add . + +git commit -m 'update,' + +git push + +echo "done" diff --git a/package.json b/package.json new file mode 100644 index 0000000..dd1db64 --- /dev/null +++ b/package.json @@ -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" +}