Commit Graph

324 Commits

Author SHA1 Message Date
Yang Luo f66fc26b61 Add task pages 2023-09-08 01:55:37 +08:00
Yang Luo fdb5e01ec8 Remove useless Graph APIs 2023-09-08 01:55:06 +08:00
Yang Luo a5ce39674b Fix mask in UpdateProvider() 2023-09-08 01:25:55 +08:00
Yang Luo 4c7c5fe04a Don't add provider to chat 2023-09-08 01:20:04 +08:00
Yang Luo a80a385bd3 Rename to "OpenAI" type 2023-09-08 01:14:53 +08:00
Yang Luo 3a27f56531 Fix HuggingFaceModelProvider 2023-09-08 00:51:24 +08:00
Yang Luo c65baeba0b Allow no knowledge 2023-09-08 00:50:50 +08:00
Yang Luo f0fa71f141 Improve addVectorsForStore() 2023-09-07 23:55:53 +08:00
Kelvin Chiu 6edd86276b
feat: add api support of HuggingFace (#620) 2023-09-07 23:17:59 +08:00
Yang Luo ec9bcb6d78 Refactor to addVectorsForStore() 2023-09-07 23:05:20 +08:00
Yang Luo 9020043669 Fix links 2023-09-07 22:53:26 +08:00
Yang Luo 5cb0df3eb1 Add subType to provider 2023-09-07 18:41:51 +08:00
Yang Luo 6f2e6c28d0 Improve demo site link 2023-09-07 18:24:36 +08:00
Yang Luo ef1cf307b8 Add task struct 2023-09-06 22:43:04 +08:00
YunShu 5f6a63b5af
docs: fix dead links (#617)
* docs: fix dead links

https://github.com/Selflocking/linkchecker/actions/runs/6058177987

* docs: fix wrong badge
2023-09-03 17:34:12 +08:00
Yang Luo 9f32fbd998 Add Model interface 2023-09-02 21:20:36 +08:00
yehong 43000075c0
feat: demo mode (#616) 2023-08-31 23:53:25 +08:00
Kelvin Chiu d940bab0f5
feat: support .docx, .pdf file parsing (#614)
* feat: add .pdf\.docx text extraction

* feat: add .pdf\.docx text extraction
2023-08-27 15:02:20 +08:00
YunShu 8ec158399b
fix: add support for several databases (#613) 2023-08-19 01:00:40 +08:00
YunShu c49e49cf33
chore: upgrade Go version to 1.18 (#612)
Packages A and B use the `any` keyword, so the minimum requirement for casibase is 1.18.
2023-08-17 02:47:55 +08:00
Yang Luo 032ee3a6b1 Fix renderSigninIfNotSignedIn() 2023-08-15 17:35:41 +08:00
Yang Luo bf22093cde Add getModelProviderFromContext() 2023-08-15 16:43:20 +08:00
Yang Luo 8c79294a7b Add ModelProvider to Store 2023-08-15 16:20:31 +08:00
Kelvin Chiu 83a4697c9d fix: update knowledge retrieval function (#609)
* fix: fix redirect not working error

* feat: update knowledge retrieval function

* fix: optimized the logic of retrieve function
2023-08-15 15:34:10 +08:00
Yang Luo 2ad4e9b5ba Fix ai_test.go 2023-08-14 11:17:19 +08:00
Yang Luo c85b305661 Improve TextArea 2023-08-14 02:53:19 +08:00
Yang Luo 66a5021eb7 Improve filterTextFiles() 2023-08-14 02:47:44 +08:00
Yang Luo 081b88a2be Fix getAccount() bug 2023-08-14 02:44:28 +08:00
Kelvin Chiu 737dd4df4e feat: add refresh store vectors (#608)
* feat: add refresh store vectors

* fix: clean the object.Url from casdoorsdk
2023-08-14 02:26:25 +08:00
Yang Luo 12d4afc0d9 Change vector data to []float32 2023-08-14 01:54:49 +08:00
Yang Luo 3037214b93 Use casdoorsdk to call API 2023-08-04 00:09:50 +08:00
yehong a5c4d250f9
feat: change chat box style (#606) 2023-08-02 15:36:31 +08:00
Yang Luo 6a218f8258 Add getStorageProviders() 2023-07-31 00:09:13 +08:00
Yang Luo 195d9cfdca Remove resource.go 2023-07-30 23:51:45 +08:00
Yang Luo da3193673c Add empty provider check 2023-07-30 23:43:10 +08:00
Yang Luo b099e837f9 Fix res naming 2023-07-30 23:31:15 +08:00
Yang Luo 960f08188f Add user, parent and tag 2023-07-30 23:19:57 +08:00
Yang Luo 15dbed335e Fix file URL 2023-07-30 22:58:11 +08:00
Yang Luo f93d3f90dd ListObjects() works now 2023-07-30 22:05:04 +08:00
Yang Luo 23a2de182f Rename bucket to storage provider 2023-07-30 19:08:01 +08:00
Yang Luo 9c3f8aed8b Fix ListObjects() 2023-07-30 16:46:52 +08:00
Yang Luo ec45d9e5eb Refactor the storage code 2023-07-30 15:58:45 +08:00
Yang Luo 2a2e8f66d7 Add license headers 2023-07-30 15:24:24 +08:00
Yang Luo 61d2b70116 Remove rclone code 2023-07-30 14:52:13 +08:00
WintBit 789241364c
feat: support Casdoor storage API (#594)
* feat: Casdoor storage API

* chore: fmt casdoor.go using gofumpt

* feat: add global casdoor config variables
2023-07-29 19:24:38 +08:00
TieStone 95db4c2edd
docs: Resolve broken image display in README.md (#604) 2023-07-26 10:41:21 +08:00
Yang Luo 28c24c51f7 Improve initServerUrl() 2023-07-24 10:59:56 +08:00
yehong b27a9a925d
feat: add Dockerfile (#600) 2023-07-23 22:19:47 +08:00
Kelvin Chiu b185161aa9
fix: set default value for the message owner (#597) 2023-07-23 09:38:52 +08:00
Yang Luo 43e8dabc2c Add getDefaultModelProvider() 2023-07-22 23:22:38 +08:00