chatbotlite 0.2.0 → 0.3.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.
@@ -1,39 +0,0 @@
1
- interface BusinessConfig {
2
- /** Business name shown in greetings. */
3
- name: string;
4
- /** Optional one-line description (e.g. "Plumbing service in Vancouver"). */
5
- description?: string;
6
- /** Services offered with optional pricing. */
7
- services?: ServiceItem[];
8
- /** Operating hours (free text or structured). */
9
- hours?: string;
10
- /** Geographic service area names (e.g. ["Vancouver", "Burnaby"]). */
11
- serviceArea?: string[];
12
- /** Known policies (cancellation, payment, etc) the bot can quote. */
13
- policies?: PolicyItem[];
14
- /** What the bot should NOT promise (e.g. dispatch times). */
15
- doNotPromise?: string[];
16
- /** Custom system instructions appended to the default prompt. */
17
- customInstructions?: string;
18
- /** Language hint — default English. */
19
- language?: "en" | "zh" | "es" | "fr" | string;
20
- }
21
- interface ServiceItem {
22
- name: string;
23
- price?: string;
24
- notes?: string;
25
- }
26
- interface PolicyItem {
27
- topic: string;
28
- answer: string;
29
- }
30
- interface Message {
31
- role: "user" | "assistant" | "system";
32
- content: string;
33
- }
34
- interface GuardResult {
35
- ok: boolean;
36
- violations: string[];
37
- }
38
-
39
- export type { BusinessConfig as B, GuardResult as G, Message as M, PolicyItem as P, ServiceItem as S };
@@ -1,39 +0,0 @@
1
- interface BusinessConfig {
2
- /** Business name shown in greetings. */
3
- name: string;
4
- /** Optional one-line description (e.g. "Plumbing service in Vancouver"). */
5
- description?: string;
6
- /** Services offered with optional pricing. */
7
- services?: ServiceItem[];
8
- /** Operating hours (free text or structured). */
9
- hours?: string;
10
- /** Geographic service area names (e.g. ["Vancouver", "Burnaby"]). */
11
- serviceArea?: string[];
12
- /** Known policies (cancellation, payment, etc) the bot can quote. */
13
- policies?: PolicyItem[];
14
- /** What the bot should NOT promise (e.g. dispatch times). */
15
- doNotPromise?: string[];
16
- /** Custom system instructions appended to the default prompt. */
17
- customInstructions?: string;
18
- /** Language hint — default English. */
19
- language?: "en" | "zh" | "es" | "fr" | string;
20
- }
21
- interface ServiceItem {
22
- name: string;
23
- price?: string;
24
- notes?: string;
25
- }
26
- interface PolicyItem {
27
- topic: string;
28
- answer: string;
29
- }
30
- interface Message {
31
- role: "user" | "assistant" | "system";
32
- content: string;
33
- }
34
- interface GuardResult {
35
- ok: boolean;
36
- violations: string[];
37
- }
38
-
39
- export type { BusinessConfig as B, GuardResult as G, Message as M, PolicyItem as P, ServiceItem as S };