Support for Google Gemini Models: Minor fixes

This commit is contained in:
vinodkiran
2023-12-15 22:20:51 +05:30
parent e7f13c87d8
commit f475732e6b
2 changed files with 5 additions and 5 deletions
@@ -24,13 +24,13 @@ class GoogleGenerativeAIEmbedding_Embeddings implements INode {
this.icon = 'gemini.png'
this.category = 'Embeddings'
this.description = 'Google Generative API to generate embeddings for a given text'
this.baseClasses = [this.type, ...getBaseClasses(GoogleVertexAIEmbeddings)]
this.baseClasses = [this.type, ...getBaseClasses(GoogleGenerativeAIEmbeddings)]
this.credential = {
label: 'Connect Credential',
name: 'credential',
type: 'credential',
credentialNames: ['googleGenerativeAI'],
optional: true,
optional: false,
description: 'Google Generative AI credential.'
}
this.inputs = [