diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-05 09:02:23 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-05 09:02:23 +0800 |
| commit | 1ec6abfaee2fdc189b348b7e3a8145bd9a84da74 (patch) | |
| tree | 6f68a860a39b0fbe87784de925b5a31e00e74e33 /Cargo.toml | |
| parent | 71f2e94579511d7524f5534377001ab3f02a9597 (diff) | |
| download | aichat-1ec6abfaee2fdc189b348b7e3a8145bd9a84da74.tar.gz | |
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)
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -60,6 +60,9 @@ num_cpus = "1.16.0" threadpool = "1.8.1" json-patch = { version = "2.0.0", default-features = false } bitflags = "2.5.0" +path-absolutize = "3.1.1" +hnsw_rs = "0.3.0" +pdf-extract = "0.7.7" [dependencies.reqwest] version = "0.12.0" @@ -81,6 +84,7 @@ arboard = { version = "3.3.0", default-features = false, features = ["wayland-da arboard = { version = "3.3.0", default-features = false } [dev-dependencies] +pretty_assertions = "1.4.0" rand = "0.8.5" [profile.release] |
