30 Commits

Author SHA1 Message Date
edmundhighcock
f663865186 Added nbconvert needed for rag indexing jupyter notebooks (#2862)
* Added nbconvert needed for rag indexing jupyter notebooks

* Allow rag service image to be configured

* [pre-commit.ci lite] apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-12-30 11:59:52 +08:00
Matthieu Coudron
15548d50fc refactor(rag): rewrote the starting command (#2874)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-12-19 12:38:04 +08:00
XuJiawei
521633a0f5 fix: llm_api_key error in launch_rag_service (#2866) 2025-12-13 22:23:37 +08:00
XuJiawei
42028811e4 refine: replace vim.fn.system with vim.system (#2863) 2025-12-13 18:58:10 +08:00
doodleEsc
82cf18c6b9 refactor: improve formatting of embed_extra and llm_extra (#2299) 2025-06-23 01:09:18 +08:00
doodleEsc
2dd4c04088 feat: Enhanced Model Provider Support and Configuration Flexibility For Rag Service (#2056)
Co-authored-by: doodleEsc <cokie@foxmail.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-06-06 23:07:07 +08:00
Peter Cardenas
b6a3c925a4 fix: support rag search on macos (#1928) 2025-05-12 16:54:48 +08:00
Peter Cardenas
aff9dea03c fix: rag search tool is asynchronous (#1927) 2025-05-12 16:54:14 +08:00
Harings Rob
b61e6571f9 fix: run rag service container under x86 architecture (#1876) 2025-04-16 14:19:44 +08:00
yetone
b59cbf4392 feat: upgrade rag service image version (#1673) 2025-03-22 14:38:28 +08:00
Omar Crespo
968d5fbd52 fix: RAG services improvements (#1565)
* fix: rag nix runner

* feat: improve rag default models

* fix: change log levels to avoid huge log files in rag service
2025-03-20 13:28:04 +08:00
yetone
008fe29de8 fix: use host network for rag service container (#1649) 2025-03-20 03:45:44 +08:00
Ellis Rahhal
51eb8fc2d9 feat: added optional docker args for rag service (#1589) 2025-03-18 12:06:37 +08:00
yetone
7d7f93d093 feat: upgrade rag service (#1548) 2025-03-10 16:32:17 +08:00
yetone
ce3c47b6ec fix: allow reset rag service chromadb (#1491) 2025-03-05 17:01:00 +08:00
yetone
7578f13d8d feat: upgrade rag service image version (#1488) 2025-03-05 16:22:25 +08:00
Francesco Tassi
232c9a635c feat: improve avante-rag-service container execution (#1448)
* Refactor Docker mount to mount only user home

Mounting the whole filesystem expose the user to security risks,
considering the container is running are root.

This mounts only the user home directory in the container, to mitigate
the security risks. The user home directory is mounted in read only mode
to even reduce the risks of accidental or malicious modifications.

Mounting the whole should allow the user to have multiple neovim instances runinng at
the same time and sharing the same rag_service.

Also the container is started with the --rm flag to remove it after it stops.

* RAG mount point is not configurable

* Remove useless filter.lua file

* Use Path to join paths

This should be more safe than just concatenating strings.
2025-03-05 16:18:52 +08:00
Jorge Luis Suarez
e408b820c8 feat: add Nix as Rag service runner option (#1480)
* feat: add nix as option for RAG runner

* fix: remove default embedding model

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* stylua format

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-04 23:50:24 +08:00
nzlov
de7cccd089 feat: add support for ollama RAG providers (#1427)
* fix: openai env

* feat: add support for multiple RAG providers

- Added provider, model and endpoint configuration options for RAG service

- Updated RAG service to support both OpenAI and Ollama providers

- Added Ollama embedding support and dependencies

- Improved environment variable handling for RAG service configuration

Signed-off-by: wfhtqp@gmail.com <wfhtqp@gmail.com>

* fix: update docker env

* feat: rag server add ollama llm

* fix: pre-commit

* feat: check embed model and clean

* docs: add rag server config docs

* fix: pyright ignore

---------

Signed-off-by: wfhtqp@gmail.com <wfhtqp@gmail.com>
2025-03-04 11:07:40 +08:00
yetone
1097f1dfae feat: update rag service image (#1415) 2025-02-27 11:54:38 +08:00
yetone
6f98cb0ed6 fix: fetch llm tool no longer depends on system libssl.so (#1404) 2025-02-26 17:36:01 +08:00
nzlov
ef78c36e98 fix: openai env (#1400) 2025-02-26 17:35:49 +08:00
Peter Cardenas
afa674c6fd chore: prefer not to use function assignment (#1381) 2025-02-25 12:08:03 +08:00
yetone
a1d1697400 feat: parse excel (#1383) 2025-02-25 12:06:50 +08:00
yetone
7255e16020 fix: rag resource must be a git repo (#1360) 2025-02-23 15:11:18 +08:00
yetone
c558a1d0ac fix: remove err msg in docker (#1356) 2025-02-23 02:17:23 +08:00
yetone
42ed8e4493 fix: asynchronously start rag service (#1355) 2025-02-23 02:04:43 +08:00
yetone
5744b1fde7 fix: add err msg for rag service (#1354) 2025-02-23 01:55:27 +08:00
yetone
ea07d45c1c fix: update image registry (#1353) 2025-02-23 01:54:01 +08:00
yetone
fd84c91cdb feat: RAG service (#1220) 2025-02-23 01:37:26 +08:00