Skip to content

does gemini support embedding? Must I use openai embedding? #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
diabloaltman opened this issue May 14, 2025 · 1 comment
Open

does gemini support embedding? Must I use openai embedding? #89

diabloaltman opened this issue May 14, 2025 · 1 comment

Comments

@diabloaltman
Copy link

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

@Tsukalos
Copy link

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.

#86 (comment)

So to change the model it uses it would need to also update kb_s2 ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants