Commit Graph

175 Commits (main)

Author SHA1 Message Date
sigoden 2eab71a641
feat: rag hybrid search (#618) 4 hours ago
sigoden 3b3d39cef0
refactor: rag add rag_minimum_score config (#617) 1 day ago
sigoden b965c63be0
refactor: minor improvement (#611) 3 days ago
sigoden 62b297e8bb
feat: add `.regenerate` repl command (#610) 3 days ago
sigoden ff284779d9
refactor: make `set max_output_tokens` work for role/session/bot (#609) 3 days ago
sigoden ba884c9fc6
feat: add `.continue` repl command (#608) 3 days ago
sigoden bbdd866eb3
feat: abandon `auto_copy` (#607) 3 days ago
sigoden 189f2271bc
feat: add `.edit session` repl command (#606) 3 days ago
sigoden 638bf32766
refactor: improve code quatity (#604) 3 days ago
sigoden 746b087111
refactor: add/modify rag-related config (#599) 6 days ago
sigoden f9847475b8
feat: add rag and bot related cli options (#595) 7 days ago
sigoden 255b194bcc
feat: add `.starter` repl command (#594) 1 week ago
sigoden fe3a22255d
refactor: 'temp' can not be used as name of saved session (#591) 1 week ago
sigoden b24cb66309
refactor: bot session shouldn't use non-bot last message (#590) 1 week ago
sigoden 95221ade46
refactor: bot dir/file path (#589) 1 week ago
sigoden e9e48f2320
refactor: rename `selected_functions` to `functions_filter` (#587) 1 week ago
sigoden b05b730cb5
feat: add config `repl_prelude` and `bot_prelude` (#584) 1 week ago
sigoden fcdfeea548
refactor: rename `function_matcher` to `selected_functions` (#583) 1 week ago
sigoden 8615293747
feat: add config `dangerously_functions` (#582) 1 week ago
sigoden 822688a06a
refactor: adjust config methods order (#581) 1 week 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
1 week ago
sigoden 5635ca6a58
refactor: warning model or client don't support function calling (#572) 2 weeks ago
sigoden 93ef6da629
refactor: global IS_STDOUT_TERMINAL (#571) 2 weeks ago
sigoden c26594c3c8
refactor: config refinement (#570) 2 weeks ago
sigoden 171a46eee2
refactor: change error message of the model does not support vision (#568) 2 weeks ago
sigoden 4b27378443
feat: custom more path to file/dirs with environment variables (#565) 2 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)
2 weeks ago
sigoden 71f2e94579
refactor: switch to bitflags State (#557) 3 weeks ago
sigoden 571d1022f6
refactor: rename some client structs and methods (#555)
* rename `Completeion*` to `ChatCompletions*`

* rename `send_message*` to `chat_completions*`

* rename `request_builder` to `chat_completions_builder`

* rename `build_body` to `build_chat_completions_body`

* rename `extract_completion` to `extract_chat_completions`

* format

* remove unused config fields
3 weeks ago
sigoden 54a837784c
refactor: rename `SendData` to `CompletionData` (#553) 3 weeks ago
sigoden fa4bf14e02
refactor: adjust default `compress_threshold` to 4000 (#552) 3 weeks ago
sigoden 4fa92b020a
refactor: `temp` session ignore `save_session` (#547) 3 weeks ago
sigoden 50b13d2de9
refactor: rename `function_filter` to `function_matcher` (#535) 4 weeks ago
sigoden d16cca23ac
refactor: shell detect/prompt (#519) 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 12d8798e61
fix: no builtin roles if no roles.yaml (#509) 1 month ago
sigoden a75aef459d
feat: remove tiktoken (#506) 1 month ago
sigoden 79d0bba640
feat: allow binding model to the role (#505) 1 month ago
sigoden 5284a18248
refactor: config::Input (#503) 1 month ago
sigoden 1e8fc5d269
refactor: list roles includeing builtin roles (#499) 1 month ago
sigoden 058299e500 refactor: refine detect code block 1 month ago
sigoden bc65e880be
feat: enhence roles with messages (#495) 1 month ago
sigoden 7762cd6bed
refactor: model pass_max_tokens (#493) 1 month ago
sigoden 85ad276a29
feat: support playground/arena webui (#487) 1 month ago
Tatsuya Kyushima ebad4bb888
chore: fix typos (#476) 2 months ago
sigoden 8dba46becf
feat: openai-compatible platforms share the same client (#469) 2 months ago
sigoden 8a65337d59
feat: add `.set max_output_tokens` (#468) 2 months ago
sigoden e7fa6c5a20 refactor: improve code quality 2 months ago
sigoden c752ba9b27
feat: `.model` repl completions show max tokens and price (#462) 2 months ago
sigoden 212ff1674e refactor: minor improvements
- config.example.yaml comments
- `--serve` description
- No model error
2 months ago