@tiledesk/tiledesk-server 2.13.0 → 2.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,9 @@
5
5
  🚀 IN PRODUCTION 🚀
6
6
  (https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.77)
7
7
 
8
+ # 2.12.1
9
+ - Bug fix: wrong endpoint for hybrid qa
10
+
8
11
  # 2.12.0
9
12
  - Updated: whatsapp module listener
10
13
  - Updated: whatsapp-connector to 1.0.0
package/deploy.sh CHANGED
@@ -1,5 +1,5 @@
1
1
  git pull
2
- npm version minor
2
+ npm version patch
3
3
  version=`node -e 'console.log(require("./package.json").version)'`
4
4
  echo "version $version"
5
5
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-server",
3
3
  "description": "The Tiledesk server module",
4
- "version": "2.13.0",
4
+ "version": "2.13.1",
5
5
  "scripts": {
6
6
  "start": "node ./bin/www",
7
7
  "pretest": "mongodb-runner start",
@@ -200,7 +200,7 @@ class AiService {
200
200
 
201
201
  askNamespace(data) {
202
202
  let base_url = kb_endpoint_qa;
203
- if (data.hybrid) {
203
+ if (data.hybrid || data.search_type === 'hybrid') {
204
204
  base_url = kb_endpoint_qa_gpu;
205
205
  }
206
206
  winston.debug("[OPENAI SERVICE] kb endpoint: " + base_url);