summaryrefslogtreecommitdiffstats
path: root/src/client
AgeCommit message (Collapse)AuthorLines
2024-03-25refactor: reorder models (#372)sigoden-18/+16
The capable ones come first.
2024-03-25feat: support moonshot (#369)sigoden-1/+69
2024-03-22refactor: do not automatically convert temperature value (#368)sigoden-17/+26
2024-03-19fix: vertexai model names (#365)sigoden-2/+2
2024-03-19fix: misspelled mistral model name (#359)Chief Marlin-1/+1
2024-03-17feat: update ernie models (#357)sigoden-10/+13
2024-03-15feat: new model claude:claude-3-haiku-20240307 (#353)sigoden-1/+2
2024-03-10feat: allow use of temporary role in a session (#348)sigoden-1/+6
2024-03-07chore: update depssigoden-1/+1
2024-03-06feat: add new ernie models (#340)sigoden-8/+22
2024-03-06refactor: rename model's `max_tokens` to `max_input_tokens` (#339)sigoden-48/+54
BREAKING CHANGE: rename model's `max_tokens` to `max_input_tokens`
2024-03-05feat: support claude-3 (#336)sigoden-5/+56
2024-03-04feat: compress session automaticlly (#333)sigoden-1/+1
* 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
2024-03-04feat: reduce gemini blocking of unsafe content with safetySettings (#334)sigoden-0/+6
2024-03-01chore: improve openai api error handlingsigoden-2/+5
2024-03-01chore: update order of openai modelssigoden-3/+3
2024-02-28feat: support mistral (#324)sigoden-0/+69
2024-02-27feat: support claude (#278)sigoden-0/+172
2024-02-16refactor: update vertexai/gemini/ernie clients (#309)sigoden-177/+270
2024-02-15feat: support vertexai (#308)sigoden-3/+96
2024-02-13feat: update openai/qianwen/gemini models (#306)sigoden-5/+5
2024-02-05fix: do not attempt to deserialize zero byte chunks in ollama stream (#303)Joseph Goulden-0/+3
2024-01-30feat: add `extra_fields` to models of localai/ollama clients (#298)Kelvie Wong-2/+28
* Add an "extra_fields" config to localai models Because there are so many local AIs out there with a bunch of custom parameters you can set, this allows users to send in extra parameters to a local LLM runner, such as, e.g. `instruction_template: Alpaca`, so that Mixtral can take a system prompt. * support ollama --------- Co-authored-by: sigoden <sigoden@gmail.com>
2024-01-30feat: add openai.api_base config (#302)sigoden-6/+3
2024-01-13feat: supports model capabilities (#297)sigoden-103/+159
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-25refactor: ollam api_base configuration (#285)sigoden-1/+1
2023-12-24feat: custom REPL prompt (#283)sigoden-2/+2
2023-12-20feat: qianwen vision models support embeded images (#277)sigoden-19/+128
2023-12-20feat: support ollama (#276)sigoden-1/+211
2023-12-19feat: support qianwen:qwen-vl-plus (#275)sigoden-48/+121
2023-12-19refactor: adjust order of ernie modelssigoden-2/+2
2023-12-19feat: abandon PaLM2 (#274)sigoden-132/+1
2023-12-19feat: support gemini (#273)sigoden-19/+260
2023-12-16chore: change order of openai modelssigoden-2/+2
2023-11-27feat: add ernie:ernie-bot-8k qianwen:qwen-max (#252)sigoden-15/+16
2023-11-27feat: support vision (#249)sigoden-23/+104
* 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
2023-11-14refactor: palm client system message (#245)sigoden-8/+5
2023-11-14refactor: ernie client system message (#244)sigoden-6/+5
2023-11-09refactor: qianwen client use incremental_output (#240)sigoden-5/+5
2023-11-08refactor: improve code quanity (#238)sigoden-5/+1
2023-11-08feat: add openai:gpt-4-1106-preview (#233)sigoden-2/+4
2023-11-07feat: allow the use of an unlisted model (#219)sigoden-0/+43
2023-11-07refactor: remove Model.client_index, match client by name (#218)sigoden-41/+32
2023-11-07refactor: use &GlobalConfig to avoid clone (#217)sigoden-4/+4
2023-11-07refactor: rename Model.llm_name to name (#216)sigoden-12/+12
2023-11-06refactor: improve error message for PaLM client (#213)sigoden-2/+8
2023-11-04feat: support Qianwen (#211)sigoden-0/+161
2023-11-04feat: support Ernie (#210)sigoden-0/+232
2023-11-04feat: support PaLM (#209)sigoden-2/+154
2023-11-04refactor: rename azure to azure_openai, improve register_client! (#208)sigoden-15/+20