Closed mardif closed 3 months ago
Describe the bug Trying to set up a Google Gemini Embedder on cheshirecat, setting models/embedding-001 as value. Clicking on save, I get this error from Google:
cheshire_cat_core | [2024-07-18 09:34:01.535] ERROR cat.routes.embedder..upsert_embedder_setting::139 cheshire_cat_core | GoogleGenerativeAIError('Error embedding content: 504 Deadline Exceeded') cheshire_cat_core | INFO: xx.xx.xx.xx:55772 - "PUT /embedder/settings/EmbedderGeminiChatConfig HTTP/1.1" 400 Bad Request
To Reproduce Steps to reproduce the behavior (as exampple`):
Expected behavior Everything should works correctly
Additional context Checking the logs, I see this error:
the problem is raised by cheshire_cat.py line 232 (version 1.6.2): embedder_size = len(self.embedder.embed_query("hello world"))
embedder_size = len(self.embedder.embed_query("hello world"))
Fixed on develop, coming with the next release :D
develop
Thanks @pieroit
Describe the bug Trying to set up a Google Gemini Embedder on cheshirecat, setting models/embedding-001 as value. Clicking on save, I get this error from Google:
To Reproduce Steps to reproduce the behavior (as exampple`):
Expected behavior Everything should works correctly
Additional context Checking the logs, I see this error:
the problem is raised by cheshire_cat.py line 232 (version 1.6.2):
embedder_size = len(self.embedder.embed_query("hello world"))