does gemini support embedding? Must I use openai embedding?
does gemini support embedding? Must I use openai embedding?
^^^^^^^^^^^^^^
File "d:\github\pyprojects\trae\ai agents\agent-s\Agent-S\gui_agents\s2\core\knowledge.py", line 34, in init self.embedding_engine = OpenAIEmbeddingEngine() ^^^^^^^^^^^^^^^^^^^^^^^ File "d:\github\pyprojects\trae\ai agents\agent-s\Agent-S\gui_agents\s2\core\engine.py", line 32, in init raise ValueError( ValueError: An API Key needs to be provided in either the api_key parameter or as an environment variable named OPENAI_API_KEY
They use openai embeddings as it looks like the kb_s2 database has already computed embeddings with that model (text-embedding-3-small in this case from my api usage) for their rag knowledge.
https://github.com/simular-ai/Agent-S/issues/86#issuecomment-2874401984
So to change the model it uses it would need to also update kb_s2 ones.