@snf/qa-bot-core 0.2.30-rc.14 → 0.2.30-rc.15
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/build/static/js/main.js +1 -1
- package/build/static/js/main.js.map +1 -1
- package/dist/qa-bot-core.js +2 -2
- package/dist/qa-bot-core.js.map +1 -1
- package/dist/qa-bot-core.standalone.js +5 -5
- package/dist/qa-bot-core.standalone.js.map +1 -1
- package/dist/qa-bot-core.umd.cjs +1 -1
- package/dist/qa-bot-core.umd.cjs.map +1 -1
- package/dist/types/utils/flows/qa-flow.d.ts +1 -1
- package/dist/types/utils/logger.d.ts +2 -1
- package/package.json +1 -1
|
@@ -53,7 +53,7 @@ export declare const createQAFlow: ({ endpoint, ratingEndpoint, agentRatingEndpo
|
|
|
53
53
|
};
|
|
54
54
|
} | {
|
|
55
55
|
qa_loop: {
|
|
56
|
-
message: (chatState: any) => Promise<"Thanks for the feedback!
|
|
56
|
+
message: (chatState: any) => Promise<"Thanks for the feedback!" | "One moment — verifying your session…" | "I apologize, but I'm having trouble processing your question. Please try again later.">;
|
|
57
57
|
options: (chatState: any) => string[];
|
|
58
58
|
renderMarkdown: string[];
|
|
59
59
|
chatDisabled: boolean;
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
* Usage for consumers:
|
|
8
8
|
* localStorage.setItem('QA_BOT_DEBUG', 'true'); // Enable debug logs + version
|
|
9
9
|
*/
|
|
10
|
-
export declare const LIB_VERSION = "0.2.30-rc.
|
|
10
|
+
export declare const LIB_VERSION = "0.2.30-rc.15";
|
|
11
|
+
export declare function isDebugEnabled(): boolean;
|
|
11
12
|
export declare const logger: {
|
|
12
13
|
version: () => void;
|
|
13
14
|
session: (action: string, ...args: unknown[]) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snf/qa-bot-core",
|
|
3
|
-
"version": "0.2.30-rc.
|
|
3
|
+
"version": "0.2.30-rc.15",
|
|
4
4
|
"description": "A configurable chatbot setup for quick integration of RAG-powered Q&A and rating system",
|
|
5
5
|
"main": "./dist/qa-bot-core.umd.cjs",
|
|
6
6
|
"module": "./dist/qa-bot-core.js",
|