ninegrid2 6.520.0 → 6.524.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.
@@ -94,7 +94,21 @@ class aiContainer extends HTMLElement
94
94
  #getColumnInfo = () => {
95
95
  let colInfo = "";
96
96
 
97
- //console.log(this.#target, this.#target.tagName);
97
+ console.log(this.#target.tagName, this.#target.columns);
98
+
99
+ if (this.#target.tagName === "NINE-GRID") {
100
+ this.#target.columns.info().forEach(info => {
101
+ colInfo += `- "${info.name}": ${info.desc}, ${info.type}\n`;
102
+ });
103
+ }
104
+
105
+ return colInfo;
106
+ };
107
+
108
+ #getColumnInfoString = () => {
109
+ let colInfo = "";
110
+
111
+ console.log(this.#target.tagName, this.#target.columns);
98
112
 
99
113
  if (this.#target.tagName === "NINE-GRID") {
100
114
  this.#target.columns.info().forEach(info => {
@@ -123,7 +137,7 @@ class aiContainer extends HTMLElement
123
137
  자연어 쿼리를 Qdrant 필터 JSON 객체로 변환하는 AI 비서입니다.
124
138
 
125
139
  Qdrant 컬렉션에서 사용 가능한 메타데이터 필드와 유형은 다음과 같습니다.:
126
- ${this.#getColumnInfo()}
140
+ ${this.#getColumnInfoString()}
127
141
 
128
142
  필터 생성 규칙:
129
143
  1. 위에 제공된 필드만 사용하십시오. 새로운 필드를 만들지 마십시오.
@@ -240,6 +254,8 @@ class aiContainer extends HTMLElement
240
254
  const columnInfo = this.#getColumnInfo();
241
255
  const uniqueKey = this.#getUniqueKey();
242
256
 
257
+ console.log(columnInfo);
258
+
243
259
  if (!searchResults || searchResults.length == 0) {
244
260
  elAiChat.add("ai", "관련된 정보가 없습니다.");
245
261
  }
@@ -54188,7 +54188,21 @@ class aiContainer extends HTMLElement
54188
54188
  #getColumnInfo = () => {
54189
54189
  let colInfo = "";
54190
54190
 
54191
- //console.log(this.#target, this.#target.tagName);
54191
+ console.log(this.#target.tagName, this.#target.columns);
54192
+
54193
+ if (this.#target.tagName === "NINE-GRID") {
54194
+ this.#target.columns.info().forEach(info => {
54195
+ colInfo += `- "${info.name}": ${info.desc}, ${info.type}\n`;
54196
+ });
54197
+ }
54198
+
54199
+ return colInfo;
54200
+ };
54201
+
54202
+ #getColumnInfoString = () => {
54203
+ let colInfo = "";
54204
+
54205
+ console.log(this.#target.tagName, this.#target.columns);
54192
54206
 
54193
54207
  if (this.#target.tagName === "NINE-GRID") {
54194
54208
  this.#target.columns.info().forEach(info => {
@@ -54217,7 +54231,7 @@ class aiContainer extends HTMLElement
54217
54231
  자연어 쿼리를 Qdrant 필터 JSON 객체로 변환하는 AI 비서입니다.
54218
54232
 
54219
54233
  Qdrant 컬렉션에서 사용 가능한 메타데이터 필드와 유형은 다음과 같습니다.:
54220
- ${this.#getColumnInfo()}
54234
+ ${this.#getColumnInfoString()}
54221
54235
 
54222
54236
  필터 생성 규칙:
54223
54237
  1. 위에 제공된 필드만 사용하십시오. 새로운 필드를 만들지 마십시오.
@@ -54330,6 +54344,8 @@ class aiContainer extends HTMLElement
54330
54344
  const columnInfo = this.#getColumnInfo();
54331
54345
  const uniqueKey = this.#getUniqueKey();
54332
54346
 
54347
+ console.log(columnInfo);
54348
+
54333
54349
  if (!searchResults || searchResults.length == 0) {
54334
54350
  elAiChat.add("ai", "관련된 정보가 없습니다.");
54335
54351
  }
@@ -54186,7 +54186,21 @@ class aiContainer extends HTMLElement
54186
54186
  #getColumnInfo = () => {
54187
54187
  let colInfo = "";
54188
54188
 
54189
- //console.log(this.#target, this.#target.tagName);
54189
+ console.log(this.#target.tagName, this.#target.columns);
54190
+
54191
+ if (this.#target.tagName === "NINE-GRID") {
54192
+ this.#target.columns.info().forEach(info => {
54193
+ colInfo += `- "${info.name}": ${info.desc}, ${info.type}\n`;
54194
+ });
54195
+ }
54196
+
54197
+ return colInfo;
54198
+ };
54199
+
54200
+ #getColumnInfoString = () => {
54201
+ let colInfo = "";
54202
+
54203
+ console.log(this.#target.tagName, this.#target.columns);
54190
54204
 
54191
54205
  if (this.#target.tagName === "NINE-GRID") {
54192
54206
  this.#target.columns.info().forEach(info => {
@@ -54215,7 +54229,7 @@ class aiContainer extends HTMLElement
54215
54229
  자연어 쿼리를 Qdrant 필터 JSON 객체로 변환하는 AI 비서입니다.
54216
54230
 
54217
54231
  Qdrant 컬렉션에서 사용 가능한 메타데이터 필드와 유형은 다음과 같습니다.:
54218
- ${this.#getColumnInfo()}
54232
+ ${this.#getColumnInfoString()}
54219
54233
 
54220
54234
  필터 생성 규칙:
54221
54235
  1. 위에 제공된 필드만 사용하십시오. 새로운 필드를 만들지 마십시오.
@@ -54328,6 +54342,8 @@ class aiContainer extends HTMLElement
54328
54342
  const columnInfo = this.#getColumnInfo();
54329
54343
  const uniqueKey = this.#getUniqueKey();
54330
54344
 
54345
+ console.log(columnInfo);
54346
+
54331
54347
  if (!searchResults || searchResults.length == 0) {
54332
54348
  elAiChat.add("ai", "관련된 정보가 없습니다.");
54333
54349
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.520.0",
4
+ "version": "6.524.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -94,7 +94,21 @@ class aiContainer extends HTMLElement
94
94
  #getColumnInfo = () => {
95
95
  let colInfo = "";
96
96
 
97
- //console.log(this.#target, this.#target.tagName);
97
+ console.log(this.#target.tagName, this.#target.columns);
98
+
99
+ if (this.#target.tagName === "NINE-GRID") {
100
+ this.#target.columns.info().forEach(info => {
101
+ colInfo += `- "${info.name}": ${info.desc}, ${info.type}\n`;
102
+ });
103
+ }
104
+
105
+ return colInfo;
106
+ };
107
+
108
+ #getColumnInfoString = () => {
109
+ let colInfo = "";
110
+
111
+ console.log(this.#target.tagName, this.#target.columns);
98
112
 
99
113
  if (this.#target.tagName === "NINE-GRID") {
100
114
  this.#target.columns.info().forEach(info => {
@@ -123,7 +137,7 @@ class aiContainer extends HTMLElement
123
137
  자연어 쿼리를 Qdrant 필터 JSON 객체로 변환하는 AI 비서입니다.
124
138
 
125
139
  Qdrant 컬렉션에서 사용 가능한 메타데이터 필드와 유형은 다음과 같습니다.:
126
- ${this.#getColumnInfo()}
140
+ ${this.#getColumnInfoString()}
127
141
 
128
142
  필터 생성 규칙:
129
143
  1. 위에 제공된 필드만 사용하십시오. 새로운 필드를 만들지 마십시오.
@@ -240,6 +254,8 @@ class aiContainer extends HTMLElement
240
254
  const columnInfo = this.#getColumnInfo();
241
255
  const uniqueKey = this.#getUniqueKey();
242
256
 
257
+ console.log(columnInfo);
258
+
243
259
  if (!searchResults || searchResults.length == 0) {
244
260
  elAiChat.add("ai", "관련된 정보가 없습니다.");
245
261
  }