summaryrefslogtreecommitdiffstats
path: root/src/client/ernie.rs
AgeCommit message (Collapse)AuthorLines
2024-02-16refactor: update vertexai/gemini/ernie clients (#309)sigoden-3/+8
2024-01-13feat: supports model capabilities (#297)sigoden-21/+11
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-19refactor: adjust order of ernie modelssigoden-2/+2
2023-12-19feat: support gemini (#273)sigoden-9/+2
2023-11-27feat: add ernie:ernie-bot-8k qianwen:qwen-max (#252)sigoden-2/+3
2023-11-27feat: support vision (#249)sigoden-3/+5
* 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: ernie client system message (#244)sigoden-6/+5
2023-11-07feat: allow the use of an unlisted model (#219)sigoden-0/+2
2023-11-07refactor: remove Model.client_index, match client by name (#218)sigoden-3/+3
2023-11-07refactor: rename Model.llm_name to name (#216)sigoden-2/+2
2023-11-04feat: support Ernie (#210)sigoden-0/+231