ninegrid2 6.620.0 → 6.622.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 +6 -4
- package/dist/ai/aiSettings.js +1 -1
- package/dist/bundle.cjs.js +7 -5
- package/dist/bundle.esm.js +7 -5
- package/package.json +1 -1
- package/src/ai/aiContainer.js +6 -4
- package/src/ai/aiSettings.js +1 -1
package/dist/ai/aiContainer.js
CHANGED
|
@@ -68,6 +68,7 @@ class aiContainer extends HTMLElement
|
|
|
68
68
|
|
|
69
69
|
switch (this.settings.server) {
|
|
70
70
|
case "gemini":
|
|
71
|
+
console.log(this.settings.geminiApiKey);
|
|
71
72
|
this.#model = new ChatGoogleGenerativeAI({ model: this.settings.model, apiKey: this.settings.geminiApiKey, temperature: 0,});
|
|
72
73
|
break;
|
|
73
74
|
case "openai":
|
|
@@ -140,10 +141,11 @@ class aiContainer extends HTMLElement
|
|
|
140
141
|
2. 조건이 명확하게 지정되지 않았거나 모호한 경우 필터에 포함하지 마십시오.
|
|
141
142
|
3. AND 조건에는 'must', OR 조건에는 'should', NOT 조건에는 'must_not'을 사용하십시오.
|
|
142
143
|
4. 문자열 일치에는 'match.text'를 사용하십시오.
|
|
143
|
-
5.
|
|
144
|
-
6.
|
|
145
|
-
7.
|
|
146
|
-
8.
|
|
144
|
+
5. 날짜 조건은 'YYYY-MM-DD' 형식을 사용하십시요.
|
|
145
|
+
6. 숫자 범위에는 'range.gte', 'range.lte', 'range.gt', 'range.lt'를 사용하십시오.
|
|
146
|
+
7. 특정 값을 포함하는 배열에는 'contains', 'match.any' 또는 'match.all'을 사용하십시오.
|
|
147
|
+
8. 출력은 Qdrant 필터를 나타내는 유효한 JSON 객체여야 합니다.
|
|
148
|
+
9. 적용 가능한 필터가 없는 경우 빈 JSON 객체인 {}를 반환합니다.
|
|
147
149
|
|
|
148
150
|
예:
|
|
149
151
|
- "500달러 미만의 전자제품 찾기" -> {"must": [{"key": "category", "match": {"text": "electronics"}}, {"key": "price", "range": {"lt": 500}}]}
|
package/dist/ai/aiSettings.js
CHANGED
|
@@ -12,7 +12,7 @@ class aiSettings extends HTMLElement
|
|
|
12
12
|
get geminiApiKey() { return this.shadowRoot.querySelector("#geminiApiKey").value; };
|
|
13
13
|
set geminiApiKey(v) { this.shadowRoot.querySelector("#geminiApiKey").value = v; };
|
|
14
14
|
|
|
15
|
-
get openaiApiKey() { this.shadowRoot.querySelector("#openaiApiKey").value };
|
|
15
|
+
get openaiApiKey() { return this.shadowRoot.querySelector("#openaiApiKey").value };
|
|
16
16
|
set openaiApiKey(v) { this.shadowRoot.querySelector("#openaiApiKey").value = v; };
|
|
17
17
|
|
|
18
18
|
get ollamaUrl() { return this.shadowRoot.querySelector("#ollamaUrl").value; };
|
package/dist/bundle.cjs.js
CHANGED
|
@@ -27532,7 +27532,7 @@ class aiSettings extends HTMLElement
|
|
|
27532
27532
|
get geminiApiKey() { return this.shadowRoot.querySelector("#geminiApiKey").value; };
|
|
27533
27533
|
set geminiApiKey(v) { this.shadowRoot.querySelector("#geminiApiKey").value = v; };
|
|
27534
27534
|
|
|
27535
|
-
get openaiApiKey() { this.shadowRoot.querySelector("#openaiApiKey").value
|
|
27535
|
+
get openaiApiKey() { return this.shadowRoot.querySelector("#openaiApiKey").value };
|
|
27536
27536
|
set openaiApiKey(v) { this.shadowRoot.querySelector("#openaiApiKey").value = v; };
|
|
27537
27537
|
|
|
27538
27538
|
get ollamaUrl() { return this.shadowRoot.querySelector("#ollamaUrl").value; };
|
|
@@ -54241,6 +54241,7 @@ class aiContainer extends HTMLElement
|
|
|
54241
54241
|
|
|
54242
54242
|
switch (this.settings.server) {
|
|
54243
54243
|
case "gemini":
|
|
54244
|
+
console.log(this.settings.geminiApiKey);
|
|
54244
54245
|
this.#model = new googleGenai.ChatGoogleGenerativeAI({ model: this.settings.model, apiKey: this.settings.geminiApiKey, temperature: 0,});
|
|
54245
54246
|
break;
|
|
54246
54247
|
case "openai":
|
|
@@ -54313,10 +54314,11 @@ class aiContainer extends HTMLElement
|
|
|
54313
54314
|
2. 조건이 명확하게 지정되지 않았거나 모호한 경우 필터에 포함하지 마십시오.
|
|
54314
54315
|
3. AND 조건에는 'must', OR 조건에는 'should', NOT 조건에는 'must_not'을 사용하십시오.
|
|
54315
54316
|
4. 문자열 일치에는 'match.text'를 사용하십시오.
|
|
54316
|
-
5.
|
|
54317
|
-
6.
|
|
54318
|
-
7.
|
|
54319
|
-
8.
|
|
54317
|
+
5. 날짜 조건은 'YYYY-MM-DD' 형식을 사용하십시요.
|
|
54318
|
+
6. 숫자 범위에는 'range.gte', 'range.lte', 'range.gt', 'range.lt'를 사용하십시오.
|
|
54319
|
+
7. 특정 값을 포함하는 배열에는 'contains', 'match.any' 또는 'match.all'을 사용하십시오.
|
|
54320
|
+
8. 출력은 Qdrant 필터를 나타내는 유효한 JSON 객체여야 합니다.
|
|
54321
|
+
9. 적용 가능한 필터가 없는 경우 빈 JSON 객체인 {}를 반환합니다.
|
|
54320
54322
|
|
|
54321
54323
|
예:
|
|
54322
54324
|
- "500달러 미만의 전자제품 찾기" -> {"must": [{"key": "category", "match": {"text": "electronics"}}, {"key": "price", "range": {"lt": 500}}]}
|
package/dist/bundle.esm.js
CHANGED
|
@@ -27528,7 +27528,7 @@ class aiSettings extends HTMLElement
|
|
|
27528
27528
|
get geminiApiKey() { return this.shadowRoot.querySelector("#geminiApiKey").value; };
|
|
27529
27529
|
set geminiApiKey(v) { this.shadowRoot.querySelector("#geminiApiKey").value = v; };
|
|
27530
27530
|
|
|
27531
|
-
get openaiApiKey() { this.shadowRoot.querySelector("#openaiApiKey").value
|
|
27531
|
+
get openaiApiKey() { return this.shadowRoot.querySelector("#openaiApiKey").value };
|
|
27532
27532
|
set openaiApiKey(v) { this.shadowRoot.querySelector("#openaiApiKey").value = v; };
|
|
27533
27533
|
|
|
27534
27534
|
get ollamaUrl() { return this.shadowRoot.querySelector("#ollamaUrl").value; };
|
|
@@ -54237,6 +54237,7 @@ class aiContainer extends HTMLElement
|
|
|
54237
54237
|
|
|
54238
54238
|
switch (this.settings.server) {
|
|
54239
54239
|
case "gemini":
|
|
54240
|
+
console.log(this.settings.geminiApiKey);
|
|
54240
54241
|
this.#model = new ChatGoogleGenerativeAI({ model: this.settings.model, apiKey: this.settings.geminiApiKey, temperature: 0,});
|
|
54241
54242
|
break;
|
|
54242
54243
|
case "openai":
|
|
@@ -54309,10 +54310,11 @@ class aiContainer extends HTMLElement
|
|
|
54309
54310
|
2. 조건이 명확하게 지정되지 않았거나 모호한 경우 필터에 포함하지 마십시오.
|
|
54310
54311
|
3. AND 조건에는 'must', OR 조건에는 'should', NOT 조건에는 'must_not'을 사용하십시오.
|
|
54311
54312
|
4. 문자열 일치에는 'match.text'를 사용하십시오.
|
|
54312
|
-
5.
|
|
54313
|
-
6.
|
|
54314
|
-
7.
|
|
54315
|
-
8.
|
|
54313
|
+
5. 날짜 조건은 'YYYY-MM-DD' 형식을 사용하십시요.
|
|
54314
|
+
6. 숫자 범위에는 'range.gte', 'range.lte', 'range.gt', 'range.lt'를 사용하십시오.
|
|
54315
|
+
7. 특정 값을 포함하는 배열에는 'contains', 'match.any' 또는 'match.all'을 사용하십시오.
|
|
54316
|
+
8. 출력은 Qdrant 필터를 나타내는 유효한 JSON 객체여야 합니다.
|
|
54317
|
+
9. 적용 가능한 필터가 없는 경우 빈 JSON 객체인 {}를 반환합니다.
|
|
54316
54318
|
|
|
54317
54319
|
예:
|
|
54318
54320
|
- "500달러 미만의 전자제품 찾기" -> {"must": [{"key": "category", "match": {"text": "electronics"}}, {"key": "price", "range": {"lt": 500}}]}
|
package/package.json
CHANGED
package/src/ai/aiContainer.js
CHANGED
|
@@ -68,6 +68,7 @@ class aiContainer extends HTMLElement
|
|
|
68
68
|
|
|
69
69
|
switch (this.settings.server) {
|
|
70
70
|
case "gemini":
|
|
71
|
+
console.log(this.settings.geminiApiKey);
|
|
71
72
|
this.#model = new ChatGoogleGenerativeAI({ model: this.settings.model, apiKey: this.settings.geminiApiKey, temperature: 0,});
|
|
72
73
|
break;
|
|
73
74
|
case "openai":
|
|
@@ -140,10 +141,11 @@ class aiContainer extends HTMLElement
|
|
|
140
141
|
2. 조건이 명확하게 지정되지 않았거나 모호한 경우 필터에 포함하지 마십시오.
|
|
141
142
|
3. AND 조건에는 'must', OR 조건에는 'should', NOT 조건에는 'must_not'을 사용하십시오.
|
|
142
143
|
4. 문자열 일치에는 'match.text'를 사용하십시오.
|
|
143
|
-
5.
|
|
144
|
-
6.
|
|
145
|
-
7.
|
|
146
|
-
8.
|
|
144
|
+
5. 날짜 조건은 'YYYY-MM-DD' 형식을 사용하십시요.
|
|
145
|
+
6. 숫자 범위에는 'range.gte', 'range.lte', 'range.gt', 'range.lt'를 사용하십시오.
|
|
146
|
+
7. 특정 값을 포함하는 배열에는 'contains', 'match.any' 또는 'match.all'을 사용하십시오.
|
|
147
|
+
8. 출력은 Qdrant 필터를 나타내는 유효한 JSON 객체여야 합니다.
|
|
148
|
+
9. 적용 가능한 필터가 없는 경우 빈 JSON 객체인 {}를 반환합니다.
|
|
147
149
|
|
|
148
150
|
예:
|
|
149
151
|
- "500달러 미만의 전자제품 찾기" -> {"must": [{"key": "category", "match": {"text": "electronics"}}, {"key": "price", "range": {"lt": 500}}]}
|
package/src/ai/aiSettings.js
CHANGED
|
@@ -12,7 +12,7 @@ class aiSettings extends HTMLElement
|
|
|
12
12
|
get geminiApiKey() { return this.shadowRoot.querySelector("#geminiApiKey").value; };
|
|
13
13
|
set geminiApiKey(v) { this.shadowRoot.querySelector("#geminiApiKey").value = v; };
|
|
14
14
|
|
|
15
|
-
get openaiApiKey() { this.shadowRoot.querySelector("#openaiApiKey").value };
|
|
15
|
+
get openaiApiKey() { return this.shadowRoot.querySelector("#openaiApiKey").value };
|
|
16
16
|
set openaiApiKey(v) { this.shadowRoot.querySelector("#openaiApiKey").value = v; };
|
|
17
17
|
|
|
18
18
|
get ollamaUrl() { return this.shadowRoot.querySelector("#ollamaUrl").value; };
|