ninegrid2 6.623.0 → 6.624.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.
@@ -122,7 +122,15 @@ class aiContainer extends HTMLElement
122
122
  return match ? match[1].trim() : text;
123
123
  };
124
124
 
125
-
125
+ #getToday = () => {
126
+ const now = new Date();
127
+ const yyyy = now.getFullYear();
128
+ const mm = String(now.getMonth() + 1).padStart(2, '0'); // 월은 0부터 시작
129
+ const dd = String(now.getDate()).padStart(2, '0');
130
+
131
+ return `${yyyy}-${mm}-${dd}`;
132
+ }
133
+
126
134
  #generateQdrantFilter = async () => {
127
135
 
128
136
  const userInput = this.shadowRoot.querySelector("textarea").value.trim();
@@ -141,7 +149,7 @@ class aiContainer extends HTMLElement
141
149
  2. 조건이 명확하게 지정되지 않았거나 모호한 경우 필터에 포함하지 마십시오.
142
150
  3. AND 조건에는 'must', OR 조건에는 'should', NOT 조건에는 'must_not'을 사용하십시오.
143
151
  4. 문자열 일치에는 'match.text'를 사용하십시오.
144
- 5. 날짜 조건은 'YYYY-MM-DD' 형식으로 변형해서 사용하십시요. 이번년도는 2025년입니다.
152
+ 5. 날짜 조건은 'YYYY-MM-DD' 형식으로 변형해서 사용하십시요. 오늘날짜는 ${this.#getToday()} 입니다.
145
153
  6. 숫자 범위에는 'range.gte', 'range.lte', 'range.gt', 'range.lt'를 사용하십시오.
146
154
  7. 특정 값을 포함하는 배열에는 'contains', 'match.any' 또는 'match.all'을 사용하십시오.
147
155
  8. 출력은 Qdrant 필터를 나타내는 유효한 JSON 객체여야 합니다.
@@ -54295,7 +54295,15 @@ class aiContainer extends HTMLElement
54295
54295
  return match ? match[1].trim() : text;
54296
54296
  };
54297
54297
 
54298
-
54298
+ #getToday = () => {
54299
+ const now = new Date();
54300
+ const yyyy = now.getFullYear();
54301
+ const mm = String(now.getMonth() + 1).padStart(2, '0'); // 월은 0부터 시작
54302
+ const dd = String(now.getDate()).padStart(2, '0');
54303
+
54304
+ return `${yyyy}-${mm}-${dd}`;
54305
+ }
54306
+
54299
54307
  #generateQdrantFilter = async () => {
54300
54308
 
54301
54309
  const userInput = this.shadowRoot.querySelector("textarea").value.trim();
@@ -54314,7 +54322,7 @@ class aiContainer extends HTMLElement
54314
54322
  2. 조건이 명확하게 지정되지 않았거나 모호한 경우 필터에 포함하지 마십시오.
54315
54323
  3. AND 조건에는 'must', OR 조건에는 'should', NOT 조건에는 'must_not'을 사용하십시오.
54316
54324
  4. 문자열 일치에는 'match.text'를 사용하십시오.
54317
- 5. 날짜 조건은 'YYYY-MM-DD' 형식으로 변형해서 사용하십시요. 이번년도는 2025년입니다.
54325
+ 5. 날짜 조건은 'YYYY-MM-DD' 형식으로 변형해서 사용하십시요. 오늘날짜는 ${this.#getToday()} 입니다.
54318
54326
  6. 숫자 범위에는 'range.gte', 'range.lte', 'range.gt', 'range.lt'를 사용하십시오.
54319
54327
  7. 특정 값을 포함하는 배열에는 'contains', 'match.any' 또는 'match.all'을 사용하십시오.
54320
54328
  8. 출력은 Qdrant 필터를 나타내는 유효한 JSON 객체여야 합니다.
@@ -54291,7 +54291,15 @@ class aiContainer extends HTMLElement
54291
54291
  return match ? match[1].trim() : text;
54292
54292
  };
54293
54293
 
54294
-
54294
+ #getToday = () => {
54295
+ const now = new Date();
54296
+ const yyyy = now.getFullYear();
54297
+ const mm = String(now.getMonth() + 1).padStart(2, '0'); // 월은 0부터 시작
54298
+ const dd = String(now.getDate()).padStart(2, '0');
54299
+
54300
+ return `${yyyy}-${mm}-${dd}`;
54301
+ }
54302
+
54295
54303
  #generateQdrantFilter = async () => {
54296
54304
 
54297
54305
  const userInput = this.shadowRoot.querySelector("textarea").value.trim();
@@ -54310,7 +54318,7 @@ class aiContainer extends HTMLElement
54310
54318
  2. 조건이 명확하게 지정되지 않았거나 모호한 경우 필터에 포함하지 마십시오.
54311
54319
  3. AND 조건에는 'must', OR 조건에는 'should', NOT 조건에는 'must_not'을 사용하십시오.
54312
54320
  4. 문자열 일치에는 'match.text'를 사용하십시오.
54313
- 5. 날짜 조건은 'YYYY-MM-DD' 형식으로 변형해서 사용하십시요. 이번년도는 2025년입니다.
54321
+ 5. 날짜 조건은 'YYYY-MM-DD' 형식으로 변형해서 사용하십시요. 오늘날짜는 ${this.#getToday()} 입니다.
54314
54322
  6. 숫자 범위에는 'range.gte', 'range.lte', 'range.gt', 'range.lt'를 사용하십시오.
54315
54323
  7. 특정 값을 포함하는 배열에는 'contains', 'match.any' 또는 'match.all'을 사용하십시오.
54316
54324
  8. 출력은 Qdrant 필터를 나타내는 유효한 JSON 객체여야 합니다.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.623.0",
4
+ "version": "6.624.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -122,7 +122,15 @@ class aiContainer extends HTMLElement
122
122
  return match ? match[1].trim() : text;
123
123
  };
124
124
 
125
-
125
+ #getToday = () => {
126
+ const now = new Date();
127
+ const yyyy = now.getFullYear();
128
+ const mm = String(now.getMonth() + 1).padStart(2, '0'); // 월은 0부터 시작
129
+ const dd = String(now.getDate()).padStart(2, '0');
130
+
131
+ return `${yyyy}-${mm}-${dd}`;
132
+ }
133
+
126
134
  #generateQdrantFilter = async () => {
127
135
 
128
136
  const userInput = this.shadowRoot.querySelector("textarea").value.trim();
@@ -141,7 +149,7 @@ class aiContainer extends HTMLElement
141
149
  2. 조건이 명확하게 지정되지 않았거나 모호한 경우 필터에 포함하지 마십시오.
142
150
  3. AND 조건에는 'must', OR 조건에는 'should', NOT 조건에는 'must_not'을 사용하십시오.
143
151
  4. 문자열 일치에는 'match.text'를 사용하십시오.
144
- 5. 날짜 조건은 'YYYY-MM-DD' 형식으로 변형해서 사용하십시요. 이번년도는 2025년입니다.
152
+ 5. 날짜 조건은 'YYYY-MM-DD' 형식으로 변형해서 사용하십시요. 오늘날짜는 ${this.#getToday()} 입니다.
145
153
  6. 숫자 범위에는 'range.gte', 'range.lte', 'range.gt', 'range.lt'를 사용하십시오.
146
154
  7. 특정 값을 포함하는 배열에는 'contains', 'match.any' 또는 'match.all'을 사용하십시오.
147
155
  8. 출력은 Qdrant 필터를 나타내는 유효한 JSON 객체여야 합니다.