@digipair/skill-chatbot 0.2.9 → 0.2.10
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/index.cjs2.js
CHANGED
@@ -41114,7 +41114,7 @@ Summarize the conversation history in a short, clear and concise text, taking in
|
|
41114
41114
|
const [document] = await this.searchDocuments(baseUrl, session, `is_parent = true and userQuery() order by date desc limit 1`, {
|
41115
41115
|
query: `role:"${role}"`
|
41116
41116
|
});
|
41117
|
-
|
41117
|
+
return document;
|
41118
41118
|
}
|
41119
41119
|
async setRole(params, _pinsSettingsList, context) {
|
41120
41120
|
var _context_private;
|
package/index.esm2.js
CHANGED
@@ -41092,7 +41092,7 @@ Summarize the conversation history in a short, clear and concise text, taking in
|
|
41092
41092
|
const [document] = await this.searchDocuments(baseUrl, session, `is_parent = true and userQuery() order by date desc limit 1`, {
|
41093
41093
|
query: `role:"${role}"`
|
41094
41094
|
});
|
41095
|
-
|
41095
|
+
return document;
|
41096
41096
|
}
|
41097
41097
|
async setRole(params, _pinsSettingsList, context) {
|
41098
41098
|
var _context_private;
|
@@ -9,6 +9,6 @@ export declare const chatbot: (params: any, pinsSettingsList: PinsSettings[], co
|
|
9
9
|
logs: any;
|
10
10
|
}>;
|
11
11
|
export declare const boost: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
12
|
-
export declare const getRole: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<
|
12
|
+
export declare const getRole: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
13
13
|
export declare const setRole: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<void>;
|
14
14
|
export {};
|