sigoden
1ced451c27
refactor: agent rag use `documents` field other than `embeddings` dir ( #658 )
3 months ago
sigoden
03b40036a1
refactor: improve spinner ( #654 )
3 months ago
sigoden
95bad975f4
feat: custom rag document loaders ( #650 )
3 months ago
sigoden
2bc9607b00
refactor: rename model type `rerank` to `reranker` ( #646 )
3 months ago
sigoden
b3bec3cfb0
refactor: cli options and shell completions ( #640 )
3 months ago
sigoden
f9e7efd41c
refactor: reorder config items ( #639 )
3 months ago
sigoden
777638049b
refactor: minor improvement ( #638 )
3 months ago
sigoden
f430402bf8
refactor: agents dir ( #629 )
3 months ago
sigoden
d645046d2d
refactor: rename bot to agent ( #628 )
3 months ago
sigoden
054e998ff4
feat: serve embeddings api ( #624 )
3 months ago
sigoden
34d568d5e2
refactor: improve rag ( #622 )
3 months ago
sigoden
abc588daac
feat: support rerank ( #620 )
3 months ago
sigoden
2eab71a641
feat: rag hybrid search ( #618 )
3 months ago
sigoden
3b3d39cef0
refactor: rag add rag_minimum_score config ( #617 )
3 months ago
sigoden
b965c63be0
refactor: minor improvement ( #611 )
3 months ago
sigoden
62b297e8bb
feat: add `.regenerate` repl command ( #610 )
3 months ago
sigoden
ff284779d9
refactor: make `set max_output_tokens` work for role/session/bot ( #609 )
3 months ago
sigoden
ba884c9fc6
feat: add `.continue` repl command ( #608 )
3 months ago
sigoden
bbdd866eb3
feat: abandon `auto_copy` ( #607 )
3 months ago
sigoden
189f2271bc
feat: add `.edit session` repl command ( #606 )
3 months ago
sigoden
638bf32766
refactor: improve code quatity ( #604 )
3 months ago
sigoden
746b087111
refactor: add/modify rag-related config ( #599 )
4 months ago
sigoden
f9847475b8
feat: add rag and bot related cli options ( #595 )
4 months ago
sigoden
255b194bcc
feat: add `.starter` repl command ( #594 )
4 months ago
sigoden
fe3a22255d
refactor: 'temp' can not be used as name of saved session ( #591 )
4 months ago
sigoden
b24cb66309
refactor: bot session shouldn't use non-bot last message ( #590 )
4 months ago
sigoden
95221ade46
refactor: bot dir/file path ( #589 )
4 months ago
sigoden
e9e48f2320
refactor: rename `selected_functions` to `functions_filter` ( #587 )
4 months ago
sigoden
b05b730cb5
feat: add config `repl_prelude` and `bot_prelude` ( #584 )
4 months ago
sigoden
fcdfeea548
refactor: rename `function_matcher` to `selected_functions` ( #583 )
4 months ago
sigoden
8615293747
feat: add config `dangerously_functions` ( #582 )
4 months ago
sigoden
822688a06a
refactor: adjust config methods order ( #581 )
4 months 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
4 months ago
sigoden
93ef6da629
refactor: global IS_STDOUT_TERMINAL ( #571 )
4 months ago
sigoden
c26594c3c8
refactor: config refinement ( #570 )
4 months ago
sigoden
4b27378443
feat: custom more path to file/dirs with environment variables ( #565 )
4 months 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)
4 months ago
sigoden
71f2e94579
refactor: switch to bitflags State ( #557 )
4 months ago
sigoden
fa4bf14e02
refactor: adjust default `compress_threshold` to 4000 ( #552 )
4 months ago
sigoden
4fa92b020a
refactor: `temp` session ignore `save_session` ( #547 )
4 months 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
4 months ago
sigoden
12d8798e61
fix: no builtin roles if no roles.yaml ( #509 )
5 months ago
sigoden
79d0bba640
feat: allow binding model to the role ( #505 )
5 months ago
sigoden
5284a18248
refactor: config::Input ( #503 )
5 months ago
sigoden
1e8fc5d269
refactor: list roles includeing builtin roles ( #499 )
5 months ago
sigoden
bc65e880be
feat: enhence roles with messages ( #495 )
5 months ago
sigoden
7762cd6bed
refactor: model pass_max_tokens ( #493 )
5 months ago
sigoden
85ad276a29
feat: support playground/arena webui ( #487 )
5 months ago
sigoden
8dba46becf
feat: openai-compatible platforms share the same client ( #469 )
5 months ago
sigoden
8a65337d59
feat: add `.set max_output_tokens` ( #468 )
5 months ago
sigoden
c752ba9b27
feat: `.model` repl completions show max tokens and price ( #462 )
5 months ago
sigoden
212ff1674e
refactor: minor improvements
...
- config.example.yaml comments
- `--serve` description
- No model error
5 months ago
sigoden
338b0438dc
feat: run without config file by set `AICHAT_CLIENT_TYPE` ( #452 )
5 months ago
sigoden
a17f349daa
feat: support customizing `top_p` parameter ( #434 )
5 months ago
sigoden
0a4c0413ef
feat: serve all LLMs as OpenAI-compatible API ( #431 )
5 months ago
sigoden
1cc89eff51
refactor: more async code ( #427 )
5 months ago
sigoden
8ab57ed74e
refactor: update description for cli options and config fields ( #423 )
5 months ago
sigoden
5d763fc10c
feat: add `.prompt` repl command ( #420 )
5 months ago
sigoden
8b806db857
feat: ctrlc won't exit repl and remove `ctrlc_exit` config ( #419 )
5 months ago
sigoden
b9bde15c1f
feat: add config `buffer_editor` ( #417 )
5 months ago
sigoden
6dc332930b
feat: make built-in roles selectable and rename them ( #412 )
6 months ago
sigoden
568e9a06db
refactor: hide sytem roles from repl tab-completion ( #407 )
6 months ago
sigoden
4a88a3da04
refactor: `ctrlc_exit` config default to false ( #403 )
6 months ago
sigoden
2738988fc4
feat: add `ctrlc_exit` option to control REPL exit by ctrl+c ( #391 )
6 months ago
sigoden
68a1d98a3d
feat: add repl command `.save session` ( #382 )
6 months ago
sigoden
4cfd6c8e9f
refactor: config add in_repl property ( #381 )
6 months ago
sigoden
bd9a6a8725
feat: `save_session` config item can be null ( #380 )
6 months ago
sigoden
a05c462531
fix: not dirty session when updating properties ( #379 )
6 months ago
sigoden
3180d1d485
refactor: seperate temperature from role/session ( #378 )
6 months ago
sigoden
8da9fa5f4c
feat: add sepereate `save_session` config item to session ( #377 )
6 months ago
Patrick Jackson
582f56e915
feat: add `save_session` config item and `--save-session` cli option ( #370 )
...
* fix: sessions should save when exiting
* feat: improve save sessions
* feat: do not allow saving the temp session name
* feat: allow creating a session without interactive use
* feat: add `save_session` config and `--save-session` option
---------
Co-authored-by: sigoden <sigoden@gmail.com>
6 months ago
sigoden
0ebc7955da
refactor: improve creating config for openai-compatible client ( #374 )
6 months ago
sigoden
527da63d18
refactor: do not automatically convert temperature value ( #368 )
6 months ago
sigoden
7279e43141
fix: color on non-truecolor terminal ( #363 )
...
* fix: color on non-truecolor terminal
* make ansicolor lower contrast
6 months ago
sigoden
f3210d622a
refactor: remove role field from session struct ( #356 )
7 months ago
sigoden
aed243c3aa
feat: allow use of temporary role in a session ( #348 )
7 months ago
sigoden
8f14498969
fix: erratic behaviour when using temp role in a session ( #347 )
7 months ago
sigoden
d5b10ea0c1
chore: fix typos
7 months ago
sigoden
46cb320aa5
chore: spell check
7 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`
7 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
7 months ago
sigoden
e443905dc1
feat: add `.clear messages` to clear session messages ( #332 )
7 months ago
sigoden
7e32787dba
chore: improve code quanity on ReplCommand/State
7 months ago
sigoden
8421f23b45
feat: allow overriding execute/code role ( #331 )
7 months ago
sigoden
b2f86f2899
refactor: auto_copy works when executing command ( #328 )
7 months ago
sigoden
3c16aff591
feat: add `-c/--code` to generate only code ( #327 )
7 months ago
sigoden
21d1be5bed
refactor: improve prompt error handling ( #319 )
7 months ago
sigoden
7638412128
feat: support `-e/--execute` to execute shell command ( #318 )
7 months ago
sigoden
6c0204e696
refactor: change header of messages saved to markdown ( #317 )
7 months ago
sigoden
1c9ca1b002
feat: custom REPL prompt ( #283 )
9 months ago
sigoden
89fefb4d1a
refactor: remove path existence indicator from info ( #282 )
9 months ago
sigoden
10e3b6d234
chore: update change session error message ( #267 )
10 months ago
sigoden
c58912ba64
refactor: sort of some complete type ( #253 )
10 months ago
sigoden
2508d56598
feat: state-aware completer ( #251 )
10 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
10 months ago
sigoden
819f50d9b1
fix: unexpected additional newline in REPL ( #231 )
11 months ago
sigoden
e8461b8462
refactor: output info includes auto_copy and light_theme ( #230 )
11 months ago
sigoden
c99bd015aa
feat: temporarily use a role to send a message ( #227 )
11 months ago
sigoden
c256b6bae5
refactor: improve repl completer ( #226 )
11 months ago
sigoden
6bb2ec05be
feat: add `config.prelude` to allow setting default role/session ( #224 )
11 months ago