Skip to content

Commit

Permalink
Merge pull request #23 from nextcloud/release/2.0.1
Browse files Browse the repository at this point in the history
v2.0.1
  • Loading branch information
kyteinsky authored Mar 23, 2024
2 parents 050ed66 + 8f9e456 commit d9ff4c0
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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: |
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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 :)
13 changes: 12 additions & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,19 @@
<summary>Chat with your documents</summary>
<description><![CDATA[
Ask questions to nextcloud Assistant about the content of your documents.
## 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.
]]></description>
<version>2.0.0</version>
<version>2.0.1</version>
<licence>agpl</licence>
<author>Julien Veyssier</author>
<namespace>ContextChat</namespace>
Expand Down

0 comments on commit d9ff4c0

Please # to comment.