ninegrid2 6.518.0 → 6.519.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/ai/aiContainer.js +4 -1
- package/dist/bundle.cjs.js +4 -1
- package/dist/bundle.esm.js +4 -1
- package/package.json +1 -1
- package/src/ai/aiContainer.js +4 -1
package/dist/ai/aiContainer.js
CHANGED
|
@@ -104,7 +104,9 @@ class aiContainer extends HTMLElement
|
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
|
|
107
|
-
#generateQdrantFilter = async (
|
|
107
|
+
#generateQdrantFilter = async () => {
|
|
108
|
+
|
|
109
|
+
const userInput = this.shadowRoot.querySelector("textarea").value.trim();
|
|
108
110
|
|
|
109
111
|
const systemMessage = "You are a helpful assistant.";
|
|
110
112
|
// Qdrant 필터로 변환하기 위한 프롬프트 엔지니어링
|
|
@@ -138,6 +140,7 @@ class aiContainer extends HTMLElement
|
|
|
138
140
|
Qdrant 필터 JSON:
|
|
139
141
|
`;
|
|
140
142
|
|
|
143
|
+
|
|
141
144
|
//try {
|
|
142
145
|
const response = await this.#model.invoke([
|
|
143
146
|
new SystemMessage(systemMessage),
|
package/dist/bundle.cjs.js
CHANGED
|
@@ -54198,7 +54198,9 @@ class aiContainer extends HTMLElement
|
|
|
54198
54198
|
};
|
|
54199
54199
|
|
|
54200
54200
|
|
|
54201
|
-
#generateQdrantFilter = async (
|
|
54201
|
+
#generateQdrantFilter = async () => {
|
|
54202
|
+
|
|
54203
|
+
const userInput = this.shadowRoot.querySelector("textarea").value.trim();
|
|
54202
54204
|
|
|
54203
54205
|
const systemMessage = "You are a helpful assistant.";
|
|
54204
54206
|
// Qdrant 필터로 변환하기 위한 프롬프트 엔지니어링
|
|
@@ -54232,6 +54234,7 @@ class aiContainer extends HTMLElement
|
|
|
54232
54234
|
Qdrant 필터 JSON:
|
|
54233
54235
|
`;
|
|
54234
54236
|
|
|
54237
|
+
|
|
54235
54238
|
//try {
|
|
54236
54239
|
const response = await this.#model.invoke([
|
|
54237
54240
|
new messages.SystemMessage(systemMessage),
|
package/dist/bundle.esm.js
CHANGED
|
@@ -54196,7 +54196,9 @@ class aiContainer extends HTMLElement
|
|
|
54196
54196
|
};
|
|
54197
54197
|
|
|
54198
54198
|
|
|
54199
|
-
#generateQdrantFilter = async (
|
|
54199
|
+
#generateQdrantFilter = async () => {
|
|
54200
|
+
|
|
54201
|
+
const userInput = this.shadowRoot.querySelector("textarea").value.trim();
|
|
54200
54202
|
|
|
54201
54203
|
const systemMessage = "You are a helpful assistant.";
|
|
54202
54204
|
// Qdrant 필터로 변환하기 위한 프롬프트 엔지니어링
|
|
@@ -54230,6 +54232,7 @@ class aiContainer extends HTMLElement
|
|
|
54230
54232
|
Qdrant 필터 JSON:
|
|
54231
54233
|
`;
|
|
54232
54234
|
|
|
54235
|
+
|
|
54233
54236
|
//try {
|
|
54234
54237
|
const response = await this.#model.invoke([
|
|
54235
54238
|
new SystemMessage(systemMessage),
|
package/package.json
CHANGED
package/src/ai/aiContainer.js
CHANGED
|
@@ -104,7 +104,9 @@ class aiContainer extends HTMLElement
|
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
|
|
107
|
-
#generateQdrantFilter = async (
|
|
107
|
+
#generateQdrantFilter = async () => {
|
|
108
|
+
|
|
109
|
+
const userInput = this.shadowRoot.querySelector("textarea").value.trim();
|
|
108
110
|
|
|
109
111
|
const systemMessage = "You are a helpful assistant.";
|
|
110
112
|
// Qdrant 필터로 변환하기 위한 프롬프트 엔지니어링
|
|
@@ -138,6 +140,7 @@ class aiContainer extends HTMLElement
|
|
|
138
140
|
Qdrant 필터 JSON:
|
|
139
141
|
`;
|
|
140
142
|
|
|
143
|
+
|
|
141
144
|
//try {
|
|
142
145
|
const response = await this.#model.invoke([
|
|
143
146
|
new SystemMessage(systemMessage),
|