ide-assi 0.91.0 → 0.92.0
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/bundle.cjs.js
CHANGED
|
@@ -193473,8 +193473,9 @@ class IdeAi
|
|
|
193473
193473
|
this.#createModel();
|
|
193474
193474
|
|
|
193475
193475
|
const systemMessage = "You are a helpful assistant.";
|
|
193476
|
+
console.log("====================");
|
|
193476
193477
|
const prompt = await IdeUtils.generatePrompt('/prompts/meta/개발액션분류.txt', { "userPrompt": userPrompt });
|
|
193477
|
-
|
|
193478
|
+
console.log(prompt);
|
|
193478
193479
|
const response = await this.#model.invoke([
|
|
193479
193480
|
new SystemMessage(systemMessage),
|
|
193480
193481
|
new HumanMessage(prompt),
|
|
@@ -193491,7 +193492,11 @@ class IdeAi
|
|
|
193491
193492
|
throw new Error(o);
|
|
193492
193493
|
}
|
|
193493
193494
|
|
|
193495
|
+
const menus = this.#getMenuInfo();
|
|
193496
|
+
const tables = await this.#getTableList();
|
|
193494
193497
|
|
|
193498
|
+
console.log(menus);
|
|
193499
|
+
console.log(tables);
|
|
193495
193500
|
|
|
193496
193501
|
return "OK";
|
|
193497
193502
|
}
|
|
@@ -193589,16 +193594,8 @@ class IdeAssi extends HTMLElement
|
|
|
193589
193594
|
elAiChat.add("ing", "...");
|
|
193590
193595
|
|
|
193591
193596
|
try {
|
|
193592
|
-
//this.#createModel();
|
|
193593
|
-
|
|
193594
193597
|
const r = await this.#ai.generateSourceClient(userPrompt);
|
|
193595
193598
|
//elAiChat.add("ai", r);
|
|
193596
|
-
|
|
193597
|
-
/**
|
|
193598
|
-
const r = await this.#ai.generateSource(userPrompt);
|
|
193599
|
-
console.log(r);
|
|
193600
|
-
elAiChat.add("ai", r);
|
|
193601
|
-
*/
|
|
193602
193599
|
} catch (error) {
|
|
193603
193600
|
console.error(error);
|
|
193604
193601
|
elAiChat.add("ai", error);
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193469,8 +193469,9 @@ class IdeAi
|
|
|
193469
193469
|
this.#createModel();
|
|
193470
193470
|
|
|
193471
193471
|
const systemMessage = "You are a helpful assistant.";
|
|
193472
|
+
console.log("====================");
|
|
193472
193473
|
const prompt = await IdeUtils.generatePrompt('/prompts/meta/개발액션분류.txt', { "userPrompt": userPrompt });
|
|
193473
|
-
|
|
193474
|
+
console.log(prompt);
|
|
193474
193475
|
const response = await this.#model.invoke([
|
|
193475
193476
|
new SystemMessage(systemMessage),
|
|
193476
193477
|
new HumanMessage(prompt),
|
|
@@ -193487,7 +193488,11 @@ class IdeAi
|
|
|
193487
193488
|
throw new Error(o);
|
|
193488
193489
|
}
|
|
193489
193490
|
|
|
193491
|
+
const menus = this.#getMenuInfo();
|
|
193492
|
+
const tables = await this.#getTableList();
|
|
193490
193493
|
|
|
193494
|
+
console.log(menus);
|
|
193495
|
+
console.log(tables);
|
|
193491
193496
|
|
|
193492
193497
|
return "OK";
|
|
193493
193498
|
}
|
|
@@ -193585,16 +193590,8 @@ class IdeAssi extends HTMLElement
|
|
|
193585
193590
|
elAiChat.add("ing", "...");
|
|
193586
193591
|
|
|
193587
193592
|
try {
|
|
193588
|
-
//this.#createModel();
|
|
193589
|
-
|
|
193590
193593
|
const r = await this.#ai.generateSourceClient(userPrompt);
|
|
193591
193594
|
//elAiChat.add("ai", r);
|
|
193592
|
-
|
|
193593
|
-
/**
|
|
193594
|
-
const r = await this.#ai.generateSource(userPrompt);
|
|
193595
|
-
console.log(r);
|
|
193596
|
-
elAiChat.add("ai", r);
|
|
193597
|
-
*/
|
|
193598
193595
|
} catch (error) {
|
|
193599
193596
|
console.error(error);
|
|
193600
193597
|
elAiChat.add("ai", error);
|
package/dist/components/ideAi.js
CHANGED
|
@@ -178,8 +178,9 @@ export class IdeAi
|
|
|
178
178
|
this.#createModel();
|
|
179
179
|
|
|
180
180
|
const systemMessage = "You are a helpful assistant.";
|
|
181
|
+
console.log("====================");
|
|
181
182
|
const prompt = await IdeUtils.generatePrompt('/prompts/meta/개발액션분류.txt', { "userPrompt": userPrompt });
|
|
182
|
-
|
|
183
|
+
console.log(prompt);
|
|
183
184
|
const response = await this.#model.invoke([
|
|
184
185
|
new SystemMessage(systemMessage),
|
|
185
186
|
new HumanMessage(prompt),
|
|
@@ -196,7 +197,11 @@ export class IdeAi
|
|
|
196
197
|
throw new Error(o);
|
|
197
198
|
}
|
|
198
199
|
|
|
200
|
+
const menus = this.#getMenuInfo();
|
|
201
|
+
const tables = await this.#getTableList();
|
|
199
202
|
|
|
203
|
+
console.log(menus);
|
|
204
|
+
console.log(tables);
|
|
200
205
|
|
|
201
206
|
return "OK";
|
|
202
207
|
}
|
|
@@ -93,16 +93,8 @@ export class IdeAssi extends HTMLElement
|
|
|
93
93
|
elAiChat.add("ing", "...");
|
|
94
94
|
|
|
95
95
|
try {
|
|
96
|
-
//this.#createModel();
|
|
97
|
-
|
|
98
96
|
const r = await this.#ai.generateSourceClient(userPrompt);
|
|
99
97
|
//elAiChat.add("ai", r);
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
const r = await this.#ai.generateSource(userPrompt);
|
|
103
|
-
console.log(r);
|
|
104
|
-
elAiChat.add("ai", r);
|
|
105
|
-
*/
|
|
106
98
|
} catch (error) {
|
|
107
99
|
console.error(error);
|
|
108
100
|
elAiChat.add("ai", error);
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -178,8 +178,9 @@ export class IdeAi
|
|
|
178
178
|
this.#createModel();
|
|
179
179
|
|
|
180
180
|
const systemMessage = "You are a helpful assistant.";
|
|
181
|
+
console.log("====================");
|
|
181
182
|
const prompt = await IdeUtils.generatePrompt('/prompts/meta/개발액션분류.txt', { "userPrompt": userPrompt });
|
|
182
|
-
|
|
183
|
+
console.log(prompt);
|
|
183
184
|
const response = await this.#model.invoke([
|
|
184
185
|
new SystemMessage(systemMessage),
|
|
185
186
|
new HumanMessage(prompt),
|
|
@@ -196,7 +197,11 @@ export class IdeAi
|
|
|
196
197
|
throw new Error(o);
|
|
197
198
|
}
|
|
198
199
|
|
|
200
|
+
const menus = this.#getMenuInfo();
|
|
201
|
+
const tables = await this.#getTableList();
|
|
199
202
|
|
|
203
|
+
console.log(menus);
|
|
204
|
+
console.log(tables);
|
|
200
205
|
|
|
201
206
|
return "OK";
|
|
202
207
|
}
|
|
@@ -93,16 +93,8 @@ export class IdeAssi extends HTMLElement
|
|
|
93
93
|
elAiChat.add("ing", "...");
|
|
94
94
|
|
|
95
95
|
try {
|
|
96
|
-
//this.#createModel();
|
|
97
|
-
|
|
98
96
|
const r = await this.#ai.generateSourceClient(userPrompt);
|
|
99
97
|
//elAiChat.add("ai", r);
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
const r = await this.#ai.generateSource(userPrompt);
|
|
103
|
-
console.log(r);
|
|
104
|
-
elAiChat.add("ai", r);
|
|
105
|
-
*/
|
|
106
98
|
} catch (error) {
|
|
107
99
|
console.error(error);
|
|
108
100
|
elAiChat.add("ai", error);
|