Update max_token and formatting (#2273)
This commit is contained in:
@@ -18,7 +18,7 @@ class GoogleGenAIEmbedding(EmbeddingBase):
|
||||
|
||||
genai.configure(api_key=api_key)
|
||||
|
||||
def embed(self, text, memory_action:Optional[Literal["add", "search", "update"]] = None):
|
||||
def embed(self, text, memory_action: Optional[Literal["add", "search", "update"]] = None):
|
||||
"""
|
||||
Get the embedding for the given text using Google Generative AI.
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user