Agent-S icon indicating copy to clipboard operation
Agent-S copied to clipboard

does gemini support embedding? Must I use openai embedding?

Open diabloaltman opened this issue 8 months ago • 1 comments

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

diabloaltman avatar May 14 '25 08:05 diabloaltman

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.

Tsukalos avatar May 14 '25 19:05 Tsukalos