diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml
index 37d8f88..f89e064 100644
--- a/.github/workflows/integration-test.yml
+++ b/.github/workflows/integration-test.yml
@@ -157,7 +157,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\":\"2.1.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.1.1\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system_app\":0}" --force-scopes --wait-finish
- name: Scan files
run: |
diff --git a/Makefile b/Makefile
index 39ff8ba..354ea0d 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ help:
#.PHONY: build-push
#build-push:
# docker login ghcr.io
-# docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/nextcloud/context_chat_backend:2.1.0 --tag ghcr.io/nextcloud/context_chat_backend:latest .
+# docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/nextcloud/context_chat_backend:2.1.1 --tag ghcr.io/nextcloud/context_chat_backend:latest .
.PHONY: run
run:
@@ -32,5 +32,5 @@ run:
register:
docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister context_chat_backend --silent || true
docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register context_chat_backend manual_install --json-info \
- "{\"id\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"2.1.0\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system\":0}" \
+ "{\"id\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"2.1.1\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system\":0}" \
--force-scopes --wait-finish
diff --git a/README.md b/README.md
index ab5349a..e95a468 100644
--- a/README.md
+++ b/README.md
@@ -57,7 +57,7 @@ If nextcloud is inside a container, `--add-host` option would be required by you
**2. Register the app using the deploy daemon (be mindful of the port number and the app's version):**
```
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.1.0\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system_app\":0}" \
+"{\"appid\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"2.1.1\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system_app\":0}" \
--force-scopes --wait-finish
```
The command to unregister is given below (force is used to also remove apps whose container has been removed)
@@ -205,7 +205,7 @@ sudo -u www-data php occ app_api:app:register \
--json-info "{\"appid\":\"context_chat_backend\",\
\"name\":\"Context Chat Backend\",\
\"daemon_config_name\":\"manual_install\",\
- \"version\":\"2.1.0\",\
+ \"version\":\"2.1.1\",\
\"secret\":\"12345\",\
\"port\":10034,\
\"scopes\":[],\
diff --git a/appinfo/info.xml b/appinfo/info.xml
index 1a3fea0..be47161 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -16,7 +16,7 @@ Install the given apps for Context Chat to work as desired **in the given order*
- `Context Chat` (same major and minor version as the backend) from the Apps page (https://apps.nextcloud.com/apps/context_chat)
- `Assistant` from the Apps page (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 Assitant app, which is also the officially supported universal UI for all the AI providers.
]]>
- 2.1.0
+ 2.1.1
agpl
Anupam Kumar
Context Chat
@@ -31,7 +31,7 @@ Install the given apps for Context Chat to work as desired **in the given order*
ghcr.io
nextcloud/context_chat_backend
- 2.1.0
+ 2.1.1
diff --git a/changelog.md b/changelog.md
index d3a3f6b..90c1740 100644
--- a/changelog.md
+++ b/changelog.md
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
+## 2.1.1 - 2024-04-23
+### Changed
+- use 8192 as context length
+
+### Fixed
+- replace @ with .at. in collection name
+- replace pandoc completely due to random memory hogs with other python packages
+- types fixes and langchain import updates
+
+
## 2.1.0 - 2024-04-15
### Changed
- no context generation is now a chat completion
diff --git a/example.env b/example.env
index fa1a985..d698f1c 100644
--- a/example.env
+++ b/example.env
@@ -14,7 +14,7 @@ AA_VERSION=2.2.0
APP_SECRET=12345
APP_ID=context_chat_backend
APP_DISPLAY_NAME=Context Chat Backend
-APP_VERSION=2.1.0
+APP_VERSION=2.1.1
APP_HOST=0.0.0.0
APP_PORT=10034
APP_PERSISTENT_STORAGE=persistent_storage
diff --git a/pyproject.toml b/pyproject.toml
index 49238fe..a53a696 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "context_chat_backend"
-version = "2.1.0"
+version = "2.1.1"
requires-python = ">=3.11"
authors = [
{ name = "Anupam Kumar", email = "kyteinsky@gmail.com" }