Commit Graph

97 Commits (main)

Author SHA1 Message Date
sigoden 2eab71a641
feat: rag hybrid search (#618) 4 days ago
sigoden 492b006db7
refactor: load pdf/docx files (#592) 2 weeks 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
2 weeks 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)
3 weeks ago
sigoden 71f2e94579
refactor: switch to bitflags State (#557) 3 weeks ago
sigoden 38797e3264
chore: release v0.18.0 (#551) 3 weeks ago
sigoden 5458150ed3
fix: json stream parser and refine client modules (#538) 1 month ago
sigoden ba3bcfd67c
feat: allow patching req body with client config (#534) 1 month 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
1 month ago
sigoden a75aef459d
feat: remove tiktoken (#506) 1 month ago
sigoden 154c1e0b4b
chore: release v0.17.0 (#497) 1 month ago
sigoden c4c948a54c chore: update deps 2 months ago
sigoden 1f2b626703
feat: support bedrock client (#450) 2 months ago
sigoden 0a4c0413ef
feat: serve all LLMs as OpenAI-compatible API (#431) 2 months ago
sigoden 1cc89eff51
refactor: more async code (#427) 2 months ago
sigoden 8ab57ed74e
refactor: update description for cli options and config fields (#423) 2 months ago
sigoden a3f63a5e04
chore: release v0.16.0 (#404) 2 months ago
sigoden 8feaf2a93d refactor: adjust client order 2 months ago
sigoden 26ad75c005 chore: update readme and description 3 months ago
sigoden 3a0cafebd9 chore: update description 3 months ago
sigoden ccc5f864f1 chore: update readme and project description 3 months ago
sigoden 78d6e1b1e0
chore: release v0.15.0 (#387)
* chore: release v0.15.0

* add arm/armv7 releases

* update deps
3 months ago
sigoden 84695b62c6 chore: update deps 3 months ago
sigoden 601288029d chore: update description and readme 4 months ago
sigoden c3677e3380
chore: release v0.14.0 (#341) 4 months ago
sigoden f65c18886b chore: update description 4 months ago
sigoden 32ce76e4d1 chore: update deps 4 months ago
sigoden b82ae88a15 chore: update project description and README 4 months ago
sigoden aec1b707af chore: release v0.13.0 4 months ago
sigoden 21d1be5bed
refactor: improve prompt error handling (#319) 4 months ago
sigoden 16b7ac071f chore: update deps and readme 4 months ago
sigoden 6c0204e696
refactor: change header of messages saved to markdown (#317) 4 months ago
sigoden fe35cfd941
feat: supports model capabilities (#297)
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
5 months ago
sigoden 665f7ff4b9
fix: copy on linux wayland (#288) 6 months ago
sigoden 0bda6af4dc chore: release v0.12.0 6 months ago
sigoden 1bb28665f7 chore: update readme and deps 6 months ago
sigoden 6280f5ab4b
feat: qianwen vision models support embeded images (#277) 6 months ago
sigoden e4d301f3d7
fix: pipe failed on macos (#264) 7 months ago
sigoden 075631d794 chore: release v0.11.0 7 months ago
sigoden 0afef991f9 chore: update cli description and readme 7 months ago
sigoden 25e545474f
chore: upgrade deps (#250) 7 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
7 months ago
sigoden 542dcfe6f6
feat: extend `.read` to support files and messages (#242) 7 months ago
sigoden 01cf8acb81
refactor: improve code quanity (#238) 8 months ago
sigoden a8a504e0f0 chore: release v0.10.0 8 months ago
sigoden 534733b77c
fix: unable to build on android using termux (#222) 8 months ago
sigoden 5dabe723ed chore: release v0.9.0 8 months ago
sigoden dce6877f5d
refactor: optimize render (#202) 8 months ago
sigoden f6da06dad9
refactor: improve code quanity (#194)
- extends ModelInfo for tokens calculating
- refactor config/session.rs, improve export, render, getter/setter
- modify main.rs, allow --model override session.model
8 months ago
sigoden 8d76fc77fb refactor: use reqwest-eventsource as sse client 8 months ago