ide-assi 0.84.0 → 0.86.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
|
@@ -193457,21 +193457,15 @@ class IdeAi
|
|
|
193457
193457
|
|
|
193458
193458
|
this.#createModel();
|
|
193459
193459
|
|
|
193460
|
-
console.log(this.#model);
|
|
193461
|
-
|
|
193462
193460
|
const systemMessage = "You are a helpful assistant.";
|
|
193463
193461
|
const prompt = await IdeAiPrompt.generatePrompt('/prompts/meta/개발액션분류.txt', { "userPrompt": userPrompt });
|
|
193464
193462
|
|
|
193465
|
-
|
|
193466
|
-
//console.log(prompt);
|
|
193467
|
-
|
|
193468
|
-
await this.#model.invoke([
|
|
193463
|
+
const response = await this.#model.invoke([
|
|
193469
193464
|
new SystemMessage(systemMessage),
|
|
193470
193465
|
new HumanMessage(prompt),
|
|
193471
193466
|
]);
|
|
193472
193467
|
|
|
193473
|
-
|
|
193474
|
-
|
|
193468
|
+
console.log(response);
|
|
193475
193469
|
}
|
|
193476
193470
|
}
|
|
193477
193471
|
|
|
@@ -193570,6 +193564,7 @@ class IdeAssi extends HTMLElement
|
|
|
193570
193564
|
//this.#createModel();
|
|
193571
193565
|
|
|
193572
193566
|
const r = await this.#ai.generateSourceClient(userPrompt);
|
|
193567
|
+
elAiChat.add("ai", r);
|
|
193573
193568
|
|
|
193574
193569
|
/**
|
|
193575
193570
|
const r = await this.#ai.generateSource(userPrompt);
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193453,21 +193453,15 @@ class IdeAi
|
|
|
193453
193453
|
|
|
193454
193454
|
this.#createModel();
|
|
193455
193455
|
|
|
193456
|
-
console.log(this.#model);
|
|
193457
|
-
|
|
193458
193456
|
const systemMessage = "You are a helpful assistant.";
|
|
193459
193457
|
const prompt = await IdeAiPrompt.generatePrompt('/prompts/meta/개발액션분류.txt', { "userPrompt": userPrompt });
|
|
193460
193458
|
|
|
193461
|
-
|
|
193462
|
-
//console.log(prompt);
|
|
193463
|
-
|
|
193464
|
-
await this.#model.invoke([
|
|
193459
|
+
const response = await this.#model.invoke([
|
|
193465
193460
|
new SystemMessage(systemMessage),
|
|
193466
193461
|
new HumanMessage(prompt),
|
|
193467
193462
|
]);
|
|
193468
193463
|
|
|
193469
|
-
|
|
193470
|
-
|
|
193464
|
+
console.log(response);
|
|
193471
193465
|
}
|
|
193472
193466
|
}
|
|
193473
193467
|
|
|
@@ -193566,6 +193560,7 @@ class IdeAssi extends HTMLElement
|
|
|
193566
193560
|
//this.#createModel();
|
|
193567
193561
|
|
|
193568
193562
|
const r = await this.#ai.generateSourceClient(userPrompt);
|
|
193563
|
+
elAiChat.add("ai", r);
|
|
193569
193564
|
|
|
193570
193565
|
/**
|
|
193571
193566
|
const r = await this.#ai.generateSource(userPrompt);
|
package/dist/components/ideAi.js
CHANGED
|
@@ -177,21 +177,15 @@ export class IdeAi
|
|
|
177
177
|
|
|
178
178
|
this.#createModel();
|
|
179
179
|
|
|
180
|
-
console.log(this.#model);
|
|
181
|
-
|
|
182
180
|
const systemMessage = "You are a helpful assistant.";
|
|
183
181
|
const prompt = await IdeAiPrompt.generatePrompt('/prompts/meta/개발액션분류.txt', { "userPrompt": userPrompt });
|
|
184
182
|
|
|
185
|
-
//const prompt = await IdeAiPrompt.getDevelopActionClassification(userPrompt);
|
|
186
|
-
//console.log(prompt);
|
|
187
|
-
|
|
188
183
|
const response = await this.#model.invoke([
|
|
189
184
|
new SystemMessage(systemMessage),
|
|
190
185
|
new HumanMessage(prompt),
|
|
191
186
|
]);
|
|
192
187
|
|
|
193
|
-
|
|
194
|
-
|
|
188
|
+
console.log(response);
|
|
195
189
|
}
|
|
196
190
|
}
|
|
197
191
|
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -177,21 +177,15 @@ export class IdeAi
|
|
|
177
177
|
|
|
178
178
|
this.#createModel();
|
|
179
179
|
|
|
180
|
-
console.log(this.#model);
|
|
181
|
-
|
|
182
180
|
const systemMessage = "You are a helpful assistant.";
|
|
183
181
|
const prompt = await IdeAiPrompt.generatePrompt('/prompts/meta/개발액션분류.txt', { "userPrompt": userPrompt });
|
|
184
182
|
|
|
185
|
-
//const prompt = await IdeAiPrompt.getDevelopActionClassification(userPrompt);
|
|
186
|
-
//console.log(prompt);
|
|
187
|
-
|
|
188
183
|
const response = await this.#model.invoke([
|
|
189
184
|
new SystemMessage(systemMessage),
|
|
190
185
|
new HumanMessage(prompt),
|
|
191
186
|
]);
|
|
192
187
|
|
|
193
|
-
|
|
194
|
-
|
|
188
|
+
console.log(response);
|
|
195
189
|
}
|
|
196
190
|
}
|
|
197
191
|
|