Commit Graph

18 Commits

Author SHA1 Message Date
Yang Luo d389774c1c Improve import path 2023-10-08 17:45:28 +08:00
Yang Luo b7acf39c17 Check vector's embedding provider 2023-09-30 19:06:19 +08:00
Yang Luo 2c1a616ad6 Get top 5 knowlesge 2023-09-30 16:54:57 +08:00
Yang Luo 2c2b7771ef Improve print 2023-09-29 20:39:03 +08:00
Kelvin Chiu 979ab2d987
fix: change writer type (#663) 2023-09-29 20:26:57 +08:00
Yang Luo 4fbcafda35 Improve RefinedWriter code 2023-09-29 18:59:08 +08:00
Kelvin Chiu a4855e8c88
fix: optmize query response (#658)
* feat: optmize query response

* feat: improve custom writer
2023-09-28 10:23:31 +08:00
Yang Luo 405eceb738 Fix GetMessageAnswer() errors 2023-09-10 00:39:50 +08:00
Yang Luo 2c8f6ac553 Add embedding provider 2023-09-10 00:38:21 +08:00
yehong 553c2d2f76
feat: support more sub types in Ernie model (#625) 2023-09-09 19:23:59 +08:00
Yang Luo c65baeba0b Allow no knowledge 2023-09-08 00:50:50 +08:00
Yang Luo 9f32fbd998 Add Model interface 2023-09-02 21:20:36 +08:00
Yang Luo bf22093cde Add getModelProviderFromContext() 2023-08-15 16:43:20 +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
yehong a5c4d250f9
feat: change chat box style (#606) 2023-08-02 15:36:31 +08:00
Yang Luo 43e8dabc2c Add getDefaultModelProvider() 2023-07-22 23:22:38 +08:00
Kelvin Chiu fe0df16ac1
feat: add chat page (#589)
* feat: add chat page

* feat: add chat page

* Update ai.go

* Update ai_test.go

* Update message.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-07-22 11:14:07 +08:00
Kelvin Chiu 084c36d4af
feat: add message list (#18) 2023-07-16 19:01:15 +08:00