diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 692ec51..fca0291 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -20,7 +20,7 @@ concurrency: jobs: transcription: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest strategy: # do not stop on another job's failure @@ -150,12 +150,12 @@ jobs: with: python-version: '3.11' cache: 'pip' - cache-dependency-path: context_chat_backend/reqs.txt + cache-dependency-path: context_chat_backend/requirements.cpu.txt - name: Install and init backend run: | cd context_chat_backend - pip install --no-deps -r requirements.txt + pip install --no-deps -r requirements.cpu.txt pip install --upgrade pip setuptools wheel CMAKE_ARGS="-DLLAMA_OPENBLAS=on" pip install llama-cpp-python cp example.env .env @@ -166,7 +166,7 @@ jobs: - name: Register backend run: | ./occ app_api:daemon:register --net host manual_install "Manual Install" manual-install http localhost http://localhost:8080 - ./occ app_api:app:register context_chat_backend manual_install --json-info "{\"appid\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.2.0\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system_app\":0}" --force-scopes --wait-finish + ./occ app_api:app:register context_chat_backend manual_install --json-info "{\"appid\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"2.0.1\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system_app\":0}" --force-scopes --wait-finish - name: Scan files run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index 15285b9..f847bef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## 2.0.1 – 2024-03-23 + +### Fixed +- update integration-test.yml +- separate ProviderConfigService +- IndexerJob: Avoid sending the same resource multiple times + + ## 2.0.0 – 2024-03-21 ### Changed diff --git a/README.md b/README.md index 74773ee..48fc77d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,13 @@ # Nextcloud Assistant Context Chat -NYI +## Install +1. Install two other mandatory apps for this app to work as desired in your Nextcloud install from the "Apps" page: +- AppAPI (>= v2.0.x): https://apps.nextcloud.com/apps/app_api +- Assistant: https://apps.nextcloud.com/apps/assistant (The OCS API or the `occ` commands can also be used to interact with this app but it recommended to do that through a Text Processing OCP API consumer like the Assistant app.) +2. Install this app (Nextcloud Assistant Context Chat): https://apps.nextcloud.com/apps/context_chat +3. Install the Context Chat Backend app (https://apps.nextcloud.com/apps/context_chat_backend) from the "External Apps" page. It is important to note here that the backend app should have the same major and minor version as this app (context_chat) +4. Start using Context Chat from the Assistant UI + +> [!NOTE] +> Refer to the [Context Chat Backend's readme](https://github.com/nextcloud/context_chat_backend/?tab=readme-ov-file) and the [AppAPI's documentation](https://cloud-py-api.github.io/app_api/) for help with setup of AppAPI's deploy daemon. +> Please open an issue if you need help :) diff --git a/appinfo/info.xml b/appinfo/info.xml index abb5c78..5a36446 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -5,8 +5,19 @@ Chat with your documents = v2.0.x): https://apps.nextcloud.com/apps/app_api +- Assistant: https://apps.nextcloud.com/apps/assistant (The OCS API or the `occ` commands can also be used to interact with this app but it recommended to do that through a Text Processing OCP API consumer like the Assistant app.) +2. Install this app (Nextcloud Assistant Context Chat): https://apps.nextcloud.com/apps/context_chat +3. Install the Context Chat Backend app (https://apps.nextcloud.com/apps/context_chat_backend) from the "External Apps" page. It is important to note here that the backend app should have the same major and minor version as this app (context_chat) +4. Start using Context Chat from the Assistant UI + +Note: +Refer to the [Context Chat Backend's readme](https://github.com/nextcloud/context_chat_backend/?tab=readme-ov-file) and the [AppAPI's documentation](https://cloud-py-api.github.io/app_api/) for help with setup of AppAPI's deploy daemon. ]]> - 2.0.0 + 2.0.1 agpl Julien Veyssier ContextChat