diff --git a/README.md b/README.md index 9b1dd940a..fdfc0f769 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ Fast GPT 允许你使用自己的 openai API KEY 来快速的调用 openai 接 ## 🏘️ 交流群 -wx: fastgpt123 -![Demo](docs/imgs/wx300.jpg?raw=true 'wx') +添加 wx 进入: +![Demo](https://otnvvf-imgs.oss.laf.run/wx300.png?raw=true 'wx') ## 👀 其他 diff --git a/docs/deploy/fastgpt/pg/init.sql b/docs/deploy/fastgpt/pg/init.sql index 3841e3c2b..22670f163 100644 --- a/docs/deploy/fastgpt/pg/init.sql +++ b/docs/deploy/fastgpt/pg/init.sql @@ -8,12 +8,14 @@ CREATE TABLE modelData ( vector VECTOR(1536), status VARCHAR(50) NOT NULL, user_id VARCHAR(50) NOT NULL, - model_id VARCHAR(50) NOT NULL, + model_id VARCHAR(50), + kb_id VARCHAR(50), q TEXT NOT NULL, a TEXT NOT NULL ); -- create index CREATE INDEX modelData_status_index ON modelData USING HASH (status); CREATE INDEX modelData_userId_index ON modelData USING HASH (user_id); -CREATE INDEX modelData_modelId_index ON modelData USING HASH (model_id); +CREATE INDEX modelData_userId_index ON modelData USING HASH (model_id); +CREATE INDEX modelData_kbId_index ON modelData USING HASH (kb_id); EOSQL \ No newline at end of file diff --git a/docs/imgs/wx300.jpg b/docs/imgs/wx300.jpg deleted file mode 100644 index b862d23ce..000000000 Binary files a/docs/imgs/wx300.jpg and /dev/null differ diff --git a/public/docs/chatProblem.md b/public/docs/chatProblem.md index 1d8d19ab6..87264483f 100644 --- a/public/docs/chatProblem.md +++ b/public/docs/chatProblem.md @@ -24,4 +24,4 @@ 请 WX 联系: fastgpt123 | 交流群 | 小助手 | | ----------------------- | -------------------- | -| ![](/imgs/wxqun300.jpg) | ![](/imgs/wx300.jpg) | +| ![](https://otnvvf-imgs.oss.laf.run/wxqun300.jpg) | ![](https://otnvvf-imgs.oss.laf.run/wx300.png) | diff --git a/public/docs/intro.md b/public/docs/intro.md index 44eaec85b..eb3be4f2a 100644 --- a/public/docs/intro.md +++ b/public/docs/intro.md @@ -29,6 +29,6 @@ FastGpt 项目完全开源,可随意私有化部署,去除平台风险忧虑 如果群满了,可加个小助手,定时拉 wx 号: fastgpt123 -| 交流群 | 小助手 | -| ----------------------- | -------------------- | -| ![](/imgs/wxqun300.jpg) | ![](/imgs/wx300.jpg) | +| 交流群 | 小助手 | +| ------------------------------------------------- | ---------------------------------------------- | +| ![](https://otnvvf-imgs.oss.laf.run/wxqun300.jpg) | ![](https://otnvvf-imgs.oss.laf.run/wx300.png) | diff --git a/public/imgs/wx300.jpg b/public/imgs/wx300.jpg deleted file mode 100644 index b862d23ce..000000000 Binary files a/public/imgs/wx300.jpg and /dev/null differ diff --git a/src/components/WxConcat/index.tsx b/src/components/WxConcat/index.tsx index 861911118..a4a25a705 100644 --- a/src/components/WxConcat/index.tsx +++ b/src/components/WxConcat/index.tsx @@ -23,7 +23,7 @@ const WxConcat = ({ onClose }: { onClose: () => void }) => {