@tiledesk/tiledesk-server 2.18.4 → 2.18.5
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 +3 -0
- package/package.json +1 -1
- package/routes/kb.js +2 -1
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.18.5
|
|
9
|
+
- Fixed bug on update url content on Knwoledge Base
|
|
10
|
+
|
|
8
11
|
# 2.18.4
|
|
9
12
|
- Added HyDE support for Knowledge Base Q&A
|
|
10
13
|
- Introduced Cache (cRag) functionality in Knowledge Base Q&A
|
package/package.json
CHANGED
package/routes/kb.js
CHANGED
|
@@ -2020,8 +2020,9 @@ router.put('/:kb_id', async (req, res) => {
|
|
|
2020
2020
|
const project = req.project;
|
|
2021
2021
|
const kb_id = req.params.kb_id;
|
|
2022
2022
|
|
|
2023
|
-
const { name, type, source, content, refresh_rate, scrape_type, scrape_options, tags
|
|
2023
|
+
const { name, type, source, content, refresh_rate, scrape_type, scrape_options, tags } = req.body;
|
|
2024
2024
|
const namespace_id = req.body.namespace;
|
|
2025
|
+
let situated_context = req.body.situated_context;
|
|
2025
2026
|
|
|
2026
2027
|
if (!namespace_id) {
|
|
2027
2028
|
return res.status(400).send({ success: false, error: "Missing 'namespace' body parameter" })
|