@snf/qa-bot-core 0.2.30-rc.7 → 0.2.30-rc.8
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/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 +2 -2
- package/dist/qa-bot-core.umd.cjs.map +1 -1
- package/dist/types/utils/flows/qa-flow.d.ts +0 -8
- package/dist/types/utils/logger.d.ts +1 -1
- package/package.json +1 -1
|
@@ -42,21 +42,13 @@ export declare const createQAFlow: ({ endpoint, ratingEndpoint, apiKey, sessionI
|
|
|
42
42
|
options?: undefined;
|
|
43
43
|
renderMarkdown?: undefined;
|
|
44
44
|
};
|
|
45
|
-
turnstile_challenge?: undefined;
|
|
46
45
|
} | {
|
|
47
46
|
qa_loop: {
|
|
48
47
|
message: (chatState: any) => Promise<"Thanks for the feedback! Feel free to ask another question." | "Verification failed. Please try your question again." | "I had trouble processing your question after verification. Please try again." | "Please verify you're human to continue." | "I apologize, but I'm having trouble processing your question. Please try again later.">;
|
|
49
48
|
options: (chatState: any) => string[];
|
|
50
49
|
renderMarkdown: string[];
|
|
51
50
|
chatDisabled: boolean;
|
|
52
|
-
path: () => "qa_loop" | "turnstile_challenge";
|
|
53
|
-
component?: undefined;
|
|
54
|
-
};
|
|
55
|
-
turnstile_challenge: {
|
|
56
|
-
message: string;
|
|
57
51
|
component: React.JSX.Element;
|
|
58
|
-
options: string[];
|
|
59
|
-
chatDisabled: boolean;
|
|
60
52
|
path: string;
|
|
61
53
|
};
|
|
62
54
|
};
|
|
@@ -7,7 +7,7 @@
|
|
|
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.8";
|
|
11
11
|
export declare const logger: {
|
|
12
12
|
version: () => void;
|
|
13
13
|
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.8",
|
|
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",
|