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.
- package/dist/ai/aiContainer.js +3 -1
- package/dist/bundle.cjs.js +3 -1
- package/dist/bundle.esm.js +3 -1
- package/package.json +1 -1
- package/src/ai/aiContainer.js +3 -1
package/dist/ai/aiContainer.js
CHANGED
|
@@ -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
|
|
178
|
+
const collectionName = this.#target.collectionName;
|
|
177
179
|
|
|
178
180
|
//try {
|
|
179
181
|
// 쿼리 텍스트를 임베딩으로 변환 (Gemini Embedding 모델 사용)
|
package/dist/bundle.cjs.js
CHANGED
|
@@ -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
|
|
28031
|
+
const collectionName = this.#target.collectionName;
|
|
28030
28032
|
|
|
28031
28033
|
//try {
|
|
28032
28034
|
// 쿼리 텍스트를 임베딩으로 변환 (Gemini Embedding 모델 사용)
|
package/dist/bundle.esm.js
CHANGED
|
@@ -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
|
|
28029
|
+
const collectionName = this.#target.collectionName;
|
|
28028
28030
|
|
|
28029
28031
|
//try {
|
|
28030
28032
|
// 쿼리 텍스트를 임베딩으로 변환 (Gemini Embedding 모델 사용)
|
package/package.json
CHANGED
package/src/ai/aiContainer.js
CHANGED
|
@@ -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
|
|
178
|
+
const collectionName = this.#target.collectionName;
|
|
177
179
|
|
|
178
180
|
//try {
|
|
179
181
|
// 쿼리 텍스트를 임베딩으로 변환 (Gemini Embedding 모델 사용)
|