Commit Graph

606 Commits

Author SHA1 Message Date
sigoden
d645046d2d
refactor: rename bot to agent (#628) 2024-06-22 06:54:03 +08:00
sigoden
52cd3efd6c
refactor: some error messages (#627) 2024-06-22 05:55:10 +08:00
sigoden
7a089d846e
refactor: rename model.max_concurrent_chunks to model.max_batch_size (#626) 2024-06-21 21:56:25 +08:00
sigoden
f2378e1725
refactor: rename model.mode to model.type (#625) 2024-06-21 21:26:18 +08:00
sigoden
054e998ff4
feat: serve embeddings api (#624) 2024-06-21 19:45:55 +08:00
sigoden
97c82e565f
feat: cloudflare support embeddings (#623) 2024-06-21 16:50:41 +08:00
sigoden
6d05afc81b refactor: update models.yaml 2024-06-21 06:51:47 +00:00
sigoden
34d568d5e2
refactor: improve rag (#622) 2024-06-21 07:22:43 +08:00
sigoden
ba832016f3
refactor: update models.yaml (#621) 2024-06-21 06:27:37 +08:00
sigoden
abc588daac
feat: support rerank (#620) 2024-06-21 06:00:26 +08:00
sigoden
2eab71a641
feat: rag hybrid search (#618) 2024-06-20 11:26:45 +08:00
sigoden
3b3d39cef0
refactor: rag add rag_minimum_score config (#617) 2024-06-19 12:15:54 +08:00
sigoden
1fb06ecdc4
feat: qianwen support function calling (#616) 2024-06-19 06:17:29 +08:00
sigoden
98ac7e2b57
feat: support reka client (#614) 2024-06-18 12:37:25 +08:00
sigoden
2f8c694626
feat: support lingyiwanwu client (#613) 2024-06-18 11:27:51 +08:00
sigoden
b965c63be0
refactor: minor improvement (#611) 2024-06-17 19:54:24 +08:00
sigoden
62b297e8bb
feat: add .regenerate repl command (#610) 2024-06-17 17:03:28 +08:00
sigoden
ff284779d9
refactor: make set max_output_tokens work for role/session/bot (#609) 2024-06-17 15:17:07 +08:00
sigoden
ba884c9fc6
feat: add .continue repl command (#608) 2024-06-17 13:19:00 +08:00
sigoden
bbdd866eb3
feat: abandon auto_copy (#607) 2024-06-17 11:40:12 +08:00
sigoden
189f2271bc
feat: add .edit session repl command (#606) 2024-06-17 10:59:59 +08:00
sigoden
72e689fab0
fix: cohere tool use (#605)
cohere cannot specify both message and tool_results in multistep mode
2024-06-17 09:31:17 +08:00
sigoden
638bf32766
refactor: improve code quatity (#604) 2024-06-17 09:14:54 +08:00
sigoden
12872b3d29
refactor: update models.yaml (#602) 2024-06-15 06:39:55 +08:00
sigoden
746b087111
refactor: add/modify rag-related config (#599) 2024-06-14 19:12:18 +08:00
sigoden
c1d39e4621
chore: clippy and format (#600) 2024-06-14 19:06:08 +08:00
sigoden
8cbc74e9ad
refactor: change spinner text for rag searching (#596) 2024-06-13 20:05:40 +08:00
sigoden
f9847475b8
feat: add rag and bot related cli options (#595) 2024-06-13 19:41:54 +08:00
sigoden
255b194bcc
feat: add .starter repl command (#594) 2024-06-13 07:41:29 +08:00
sigoden
64982b4510
feat: rag splitter supports languages (#593) 2024-06-12 19:17:40 +08:00
sigoden
492b006db7
refactor: load pdf/docx files (#592) 2024-06-12 17:07:49 +08:00
sigoden
fe3a22255d
refactor: 'temp' can not be used as name of saved session (#591) 2024-06-12 09:41:05 +08:00
sigoden
b24cb66309
refactor: bot session shouldn't use non-bot last message (#590) 2024-06-12 09:21:43 +08:00
sigoden
95221ade46
refactor: bot dir/file path (#589) 2024-06-12 08:56:56 +08:00
sigoden
1f33b3a07a
refactor: rag default_chunk_size (#588) 2024-06-12 08:31:22 +08:00
sigoden
e9e48f2320
refactor: rename selected_functions to functions_filter (#587) 2024-06-12 07:17:57 +08:00
sigoden
c0bfb90b20
refactor: improve openai client (#586) 2024-06-11 21:07:32 +08:00
sigoden
aa94fb2f83
fix: infinite loop of function calls on poor LLM (#585) 2024-06-11 17:52:04 +08:00
sigoden
b05b730cb5
feat: add config repl_prelude and bot_prelude (#584) 2024-06-11 15:44:35 +08:00
sigoden
fcdfeea548
refactor: rename function_matcher to selected_functions (#583) 2024-06-11 14:28:33 +08:00
sigoden
8615293747
feat: add config dangerously_functions (#582) 2024-06-11 14:01:45 +08:00
sigoden
822688a06a
refactor: adjust config methods order (#581) 2024-06-11 11:46:29 +08:00
sigoden
bb867c4fcb
feat: support bot (#579)
* feat: support bots

* refactor with RoleLike

* improve exiting session

* make bot works with rag

* refactor repl assert state

* add bot banner

* repl complete bots according bots.txt

* fix on windows

* remove threadpool executing function callings

* adjust repl left_prompt

* move bot config to global config.yaml

* `.bot` throw err if funciton callings is not configured
2024-06-11 11:00:12 +08:00
sigoden
5635ca6a58
refactor: warning model or client don't support function calling (#572) 2024-06-06 06:23:54 +08:00
sigoden
93ef6da629
refactor: global IS_STDOUT_TERMINAL (#571) 2024-06-06 06:08:41 +08:00
sigoden
c26594c3c8
refactor: config refinement (#570) 2024-06-06 05:27:21 +08:00
sigoden
171a46eee2
refactor: change error message of the model does not support vision (#568) 2024-06-05 21:21:20 +08:00
sigoden
ce8d6d750d
revert: feat: use systemInstruction for gemini-1.5-* models (#564) (#567) 2024-06-05 21:16:06 +08:00
sigoden
4b27378443
feat: custom more path to file/dirs with environment variables (#565) 2024-06-05 15:18:34 +08:00
sigoden
d4e043e5bf
feat: use systemInstruction for gemini-1.5-* models (#564) 2024-06-05 15:07:21 +08:00