From d6844655ccc4cfc08faf73922d907cd98b760cf8 Mon Sep 17 00:00:00 2001 From: Yongtae Date: Sat, 5 Aug 2023 12:08:39 +0900 Subject: [PATCH] Unify the names of what is being returned --- .../GoogleVertexAIEmbedding/GoogleVertexAIEmbedding.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/components/nodes/embeddings/GoogleVertexAIEmbedding/GoogleVertexAIEmbedding.ts b/packages/components/nodes/embeddings/GoogleVertexAIEmbedding/GoogleVertexAIEmbedding.ts index 7b859e77..dbcc9c62 100644 --- a/packages/components/nodes/embeddings/GoogleVertexAIEmbedding/GoogleVertexAIEmbedding.ts +++ b/packages/components/nodes/embeddings/GoogleVertexAIEmbedding/GoogleVertexAIEmbedding.ts @@ -68,8 +68,8 @@ class GoogleVertexAIEmbedding_Embeddings implements INode { } if (location) obj.location = location - const embedding = new GoogleVertexAIEmbeddings(obj) - return embedding + const model = new GoogleVertexAIEmbeddings(obj) + return model } }