summaryrefslogtreecommitdiffstats
path: root/src/config/input.rs
AgeCommit message (Collapse)AuthorLines
2024-06-21feat: support rerank (#620)sigoden-5/+16
2024-06-20feat: rag hybrid search (#618)sigoden-3/+13
2024-06-19refactor: rag add rag_minimum_score config (#617)sigoden-2/+7
2024-06-17feat: add `.regenerate` repl command (#610)sigoden-0/+15
2024-06-17feat: add `.continue` repl command (#608)sigoden-10/+32
2024-06-17refactor: improve code quatity (#604)sigoden-6/+2
2024-06-13feat: add `.starter` repl command (#594)sigoden-1/+1
2024-06-11refactor: adjust config methods order (#581)sigoden-1/+1
2024-06-11feat: support bot (#579)sigoden-92/+38
* 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: config refinement (#570)sigoden-13/+10
2024-06-05refactor: change error message of the model does not support vision (#568)sigoden-1/+1
2024-06-05feat: support RAG (#560)sigoden-15/+44
* 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-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-22refactor: rename `function_filter` to `function_matcher` (#535)sigoden-4/+4
2024-05-18feat: support function calling (#514)sigoden-15/+47
* 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-14feat: remove tiktoken (#506)sigoden-9/+0
2024-05-14feat: allow binding model to the role (#505)sigoden-3/+18
2024-05-14refactor: config::Input (#503)sigoden-7/+77
2024-05-11refactor: list roles includeing builtin roles (#499)sigoden-5/+12
2024-04-30refactor: improve code qualitysigoden-5/+4
2024-04-15feat: shell commands support revision (#413)sigoden-0/+8
2024-04-07refactor: include filepaths if attaching multple text files (#389)sigoden-18/+33
2024-03-17refactor: cleanup the deprecated repl commands (#355)sigoden-1/+1
2024-03-10feat: allow use of temporary role in a session (#348)sigoden-2/+44
2024-02-25refactor: improve saving messages (#322)sigoden-2/+7
2024-02-22refactor: change header of messages saved to markdown (#317)sigoden-0/+20
2024-01-13feat: supports model capabilities (#297)sigoden-1/+9
1. automatically switch to the model that has the necessary capabilities. 2. throw an error if the client does not have a model with the necessary capabilities
2023-12-20feat: qianwen vision models support embeded images (#277)sigoden-4/+7
2023-12-14fix: cannot read image with uppercase ext (#270)sigoden-1/+5
2023-11-27feat: support vision (#249)sigoden-0/+162
* 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