Commit Graph

109 Commits

Author SHA1 Message Date
sigoden
0264ab80ab
refactor: update models.yaml and abandon anyscale (#701) 2024-07-11 07:40:24 +08:00
sigoden
4ea6f3933f
feat: adjust the way of obtaining function call results (#695) 2024-07-10 18:53:58 +08:00
sigoden
10a4c23c83
feat: agent can reuse tools (#690) 2024-07-09 09:36:50 +08:00
sigoden
8b0c648a73
feat: enhenced flexibility for use tools (#688) 2024-07-05 19:49:08 +08:00
sigoden
cce4fec108
refactor: update config.example.yaml and readme, fix typos (#682) 2024-07-03 16:51:30 +08:00
sigoden
bbe08d6d81
refactor: improve RAG (#676) 2024-07-02 09:20:40 +08:00
sigoden
2f2b13c891
refactor: improve RAG (#675) 2024-07-02 08:23:16 +08:00
sigoden
d193950d20
refactor: the name of temp file (#670) 2024-06-29 13:20:00 +08:00
sigoden
9416cbd8b8
refactor: update models.yaml (#669) 2024-06-29 07:17:40 +08:00
sigoden
4fbbbd2d99
feat: .file/--file support URLs (#665) 2024-06-28 06:24:20 +08:00
sigoden
f82524fd15
feat: implement native rag url loader (#660) 2024-06-27 12:30:09 +08:00
sigoden
f60df03997
refactor: enable function_calling by default (#656) 2024-06-26 23:04:06 +08:00
sigoden
5985551aba
feat: rag load websites (#655) 2024-06-26 21:51:06 +08:00
sigoden
95bad975f4
feat: custom rag document loaders (#650) 2024-06-26 08:18:58 +08:00
sigoden
34a6d13fb6
refactor: compress session (#649)
1. no require compress_threshold >= 1000
2. no compressing in middle of function calling
2024-06-25 18:47:11 +08:00
sigoden
2bc9607b00
refactor: rename model type rerank to reranker (#646) 2024-06-25 07:50:19 +08:00
sigoden
2fbb5271af
feat: support rag-dedicated clients (jina and voyageai) (#645) 2024-06-25 07:39:35 +08:00
sigoden
f9e7efd41c
refactor: reorder config items (#639) 2024-06-23 22:09:47 +08:00
sigoden
777638049b
refactor: minor improvement (#638) 2024-06-23 19:31:29 +08:00
sigoden
590c525048
refactor: remove reka client (#635) 2024-06-23 06:08:33 +08:00
sigoden
52a847743e
refactor: improve system message handling (#634) 2024-06-23 06:00:58 +08:00
sigoden
3826d808d8
refactor: minior improvement (#633) 2024-06-22 20:24:44 +08:00
sigoden
d645046d2d
refactor: rename bot to agent (#628) 2024-06-22 06:54:03 +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
34d568d5e2
refactor: improve rag (#622) 2024-06-21 07:22:43 +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
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
bbdd866eb3
feat: abandon auto_copy (#607) 2024-06-17 11:40:12 +08:00
sigoden
746b087111
refactor: add/modify rag-related config (#599) 2024-06-14 19:12:18 +08:00
sigoden
e9e48f2320
refactor: rename selected_functions to functions_filter (#587) 2024-06-12 07:17:57 +08:00
sigoden
b05b730cb5
feat: add config repl_prelude and bot_prelude (#584) 2024-06-11 15:44:35 +08:00
sigoden
8615293747
feat: add config dangerously_functions (#582) 2024-06-11 14:01:45 +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
1ec6abfaee
feat: support RAG (#560)
* feat: support RAG

* support more embeddings models and implement concurrent embedding api

* show the progress of addings paths

* ignore embedding context when saving message

* embedding model max_chunk_size => default_chunk_size

* support pdf and pandoc formats (docx, epub, ipynb)
2024-06-05 09:02:23 +08:00
sigoden
38797e3264
chore: release v0.18.0 (#551) 2024-06-01 10:45:53 +08:00
sigoden
fa4bf14e02
refactor: adjust default compress_threshold to 4000 (#552) 2024-05-30 10:19:29 +08:00
sigoden
ba3bcfd67c
feat: allow patching req body with client config (#534) 2024-05-22 21:29:23 +08:00
sigoden
b4a40e3fed
feat: support function calling (#514)
* feat: support function calling

* fix on Windows OS

* implement multi-steps function calling

* fix on Windows OS

* add error for client not support function calling

* refactor message data structure and make claude client supporting function calling

* support reuse previous call results

* improve error handling for function calling

* use prefix `may_`  as indicator for `execute` type fucntions
2024-05-18 19:06:21 +08:00
sigoden
7762cd6bed
refactor: model pass_max_tokens (#493) 2024-05-08 13:46:26 +08:00
sigoden
956a960390
feat: support zhipuai client (#491) 2024-05-07 16:40:18 +08:00
sigoden
0071d84aa5
feat: support deepseek client (#490) 2024-05-07 16:16:18 +08:00
sigoden
9b283024b4
feat: extract vertexai-claude client (#485) 2024-05-06 08:19:42 +08:00
sigoden
82a9ef024d
refactor: aware of lowercase https_proxy/all_proxy (#484) 2024-05-05 07:04:53 +08:00
sigoden
5eae392dbd
refactore: add models for openai-compatible platforms (#471) 2024-05-01 06:01:10 +08:00
sigoden
83ca74bf8a chore: minor refinement 2024-04-30 05:16:45 +00:00
sigoden
8dba46becf
feat: openai-compatible platforms share the same client (#469) 2024-04-30 12:52:58 +08:00