ninegrid2 6.516.0 → 6.517.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.
@@ -140,6 +140,8 @@ class aiContainer extends HTMLElement
140
140
  new HumanMessage(prompt),
141
141
  ]);
142
142
 
143
+ console.log(response);
144
+
143
145
  let filterString = response.content.trim();
144
146
  if (filterString.startsWith("```json")) {
145
147
  filterString = filterString.replace("```json", "");
@@ -173,7 +175,7 @@ class aiContainer extends HTMLElement
173
175
  #searchWithQdrantFilter = async (filter) => {
174
176
 
175
177
  const queryText = this.shadowRoot.querySelector("textarea").value.trim();
176
- const collectionName = this.#target.collectionName.trim();
178
+ const collectionName = this.#target.collectionName;
177
179
 
178
180
  //try {
179
181
  // 쿼리 텍스트를 임베딩으로 변환 (Gemini Embedding 모델 사용)
@@ -27993,6 +27993,8 @@ class aiContainer extends HTMLElement
27993
27993
  new messages.HumanMessage(prompt),
27994
27994
  ]);
27995
27995
 
27996
+ console.log(response);
27997
+
27996
27998
  let filterString = response.content.trim();
27997
27999
  if (filterString.startsWith("```json")) {
27998
28000
  filterString = filterString.replace("```json", "");
@@ -28026,7 +28028,7 @@ class aiContainer extends HTMLElement
28026
28028
  #searchWithQdrantFilter = async (filter) => {
28027
28029
 
28028
28030
  const queryText = this.shadowRoot.querySelector("textarea").value.trim();
28029
- const collectionName = this.#target.collectionName.trim();
28031
+ const collectionName = this.#target.collectionName;
28030
28032
 
28031
28033
  //try {
28032
28034
  // 쿼리 텍스트를 임베딩으로 변환 (Gemini Embedding 모델 사용)
@@ -27991,6 +27991,8 @@ class aiContainer extends HTMLElement
27991
27991
  new HumanMessage(prompt),
27992
27992
  ]);
27993
27993
 
27994
+ console.log(response);
27995
+
27994
27996
  let filterString = response.content.trim();
27995
27997
  if (filterString.startsWith("```json")) {
27996
27998
  filterString = filterString.replace("```json", "");
@@ -28024,7 +28026,7 @@ class aiContainer extends HTMLElement
28024
28026
  #searchWithQdrantFilter = async (filter) => {
28025
28027
 
28026
28028
  const queryText = this.shadowRoot.querySelector("textarea").value.trim();
28027
- const collectionName = this.#target.collectionName.trim();
28029
+ const collectionName = this.#target.collectionName;
28028
28030
 
28029
28031
  //try {
28030
28032
  // 쿼리 텍스트를 임베딩으로 변환 (Gemini Embedding 모델 사용)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.516.0",
4
+ "version": "6.517.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -140,6 +140,8 @@ class aiContainer extends HTMLElement
140
140
  new HumanMessage(prompt),
141
141
  ]);
142
142
 
143
+ console.log(response);
144
+
143
145
  let filterString = response.content.trim();
144
146
  if (filterString.startsWith("```json")) {
145
147
  filterString = filterString.replace("```json", "");
@@ -173,7 +175,7 @@ class aiContainer extends HTMLElement
173
175
  #searchWithQdrantFilter = async (filter) => {
174
176
 
175
177
  const queryText = this.shadowRoot.querySelector("textarea").value.trim();
176
- const collectionName = this.#target.collectionName.trim();
178
+ const collectionName = this.#target.collectionName;
177
179
 
178
180
  //try {
179
181
  // 쿼리 텍스트를 임베딩으로 변환 (Gemini Embedding 모델 사용)