@infrab4a/connect-nestjs 1.4.0-beta.5 → 1.4.0-beta.6
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/index.cjs.js +2 -1
- package/index.esm.js +2 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -292,6 +292,7 @@ class ConnectFirestoreService {
|
|
|
292
292
|
|
|
293
293
|
exports.DiscoveryEngineVertexAdapter = class DiscoveryEngineVertexAdapter {
|
|
294
294
|
constructor(configuration) {
|
|
295
|
+
console.log('CONFIG DiscoveryEngineVertexAdapter', configuration);
|
|
295
296
|
this.config = configuration;
|
|
296
297
|
this.parentEngine = `projects/${this.config.projectId}/locations/${this.config.location}/collections/default_collection/engines/${this.config.dataStoreId}`;
|
|
297
298
|
this.parentDataStore = `projects/${this.config.projectId}/locations/${this.config.location}/collections/default_collection/dataStores/${this.config.dataStoreId}/branches/default_branch/documents`;
|
|
@@ -334,7 +335,7 @@ exports.DiscoveryEngineVertexAdapter = class DiscoveryEngineVertexAdapter {
|
|
|
334
335
|
return response;
|
|
335
336
|
}
|
|
336
337
|
async query(term, total, gender) {
|
|
337
|
-
console.log('
|
|
338
|
+
console.log('DiscoveryEngineVertexAdapter Query', term, total, gender);
|
|
338
339
|
const defaultFilter = gender ? `gender: ANY(${gender}, "unisex")` : '';
|
|
339
340
|
const response = (await this.searchClient.search({
|
|
340
341
|
pageSize: total,
|
package/index.esm.js
CHANGED
|
@@ -288,6 +288,7 @@ class ConnectFirestoreService {
|
|
|
288
288
|
|
|
289
289
|
let DiscoveryEngineVertexAdapter = class DiscoveryEngineVertexAdapter {
|
|
290
290
|
constructor(configuration) {
|
|
291
|
+
console.log('CONFIG DiscoveryEngineVertexAdapter', configuration);
|
|
291
292
|
this.config = configuration;
|
|
292
293
|
this.parentEngine = `projects/${this.config.projectId}/locations/${this.config.location}/collections/default_collection/engines/${this.config.dataStoreId}`;
|
|
293
294
|
this.parentDataStore = `projects/${this.config.projectId}/locations/${this.config.location}/collections/default_collection/dataStores/${this.config.dataStoreId}/branches/default_branch/documents`;
|
|
@@ -330,7 +331,7 @@ let DiscoveryEngineVertexAdapter = class DiscoveryEngineVertexAdapter {
|
|
|
330
331
|
return response;
|
|
331
332
|
}
|
|
332
333
|
async query(term, total, gender) {
|
|
333
|
-
console.log('
|
|
334
|
+
console.log('DiscoveryEngineVertexAdapter Query', term, total, gender);
|
|
334
335
|
const defaultFilter = gender ? `gender: ANY(${gender}, "unisex")` : '';
|
|
335
336
|
const response = (await this.searchClient.search({
|
|
336
337
|
pageSize: total,
|