@nahisaho/katashiro-orchestrator 0.4.0 → 0.4.2
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/dialogue/dialogue-collector.d.ts +144 -0
- package/dist/dialogue/dialogue-collector.d.ts.map +1 -0
- package/dist/dialogue/dialogue-collector.js +334 -0
- package/dist/dialogue/dialogue-collector.js.map +1 -0
- package/dist/dialogue/index.d.ts +13 -0
- package/dist/dialogue/index.d.ts.map +1 -0
- package/dist/dialogue/index.js +22 -0
- package/dist/dialogue/index.js.map +1 -0
- package/dist/dialogue/intent-analyzer.d.ts +100 -0
- package/dist/dialogue/intent-analyzer.d.ts.map +1 -0
- package/dist/dialogue/intent-analyzer.js +474 -0
- package/dist/dialogue/intent-analyzer.js.map +1 -0
- package/dist/dialogue/question-generator.d.ts +61 -0
- package/dist/dialogue/question-generator.d.ts.map +1 -0
- package/dist/dialogue/question-generator.js +530 -0
- package/dist/dialogue/question-generator.js.map +1 -0
- package/dist/dialogue/types.d.ts +242 -0
- package/dist/dialogue/types.d.ts.map +1 -0
- package/dist/dialogue/types.js +21 -0
- package/dist/dialogue/types.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dialogue Types
|
|
3
|
+
*
|
|
4
|
+
* @fileoverview 対話型情報収集のための型定義
|
|
5
|
+
* @module @nahisaho/katashiro-orchestrator
|
|
6
|
+
* @since 0.4.1
|
|
7
|
+
*/
|
|
8
|
+
/** ID型 */
|
|
9
|
+
export type ID = string;
|
|
10
|
+
/** タイムスタンプ型 */
|
|
11
|
+
export type Timestamp = Date;
|
|
12
|
+
/**
|
|
13
|
+
* 対話セッション
|
|
14
|
+
*/
|
|
15
|
+
export interface DialogueSession {
|
|
16
|
+
/** セッションID */
|
|
17
|
+
id: ID;
|
|
18
|
+
/** 初期入力(ユーザーが最初に入力した内容) */
|
|
19
|
+
initialInput: string;
|
|
20
|
+
/** 対話履歴 */
|
|
21
|
+
exchanges: DialogueExchange[];
|
|
22
|
+
/** 抽出されたコンテキスト */
|
|
23
|
+
extractedContext: ExtractedContext;
|
|
24
|
+
/** 推定された真の目的 */
|
|
25
|
+
inferredIntent: InferredIntent | null;
|
|
26
|
+
/** セッション状態 */
|
|
27
|
+
status: DialogueStatus;
|
|
28
|
+
/** 開始日時 */
|
|
29
|
+
startTime: Date;
|
|
30
|
+
/** 終了日時 */
|
|
31
|
+
endTime?: Date;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* 対話状態
|
|
35
|
+
*/
|
|
36
|
+
export type DialogueStatus = 'in_progress' | 'completed' | 'cancelled';
|
|
37
|
+
/**
|
|
38
|
+
* 対話のやりとり(1問1答)
|
|
39
|
+
*/
|
|
40
|
+
export interface DialogueExchange {
|
|
41
|
+
/** やりとりID */
|
|
42
|
+
id: ID;
|
|
43
|
+
/** 質問 */
|
|
44
|
+
question: DialogueQuestion;
|
|
45
|
+
/** 回答(未回答の場合はnull) */
|
|
46
|
+
answer: DialogueAnswer | null;
|
|
47
|
+
/** タイムスタンプ */
|
|
48
|
+
timestamp: Date;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* 質問
|
|
52
|
+
*/
|
|
53
|
+
export interface DialogueQuestion {
|
|
54
|
+
/** 質問ID */
|
|
55
|
+
id?: string;
|
|
56
|
+
/** 質問テキスト */
|
|
57
|
+
text: string;
|
|
58
|
+
/** 質問タイプ */
|
|
59
|
+
type: QuestionType;
|
|
60
|
+
/** 質問カテゴリ */
|
|
61
|
+
category: QuestionCategory;
|
|
62
|
+
/** 選択肢(選択式の場合) */
|
|
63
|
+
options?: string[];
|
|
64
|
+
/** ヒント・説明 */
|
|
65
|
+
hint?: string;
|
|
66
|
+
/** 期待する回答の例 */
|
|
67
|
+
examples?: string[];
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* 質問タイプ
|
|
71
|
+
*/
|
|
72
|
+
export type QuestionType = 'open' | 'single_choice' | 'multi_choice' | 'yes_no' | 'scale' | 'confirmation';
|
|
73
|
+
/**
|
|
74
|
+
* 質問カテゴリ
|
|
75
|
+
*/
|
|
76
|
+
export type QuestionCategory = 'purpose' | 'background' | 'constraints' | 'stakeholders' | 'timeline' | 'scope' | 'priority' | 'success' | 'risks' | 'resources' | 'clarification' | 'confirmation';
|
|
77
|
+
/**
|
|
78
|
+
* 回答
|
|
79
|
+
*/
|
|
80
|
+
export interface DialogueAnswer {
|
|
81
|
+
/** 回答テキスト */
|
|
82
|
+
text: string;
|
|
83
|
+
/** 選択された選択肢(選択式の場合) */
|
|
84
|
+
selectedOptions?: string[];
|
|
85
|
+
/** スケール値(スケール式の場合) */
|
|
86
|
+
scaleValue?: number;
|
|
87
|
+
/** 回答の信頼度(0-1) */
|
|
88
|
+
confidence: number;
|
|
89
|
+
/** 回答日時 */
|
|
90
|
+
timestamp: Date;
|
|
91
|
+
/** メタデータ */
|
|
92
|
+
metadata?: Record<string, unknown>;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* 抽出されたコンテキスト
|
|
96
|
+
*/
|
|
97
|
+
export interface ExtractedContext {
|
|
98
|
+
/** 明示的な目的 */
|
|
99
|
+
readonly explicitPurpose: string | null;
|
|
100
|
+
/** 推測される真の目的 */
|
|
101
|
+
readonly implicitPurpose: string | null;
|
|
102
|
+
/** 背景情報 */
|
|
103
|
+
readonly background: BackgroundInfo;
|
|
104
|
+
/** 制約条件 */
|
|
105
|
+
readonly constraints: Constraint[];
|
|
106
|
+
/** 関係者 */
|
|
107
|
+
readonly stakeholders: Stakeholder[];
|
|
108
|
+
/** 成功基準 */
|
|
109
|
+
readonly successCriteria: SuccessCriterion[];
|
|
110
|
+
/** 優先事項 */
|
|
111
|
+
readonly priorities: Priority[];
|
|
112
|
+
/** リスク */
|
|
113
|
+
readonly risks: Risk[];
|
|
114
|
+
/** キーワード */
|
|
115
|
+
readonly keywords: string[];
|
|
116
|
+
/** ドメイン */
|
|
117
|
+
readonly domain: string | null;
|
|
118
|
+
/** 緊急度 */
|
|
119
|
+
readonly urgency: 'low' | 'medium' | 'high' | 'critical';
|
|
120
|
+
/** 複雑度 */
|
|
121
|
+
readonly complexity: 'simple' | 'moderate' | 'complex' | 'highly_complex';
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* 背景情報
|
|
125
|
+
*/
|
|
126
|
+
export interface BackgroundInfo {
|
|
127
|
+
/** 経緯・理由 */
|
|
128
|
+
reason: string | null;
|
|
129
|
+
/** 現状 */
|
|
130
|
+
currentState: string | null;
|
|
131
|
+
/** 理想状態 */
|
|
132
|
+
desiredState: string | null;
|
|
133
|
+
/** 試したこと */
|
|
134
|
+
attemptedSolutions: string[];
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* 制約条件
|
|
138
|
+
*/
|
|
139
|
+
export interface Constraint {
|
|
140
|
+
/** 制約タイプ */
|
|
141
|
+
type: 'time' | 'budget' | 'resource' | 'technical' | 'legal' | 'other';
|
|
142
|
+
/** 説明 */
|
|
143
|
+
description: string;
|
|
144
|
+
/** 厳格度(1-5) */
|
|
145
|
+
strictness: number;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* 関係者
|
|
149
|
+
*/
|
|
150
|
+
export interface Stakeholder {
|
|
151
|
+
/** 役割 */
|
|
152
|
+
role: string;
|
|
153
|
+
/** 関心事 */
|
|
154
|
+
concerns: string[];
|
|
155
|
+
/** 影響力(1-5) */
|
|
156
|
+
influence: number;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* 成功基準
|
|
160
|
+
*/
|
|
161
|
+
export interface SuccessCriterion {
|
|
162
|
+
/** 基準 */
|
|
163
|
+
criterion: string;
|
|
164
|
+
/** 測定可能か */
|
|
165
|
+
measurable: boolean;
|
|
166
|
+
/** 重要度(1-5) */
|
|
167
|
+
importance: number;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* 優先事項
|
|
171
|
+
*/
|
|
172
|
+
export interface Priority {
|
|
173
|
+
/** 項目 */
|
|
174
|
+
item: string;
|
|
175
|
+
/** 優先度(1=最高) */
|
|
176
|
+
rank: number;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* リスク
|
|
180
|
+
*/
|
|
181
|
+
export interface Risk {
|
|
182
|
+
/** リスク */
|
|
183
|
+
description: string;
|
|
184
|
+
/** 発生確率(1-5) */
|
|
185
|
+
probability: number;
|
|
186
|
+
/** 影響度(1-5) */
|
|
187
|
+
impact: number;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* 推定された意図
|
|
191
|
+
*/
|
|
192
|
+
export interface InferredIntent {
|
|
193
|
+
/** 表層的な目的(ユーザーが言った通り) */
|
|
194
|
+
surfaceIntent: string;
|
|
195
|
+
/** 真の目的(推測) */
|
|
196
|
+
trueIntent: string;
|
|
197
|
+
/** 推定の信頼度(0-1) */
|
|
198
|
+
confidence: number;
|
|
199
|
+
/** 推定根拠 */
|
|
200
|
+
reasoning: string[];
|
|
201
|
+
/** 代替解釈 */
|
|
202
|
+
alternativeInterpretations: AlternativeInterpretation[];
|
|
203
|
+
/** 推奨アプローチ */
|
|
204
|
+
recommendedApproach: string;
|
|
205
|
+
/** 追加で確認すべき事項 */
|
|
206
|
+
needsClarification: string[];
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* 代替解釈
|
|
210
|
+
*/
|
|
211
|
+
export interface AlternativeInterpretation {
|
|
212
|
+
/** 解釈 */
|
|
213
|
+
interpretation: string;
|
|
214
|
+
/** 確率(0-1) */
|
|
215
|
+
probability: number;
|
|
216
|
+
/** 根拠 */
|
|
217
|
+
reasoning: string;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* 対話コレクター設定
|
|
221
|
+
*/
|
|
222
|
+
export interface DialogueCollectorConfig {
|
|
223
|
+
/** 最大質問数 */
|
|
224
|
+
maxQuestions: number;
|
|
225
|
+
/** 最小質問数 */
|
|
226
|
+
minQuestions: number;
|
|
227
|
+
/** 信頼度閾値 */
|
|
228
|
+
confidenceThreshold: number;
|
|
229
|
+
/** 質問戦略 */
|
|
230
|
+
strategy: QuestionStrategy;
|
|
231
|
+
/** 言語 */
|
|
232
|
+
language: 'ja' | 'en';
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* 質問戦略
|
|
236
|
+
*/
|
|
237
|
+
export type QuestionStrategy = 'breadth_first' | 'depth_first' | 'adaptive' | 'minimal';
|
|
238
|
+
/**
|
|
239
|
+
* デフォルト設定
|
|
240
|
+
*/
|
|
241
|
+
export declare const DEFAULT_DIALOGUE_CONFIG: DialogueCollectorConfig;
|
|
242
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/dialogue/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,UAAU;AACV,MAAM,MAAM,EAAE,GAAG,MAAM,CAAC;AAExB,eAAe;AACf,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC;AAM7B;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,cAAc;IACd,EAAE,EAAE,EAAE,CAAC;IACP,2BAA2B;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW;IACX,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,kBAAkB;IAClB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,gBAAgB;IAChB,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,cAAc;IACd,MAAM,EAAE,cAAc,CAAC;IACvB,WAAW;IACX,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW;IACX,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GACtB,aAAa,GACb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IACvB,cAAc;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS;IACT,SAAS,EAAE,MAAM,CAAC;CACnB;AAMD;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,YAAY;IACZ,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY;IACZ,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY;IACZ,mBAAmB,EAAE,MAAM,CAAC;IAC5B,WAAW;IACX,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,SAAS;IACT,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,eAAe,GACf,aAAa,GACb,UAAU,GACV,SAAS,CAAC;AAEd;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,uBAMrC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Dialogue Types
|
|
4
|
+
*
|
|
5
|
+
* @fileoverview 対話型情報収集のための型定義
|
|
6
|
+
* @module @nahisaho/katashiro-orchestrator
|
|
7
|
+
* @since 0.4.1
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.DEFAULT_DIALOGUE_CONFIG = void 0;
|
|
11
|
+
/**
|
|
12
|
+
* デフォルト設定
|
|
13
|
+
*/
|
|
14
|
+
exports.DEFAULT_DIALOGUE_CONFIG = {
|
|
15
|
+
maxQuestions: 10,
|
|
16
|
+
minQuestions: 3,
|
|
17
|
+
confidenceThreshold: 0.8,
|
|
18
|
+
strategy: 'adaptive',
|
|
19
|
+
language: 'ja',
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/dialogue/types.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAySH;;GAEG;AACU,QAAA,uBAAuB,GAA4B;IAC9D,YAAY,EAAE,EAAE;IAChB,YAAY,EAAE,CAAC;IACf,mBAAmB,EAAE,GAAG;IACxB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,IAAI;CACf,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -12,4 +12,5 @@ export { DEFAULT_TOOL_REGISTRY_CONFIG } from './action-observation-types';
|
|
|
12
12
|
export { TaskDecomposer, DecompositionError, type DecompositionStrategy, type DecomposedTask, } from './task-decomposer';
|
|
13
13
|
export { ToolRegistry, ToolRegistryError, type CreateActionOptions, type ApprovalRequestEvent, type ApprovalResolvedEvent, type ToolRegistryEvents, } from './tool-registry';
|
|
14
14
|
export { MultiAgentOrchestrator, type MultiAgentOrchestratorOptions, type ResultAggregatorConfig, type AggregatedResult, } from './multi-agent-orchestrator';
|
|
15
|
+
export { type DialogueSession, type DialogueExchange, type DialogueQuestion, type DialogueAnswer, type DialogueStatus, type QuestionType, type QuestionCategory, type ExtractedContext, type BackgroundInfo, type Constraint, type Stakeholder, type SuccessCriterion, type Priority, type Risk, type InferredIntent, type AlternativeInterpretation, type DialogueCollectorConfig, type QuestionStrategy, DEFAULT_DIALOGUE_CONFIG, QuestionGenerator, IntentAnalyzer, DialogueCollector, runSimpleDialogue, } from './dialogue';
|
|
15
16
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,YAAY,EAEV,YAAY,EACZ,UAAU,EACV,OAAO,EACP,SAAS,EACT,UAAU,EACV,SAAS,EACT,aAAa,EACb,mBAAmB,EAEnB,SAAS,EACT,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,yBAAyB,GAC1B,MA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UAAU,EACV,kBAAkB,EAClB,UAAU,EACV,eAAe,EACf,kBAAkB,GACnB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,GAC7B,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AAG1E,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,KAAK,qBAAqB,EAC1B,KAAK,cAAc,GACpB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,GACxB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EACL,sBAAsB,EACtB,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,GACtB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACb,KAAK,IAAI,EACT,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EAErB,uBAAuB,EAEvB,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,YAAY,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @since 0.4.0
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.MultiAgentOrchestrator = exports.ToolRegistryError = exports.ToolRegistry = exports.DecompositionError = exports.TaskDecomposer = exports.DEFAULT_TOOL_REGISTRY_CONFIG = exports.DEFAULT_ORCHESTRATION_CONFIG = exports.DEFAULT_DECOMPOSITION_CONFIG = void 0;
|
|
10
|
+
exports.runSimpleDialogue = exports.DialogueCollector = exports.IntentAnalyzer = exports.QuestionGenerator = exports.DEFAULT_DIALOGUE_CONFIG = exports.MultiAgentOrchestrator = exports.ToolRegistryError = exports.ToolRegistry = exports.DecompositionError = exports.TaskDecomposer = exports.DEFAULT_TOOL_REGISTRY_CONFIG = exports.DEFAULT_ORCHESTRATION_CONFIG = exports.DEFAULT_DECOMPOSITION_CONFIG = void 0;
|
|
11
11
|
// 定数
|
|
12
12
|
var types_1 = require("./types");
|
|
13
13
|
Object.defineProperty(exports, "DEFAULT_DECOMPOSITION_CONFIG", { enumerable: true, get: function () { return types_1.DEFAULT_DECOMPOSITION_CONFIG; } });
|
|
@@ -24,4 +24,13 @@ Object.defineProperty(exports, "ToolRegistryError", { enumerable: true, get: fun
|
|
|
24
24
|
// REQ-006: マルチエージェントオーケストレーター
|
|
25
25
|
var multi_agent_orchestrator_1 = require("./multi-agent-orchestrator");
|
|
26
26
|
Object.defineProperty(exports, "MultiAgentOrchestrator", { enumerable: true, get: function () { return multi_agent_orchestrator_1.MultiAgentOrchestrator; } });
|
|
27
|
+
// MUSUBIX風対話型情報収集システム (REQ-011)
|
|
28
|
+
var dialogue_1 = require("./dialogue");
|
|
29
|
+
// Constants
|
|
30
|
+
Object.defineProperty(exports, "DEFAULT_DIALOGUE_CONFIG", { enumerable: true, get: function () { return dialogue_1.DEFAULT_DIALOGUE_CONFIG; } });
|
|
31
|
+
// Classes
|
|
32
|
+
Object.defineProperty(exports, "QuestionGenerator", { enumerable: true, get: function () { return dialogue_1.QuestionGenerator; } });
|
|
33
|
+
Object.defineProperty(exports, "IntentAnalyzer", { enumerable: true, get: function () { return dialogue_1.IntentAnalyzer; } });
|
|
34
|
+
Object.defineProperty(exports, "DialogueCollector", { enumerable: true, get: function () { return dialogue_1.DialogueCollector; } });
|
|
35
|
+
Object.defineProperty(exports, "runSimpleDialogue", { enumerable: true, get: function () { return dialogue_1.runSimpleDialogue; } });
|
|
27
36
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AA8CH,KAAK;AACL,iCAGiB;AAFf,qHAAA,4BAA4B,OAAA;AAC5B,qHAAA,4BAA4B,OAAA;AAG9B,uEAA0E;AAAjE,wIAAA,4BAA4B,OAAA;AAErC,MAAM;AACN,qDAK2B;AAJzB,iHAAA,cAAc,OAAA;AACd,qHAAA,kBAAkB,OAAA;AAKpB,iDAOyB;AANvB,6GAAA,YAAY,OAAA;AACZ,kHAAA,iBAAiB,OAAA;AAOnB,8BAA8B;AAC9B,uEAKoC;AAJlC,kIAAA,sBAAsB,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AA8CH,KAAK;AACL,iCAGiB;AAFf,qHAAA,4BAA4B,OAAA;AAC5B,qHAAA,4BAA4B,OAAA;AAG9B,uEAA0E;AAAjE,wIAAA,4BAA4B,OAAA;AAErC,MAAM;AACN,qDAK2B;AAJzB,iHAAA,cAAc,OAAA;AACd,qHAAA,kBAAkB,OAAA;AAKpB,iDAOyB;AANvB,6GAAA,YAAY,OAAA;AACZ,kHAAA,iBAAiB,OAAA;AAOnB,8BAA8B;AAC9B,uEAKoC;AAJlC,kIAAA,sBAAsB,OAAA;AAMxB,gCAAgC;AAChC,uCA2BoB;AAPlB,YAAY;AACZ,mHAAA,uBAAuB,OAAA;AACvB,UAAU;AACV,6GAAA,iBAAiB,OAAA;AACjB,0GAAA,cAAc,OAAA;AACd,6GAAA,iBAAiB,OAAA;AACjB,6GAAA,iBAAiB,OAAA"}
|
package/package.json
CHANGED