summaryrefslogtreecommitdiffstats
path: root/src/config
AgeCommit message (Collapse)AuthorLines
2024-06-19refactor: rag add rag_minimum_score config (#617)sigoden-12/+26
2024-06-17refactor: minor improvement (#611)sigoden-8/+16
2024-06-17feat: add `.regenerate` repl command (#610)sigoden-22/+46
2024-06-17refactor: make `set max_output_tokens` work for role/session/bot (#609)sigoden-1/+21
2024-06-17feat: add `.continue` repl command (#608)sigoden-41/+82
2024-06-17feat: abandon `auto_copy` (#607)sigoden-19/+0
2024-06-17feat: add `.edit session` repl command (#606)sigoden-20/+42
2024-06-17refactor: improve code quatity (#604)sigoden-61/+73
2024-06-14refactor: add/modify rag-related config (#599)sigoden-12/+22
2024-06-13feat: add rag and bot related cli options (#595)sigoden-21/+26
2024-06-13feat: add `.starter` repl command (#594)sigoden-9/+28
2024-06-12refactor: 'temp' can not be used as name of saved session (#591)sigoden-3/+11
2024-06-12refactor: bot session shouldn't use non-bot last message (#590)sigoden-19/+21
2024-06-12refactor: bot dir/file path (#589)sigoden-12/+9
2024-06-12refactor: rename `selected_functions` to `functions_filter` (#587)sigoden-35/+35
2024-06-11feat: add config `repl_prelude` and `bot_prelude` (#584)sigoden-11/+25
2024-06-11refactor: rename `function_matcher` to `selected_functions` (#583)sigoden-35/+36
2024-06-11feat: add config `dangerously_functions` (#582)sigoden-5/+31
2024-06-11refactor: adjust config methods order (#581)sigoden-303/+299
2024-06-11feat: support bot (#579)sigoden-358/+839
* 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-06refactor: warning model or client don't support function calling (#572)sigoden-3/+11
2024-06-06refactor: global IS_STDOUT_TERMINAL (#571)sigoden-5/+4
2024-06-06refactor: config refinement (#570)sigoden-56/+66
2024-06-05refactor: change error message of the model does not support vision (#568)sigoden-1/+1
2024-06-05feat: custom more path to file/dirs with environment variables (#565)sigoden-10/+24
2024-06-05feat: support RAG (#560)sigoden-46/+200
* 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-02refactor: switch to bitflags State (#557)sigoden-62/+23
2024-06-01refactor: rename some client structs and methods (#555)sigoden-3/+7
* 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
2024-05-30refactor: rename `SendData` to `CompletionData` (#553)sigoden-4/+4
2024-05-30refactor: adjust default `compress_threshold` to 4000 (#552)sigoden-1/+1
2024-05-29refactor: `temp` session ignore `save_session` (#547)sigoden-3/+16
2024-05-22refactor: rename `function_filter` to `function_matcher` (#535)sigoden-19/+19
2024-05-18refactor: shell detect/prompt (#519)sigoden-11/+4
2024-05-18feat: support function calling (#514)sigoden-82/+176
* 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-15fix: no builtin roles if no roles.yaml (#509)sigoden-10/+8
2024-05-14feat: remove tiktoken (#506)sigoden-9/+0
2024-05-14feat: allow binding model to the role (#505)sigoden-18/+70
2024-05-14refactor: config::Input (#503)sigoden-76/+85
2024-05-11refactor: list roles includeing builtin roles (#499)sigoden-67/+67
2024-05-09refactor: refine detect code blocksigoden-0/+2
2024-05-09feat: enhence roles with messages (#495)sigoden-15/+125
2024-05-08refactor: model pass_max_tokens (#493)sigoden-3/+3
2024-05-07feat: support playground/arena webui (#487)sigoden-2/+1
2024-05-02chore: fix typos (#476)Tatsuya Kyushima-2/+2
2024-04-30feat: openai-compatible platforms share the same client (#469)sigoden-30/+40
2024-04-30feat: add `.set max_output_tokens` (#468)sigoden-8/+24
2024-04-30refactor: improve code qualitysigoden-5/+4
2024-04-29feat: `.model` repl completions show max tokens and price (#462)sigoden-22/+29
2024-04-28refactor: minor improvementssigoden-1/+1
- config.example.yaml comments - `--serve` description - No model error
2024-04-28feat: run without config file by set `AICHAT_CLIENT_TYPE` (#452)sigoden-63/+37