Commit Graph

47 Commits (main)

Author SHA1 Message Date
sigoden 34a6d13fb6
refactor: compress session (#649)
1. no require compress_threshold >= 1000
2. no compressing in middle of function calling
2 days ago
sigoden d645046d2d
refactor: rename bot to agent (#628) 5 days ago
sigoden b965c63be0
refactor: minor improvement (#611) 1 week ago
sigoden 62b297e8bb
feat: add `.regenerate` repl command (#610) 1 week ago
sigoden ff284779d9
refactor: make `set max_output_tokens` work for role/session/bot (#609) 1 week ago
sigoden ba884c9fc6
feat: add `.continue` repl command (#608) 1 week ago
sigoden 189f2271bc
feat: add `.edit session` repl command (#606) 1 week ago
sigoden 746b087111
refactor: add/modify rag-related config (#599) 2 weeks ago
sigoden f9847475b8
feat: add rag and bot related cli options (#595) 2 weeks ago
sigoden fe3a22255d
refactor: 'temp' can not be used as name of saved session (#591) 2 weeks ago
sigoden e9e48f2320
refactor: rename `selected_functions` to `functions_filter` (#587) 2 weeks ago
sigoden fcdfeea548
refactor: rename `function_matcher` to `selected_functions` (#583) 2 weeks ago
sigoden 822688a06a
refactor: adjust config methods order (#581) 2 weeks ago
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
2 weeks ago
sigoden c26594c3c8
refactor: config refinement (#570) 3 weeks ago
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)
3 weeks ago
sigoden 4fa92b020a
refactor: `temp` session ignore `save_session` (#547) 4 weeks ago
sigoden 50b13d2de9
refactor: rename `function_filter` to `function_matcher` (#535) 1 month ago
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
1 month ago
sigoden 5284a18248
refactor: config::Input (#503) 1 month ago
sigoden bc65e880be
feat: enhence roles with messages (#495) 2 months ago
Tatsuya Kyushima ebad4bb888
chore: fix typos (#476) 2 months ago
sigoden a17f349daa
feat: support customizing `top_p` parameter (#434) 2 months ago
sigoden 68a1d98a3d
feat: add repl command `.save session` (#382) 3 months ago
sigoden 4cfd6c8e9f
refactor: config add in_repl property (#381) 3 months ago
sigoden bd9a6a8725
feat: `save_session` config item can be null (#380) 3 months ago
sigoden a05c462531
fix: not dirty session when updating properties (#379) 3 months ago
sigoden 8da9fa5f4c
feat: add sepereate `save_session` config item to session (#377) 3 months ago
sigoden f3210d622a
refactor: remove role field from session struct (#356) 3 months ago
sigoden 8e5d4e55b1
refactor: rename model's `max_tokens` to `max_input_tokens` (#339)
BREAKING CHANGE: rename model's `max_tokens` to `max_input_tokens`
4 months ago
sigoden 3f693ea060
feat: compress session automaticlly (#333)
* feat: compress session automaticlly

* non-block

* update field description

* set compress_threshold

* update session::clear_messages

* able to override session compress_threshold

* enable compress_threshold by default

* make session compress_threshold optional
4 months ago
sigoden e443905dc1
feat: add `.clear messages` to clear session messages (#332) 4 months ago
sigoden 1c9ca1b002
feat: custom REPL prompt (#283) 6 months ago
sigoden 2508d56598
feat: state-aware completer (#251) 7 months ago
sigoden 35c75506e2
feat: support vision (#249)
* feat: support vision

* clippy

* implement vision

* resolve data url to local file

* add model openai:gpt-4-vision-preview

* use newline to concate embeded text files

* set max_tokens for gpt-4-vision-preview
7 months ago
sigoden f9c40e52da
refactor: improve code quanity (#203)
- update field name of ModelInfo
- rename ModelInfo to Model
8 months ago
sigoden 652b51509d
refactor: improve repl completer (#199) 8 months ago
sigoden 7c6841782d
refactor: improve code quanity (#197)
- move model_info.rs/message.rs to clients/
- rename SharedConfig to GlobalConfig
8 months ago
sigoden 444f4ebe9d
refactor: improve code quanity (#196)
- rewrite Repl, remove ReplHandler
- move ReplyStreamHandler to repl/ and rename it to ReplyHandler
- deprecate utils::print_now
- refactor session info
8 months ago
sigoden 0238c8734e chore: spellcheck typos 8 months ago
sigoden f6da06dad9
refactor: improve code quanity (#194)
- extends ModelInfo for tokens calculating
- refactor config/session.rs, improve export, render, getter/setter
- modify main.rs, allow --model override session.model
8 months ago
sigoden e86ad7dc16
feat: add `.info role` and `.info session` (#183) 8 months ago
sigoden 2168610dbd chore: spellcheck 8 months ago
sigoden 2f9121e515
fix: bugs between sesison/role (#178) 8 months ago
sigoden 44ea384ee5 chore: remove unnecessary clippy macros 8 months ago
sigoden 871adab22a chore: improve code quanity 8 months ago
sigoden bc44026ff8
feat: enhance session/conversation (#162)
* feat: enhance session/conversation

* updates

* updates

* cut version v0.9.0-rc2

* add .session name completion
8 months ago